Skip to content

fix(desktop): keep command palette responsive and scoped - #47164

Merged
Hona merged 2 commits into
anomalyco:v2from
Hona:misty-squid
Sep 3, 2026
Merged

Hona merged 2 commits into
anomalyco:v2from
Hona:misty-squid

Conversation

@Hona

@Hona Hona commented Sep 3, 2026

Copy link
Copy Markdown
Member
  • Match built-in commands synchronously; append file and session results independently without resetting keyboard selection.
  • Register commands only for committed page owners, and separate file-panel closing from application-tab closing. This prevents duplicate registrations and stale session actions in drafts.
  • Handle event-driven read failures at their owner, preserve explicit API rejections, and render toast icons under a Solid owner. Keep diagnostic logging enabled.
  • Give the development picker a browser-loadable HTTP script URL instead of exposing a virtual: import.
flowchart LR
  Input[Palette input] --> Commands[Local command matches]
  Input --> Files[File search]
  Input --> Sessions[Debounced session search]
  Commands --> Results[Selectable results]
  Files -.-> Results
  Sessions -.-> Results
Loading

Lookup latency

Query Before: v2 at 1ae2cf3567 After: PR
Copy Session ID 110.8 ms 2.2 ms
Home: Open settings 113.3 ms 1.5 ms
  • Median of five runs in production Chromium on Windows, with immediate fixture responses. Measures input to the selected-result DOM update, not packaged Electron startup.

While remote searches remain pending

Before After
Old results block Copy Session ID Copy Session ID is immediately selectable

@Hona
Hona requested a review from Brendonovich as a code owner September 3, 2026 23:05
Copilot AI lite review requested due to automatic review settings September 3, 2026 23:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Hona
Hona enabled auto-merge (squash) September 3, 2026 23:27
@Hona
Hona disabled auto-merge September 3, 2026 23:27
@Hona
Hona merged commit 6575215 into anomalyco:v2 Sep 3, 2026
6 of 8 checks passed
jinhuang712 pushed a commit to jinhuang712/opencode that referenced this pull request Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants