You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v6: Remove the legacy editor toolbar and corner logo (#4398)
## Summary
- Remove the legacy vertical editor toolbar and the floating "GraphiQL"
corner logo. Branding now lives only in the top bar, and editor actions
live only in the tab strip.
- Move Merge Fragments, previously available only in the old toolbar,
into the tab-strip actions alongside Prettify, Copy, and Save, so the
action isn't lost.
- The composable `Toolbar`/`Logo` render-prop slots still work for
embedders. Only the default rendering is removed.
- Enlarge the tab-strip action buttons so they're easier to click.
- Position the action buttons at the right edge of the query editor
instead of the far right of the response pane, so they stay next to the
query and follow the editor/response divider as it's resized. The
sessions area is split into an editor column and a response column
divided by the drag bar; the tab strip lives in the editor column.
## Test plan
- [x] Open GraphiQL. There's no floating vertical button column and no
corner logo over the editor; branding appears once, in the top bar.
- [x] The tab strip shows Prettify, Merge Fragments, Copy, and Save,
each exactly once.
- [x] The action buttons sit at the right edge of the query editor (by
the editor/response divider), not over the response pane, and follow the
divider when it's dragged.
- [x] Write a query that references a fragment, click Merge Fragments,
and confirm the fragment gets inlined into the operation.
- [x] Prettify reformats the query, Copy copies it, and the single Run
button in the top bar still executes it.
- [x] The Prettify, Merge, and Copy keyboard shortcuts still work.
- [x] The tab-strip action buttons read as comfortably sized, not
cramped, and stay evenly spaced and aligned with the tab labels.
Refs: #4219
Remove the duplicated legacy editor toolbar and corner logo. Branding now appears only in the top bar, and the editor actions (prettify, merge fragments, copy, save) live together in the tab strip. Merge Fragments, previously only in the old toolbar, moves into the tab-strip actions.
6
+
7
+
The action buttons now sit at the right edge of the query editor rather than the far right of the response pane, so they stay next to the query you're editing and follow the editor/response divider as you resize it.
0 commit comments