Files
Neil 6317c00d1a feat(tab-bar): customizable icon row for the + menu (#40359) (#42936)
* feat(tab-bar): customizable icon row for the + menu's create actions (#40359)

The + menu's New Terminal/Browser/Markdown/Open Markdown/Mobile Emulator rows become one
row of icons. A gear at its end opens a customizer to reorder (drag or Alt+Up/Down), hide,
and assign shortcuts to each item; the icon strip scrolls sideways when plugin file types
overfill it. A turned-off Mobile Emulator shows under Hidden and can be turned back on from
there, and the intro callout's Hide now only removes it from the menu (with Undo).

Shortcut validation and saving move into useKeybindingActionEditor, shared with the
Settings shortcuts pane.

* fix(tab-bar): address review on the + menu icon row

- Move Reset Order and All Keyboard Shortcuts into a ⋮ menu in the customizer header.
- Give the floating panel its own layout and no emulator Off item (newTabMenuSurface).
- Escape closes the menu while an icon tooltip is shown; recording ends once focus leaves it.
- Row is labelled as a whole with aria-activedescendant on the chosen icon; e2e selectors
  target the icon buttons.
- Don't persist a turned-off emulator as hidden; normalize layouts on settings load.
- Reuse tab-strip resize/wheel helpers, share the recorder-focus hook, split the icon strip,
  use ShortcutKeyCombo in tooltips and an allowed elevation for dragged rows.

* fix(tab-bar): keep the create row React Compiler-clean and stop swallowing wheel when it fits

* fix(tab-bar): address CodeRabbit review on the + menu icon row

- Return both layouts in the paired-client settings projection.
- Keep unavailable items at their saved slot when re-saving a layout.
- Ignore shortcut saves that finish after a newer recording session started.
- Make the customizer scrollable; announce the chosen icon via a live region.
- Confirm the intro's Hide only after the write succeeds.
- Render compact recorder chips with ShortcutKeyCombo.

(cherry picked from commit 82d604fb64)
2026-11-16 01:37:32 -05:00
..