Repository navigation
fix(search): route Spotlight command palette selections to MenuActionsHandler (#700) - #707
rupeshsah86 wants to merge 1 commit into
Conversation
|
Claude finished @kshivang's task in 6m 24s —— View job Review: Spotlight command routing (#700)
No branches were modified, as requested. VerdictThe routing itself is correct and worth having — I traced every one of the 18 new branches to a live collector, and the extra 🔴 Blocker 1 — every test in
|
|
@rupeshsah86 Thank you for tracing the missing Spotlight routes and preserving the window id, exact tab indices and MRU step-then-commit order. I compared the actual implementations at I am closing this as a proven duplicate of that review thread, not as already shipped. #712 still needs follow-up for #700 and is not being merged in this pass. No original branch commits are removed. For future tests, attach the collector before dispatch: these SharedFlows have replay=0, so emitting before |
Description
Fixes #700 where Spotlight (
Cmd+K/ Double Shift) advertised 26 commands whose selection callbacks silently fell throughelse -> {}inBossAppDialogs.onCommandSelect. Selecting entries liketab.reopen_closed,browser.back,browser.find, ortab.nextdismissed the search dialog without executing the action in the invoking window.Key changes:
MenuActionsHandler.triggerCommitTabCycleafterTAB_NEXTandTAB_PREVIOUSto commit the MRU cycle immediately (since Spotlight has no cycling-modifier release event).SpotlightCommandRoutingTestverifying event flow emission for all routed command action IDs.Fixes #700.
Type of Change
Testing
SpotlightCommandRoutingTest:tab next command emits NEXT and COMMIT actionstab previous command emits PREVIOUS and COMMIT actionstab reopen closed command emits reopen eventbrowser back command emits back eventbrowser forward command emits forward eventbrowser devtools command emits devtools eventtab select 1 command emits index 0tab select last command emits LAST_TAB_INDEXCode Quality
AGENTS.md.