2.0 KiB
Chat terminal shortcut focus
Implemented the macOS Ctrl+Y floating-chat handoff. A chat shortcut now hides the chat group only when chat is already the active window; from another window it raises the most recently used chat. The existing window-host post-frame lifecycle then focuses that chat's composer. Ctrl+Y now joins the existing Option+Y and Cmd+Y aliases on Apple platforms; plain Y and repeat events remain untouched.
Evidence:
tool/memwatch/full.sh 'test/features/chat/windows/chat_windows_test.dart test/features/chat/workspace/chat_float_shortcut_test.dart test/features/chat/chat_floating_pane_test.dart test/shell/windows/window_manager_test.dart'— PASS: 33 passed, 0 failed, 0 skipped; peak 1236 MB; 14s.tool/analyze.sh— clean; exit 0.- The floating-pane regression uses a terminal-like
TypingSurface, presses macOS Ctrl+Y, verifies the chat composer has primary focus, typesfrom terminalwithout a click, and verifies the terminal did not receive Y. The manager regression covers visible-behind-terminal, hidden, multiple chats, and repeated toggles.
No browser fixture was run in this implementation stage; browser terminal fixture support and full-app rendered evidence remain for the appropriate review stage.
Manager browser integration
Verified the merged full-app fixture with
chats=2&header=1&terminals=1&terminal=float at 1800×1000. Floated the second
chat, clicked the exposed Terminal content to focus it, then pressed Ctrl+Y.
Before typing, the browser's active element was the chat's TEXTAREA, labelled
Work on demo. Typing Typed immediately after Ctrl+Y appeared in that chat
without another click; the chat was visibly above Terminal.
Inspected 06-typed.png. Capture reports, semantics snapshots and screenshots
are retained under run 369's public/manager-integration-ctrl-y/. This verifies
the actual Terminal/Chat widgets and browser focus handoff with a fake gateway,
not a live shell backend or native device installation.