Reserve global shortcuts for chat selection and search

This commit is contained in:
2026-11-06 17:58:12 +00:00
parent 51ee950a5b
commit f668e1eef8
12 changed files with 412 additions and 172 deletions
@@ -0,0 +1,7 @@
# Chat workspace keyboard remapping
Ctrl+/ opens the persistent Search tab and focuses its existing field. On the actual macOS host Command+/ does the same, even when web Material theme advertises Android. Repeating the chord refocuses Search without resetting its query or filter. The search screen owns and disposes its field FocusNode and publishes a scoped callback to the shell; the callback is requested after the destination transition rebuild.
Ctrl+1…9 and macOS Command+1…9 still choose conversation rows, in the visible list order. Pipelines and Runs no longer receive digit shortcuts. Ctrl+Tab and Ctrl+Shift+Tab no longer switch destinations; workspace pane navigation is handled separately. Extra Shift/Alt or combined Ctrl+Command modifiers pass through for both Search and digit selection. No socket or backend changes.
Checks: bounded analysis clean. 188 shell/Search tests passed through the memory watchdog (peak1713MB,14s). Tests cover exact modifiers on macOS/Windows, actual SearchScreen focus from a composer, repeat/revisit retaining query, Android-theme/macOS-host mismatch, chat-only digits, unchanged destination/history for removed chords, and normal Tab traversal. Browser interaction for the full split workspace is recorded by the parent integration task; this lane has no visual layout change.