Problem: In the workspace view, Ctrl+I (focus chat) can move focus to the composer behind an open command palette. I did not verify this live. The final check of #5744 found it by reading the code.
Cause: useAIViewKeybinds.ts checks only isDialogOpen(), which does not detect the command palette ([cmdk-root]). #5744 added the [cmdk-root] check to the creation screen's handler only.
Fix idea: move the command-palette check into a shared helper (or into isDialogOpen()) and use it in both Ctrl+I handlers. Add a bug-bash repro like the one in tests/bugbash/repros/focusAndLabels.e2e.ts.
Priority P3. Size S. Follow-up of #5744 / #5687.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high
Problem: In the workspace view, Ctrl+I (focus chat) can move focus to the composer behind an open command palette. I did not verify this live. The final check of #5744 found it by reading the code.
Cause:
useAIViewKeybinds.tschecks onlyisDialogOpen(), which does not detect the command palette ([cmdk-root]). #5744 added the[cmdk-root]check to the creation screen's handler only.Fix idea: move the command-palette check into a shared helper (or into
isDialogOpen()) and use it in both Ctrl+I handlers. Add a bug-bash repro like the one intests/bugbash/repros/focusAndLabels.e2e.ts.Priority P3. Size S. Follow-up of #5744 / #5687.
Generated with
xum• Model:anthropic:claude-opus-5-5• Thinking:high