Support Alt+E center stage shortcut

Recognize Option+E by physical key position so macOS dead-key delivery works, including from focused composers, while preserving existing platform aliases and shell behavior. Update labels, notes, and focused coverage.
This commit is contained in:
2026-11-11 18:20:24 +00:00
parent 2307d45417
commit c8d9f661b5
4 changed files with 82 additions and 15 deletions
+11 -3
View File
@@ -7,9 +7,11 @@ unchanged.
## Using it
- Cmd+E on macOS/iOS, Ctrl+E elsewhere, or the pane's More menu:
**Center stage (Cmd+E)** / **Leave center stage (Cmd+E)** (shown with two or
more panes on a wide window).
- Alt+E (Option+E on macOS/iOS), Cmd+E on Apple platforms, Ctrl+E elsewhere, or
the pane's More menu: **Center stage (Option+E)** / **Leave center stage
(Option+E)** on Apple platforms (shown with two or more panes on a wide
window). Option+E is matched by physical key position because macOS treats it
as a dead key.
- The choice is device-local (`pipelines.next.chatCenterStage.v1` in shared
preferences) and survives reloads. It is not part of the server-scoped
workspace snapshot.
@@ -31,6 +33,12 @@ unchanged.
- `tool/memwatch/full.sh 'test/features/chat/workspace'`: 87 passed, 0 failed.
`tool/analyze.sh`: clean.
- Shortcut fix: `tool/memwatch/full.sh
'test/features/chat/workspace/chat_center_stage_test.dart'`: 16 passed, 0
failed; `tool/analyze.sh`: clean. Covered Option/Alt+E dead-key position
matching, focused-composer handling, key-up rejection, existing aliases and
platform labels. Browser interaction/capture remains with the UI review
stage.
- Captures (`chats=3&rich=1&colors=1`, 1440x900, three panes, headless Chrome,
macOS platform, so Cmd+E): normal split, center stage on, stage moved to
api refactor, and back to the same split sizes, plus filmed toggle-on, switch