Skip to content

fix: keep conversations out of Cmd+K - #5159

Merged
benjaminshafii merged 1 commit into
devfrom
fix/cmd-k-actions-only
Sep 19, 2026
Merged

benjaminshafii merged 1 commit into
devfrom
fix/cmd-k-actions-only

Conversation

@benjaminshafii

Copy link
Copy Markdown
Member

Summary

  • keep Cmd+K focused on actions and settings
  • preserve conversation search on Cmd+Shift+F
  • add regression coverage

Verification

  • pnpm exec bun test tests/command-palette-sessions.test.ts tests/command-palette-models.test.ts
  • git diff --check

Screenshots

See the attached Cmd+K and Cmd+Shift+F screenshots.

@benjaminshafii
benjaminshafii requested a review from a team September 19, 2026 16:53
@vercel

vercel Bot commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openwork-app Ready Ready Preview Sep 19, 2026 5:00pm UTC
3 Skipped Deployments
Project Deployment Actions Updated
openwork-den Skipped Skipped Sep 19, 2026 5:00pm UTC
openwork-diagnostics Skipped Skipped Sep 19, 2026 5:00pm UTC
openwork-landing Skipped Skipped Sep 19, 2026 5:00pm UTC

@benjaminshafii

Copy link
Copy Markdown
Member Author

UI evidence

Cmd+K now shows actions/settings only:

Cmd+K actions-only palette

Cmd+Shift+F still opens conversation search:

Cmd+Shift+F conversation search

Cmd+K actions-only palette

Cmd+Shift+F conversation search

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

Deploying openwork with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8c6516e
Status: ✅  Deploy successful!
Preview URL: https://28f9cfeb.openwork.pages.dev
Branch Preview URL: https://fix-cmd-k-actions-only.openwork.pages.dev

View logs

@vercel
vercel Bot temporarily deployed to Preview – openwork-diagnostics September 19, 2026 16:59 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-den September 19, 2026 16:59 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-landing September 19, 2026 16:59 Inactive
@benjaminshafii
benjaminshafii merged commit aa667e0 into dev Sep 19, 2026
20 checks passed
reachjalil added a commit that referenced this pull request Oct 7, 2026
When the panel geometry changed while its first show was still pending,
the bounds writer hid the native view and showed it again. The host
treats every show as the person returning to the page and clears
viewport emulation, so a capture viewport left by an automation client
disappeared without any user action, and the viewport recovery journey
read the panel size instead of the leftover 1440x900 viewport.

Send the newer geometry as bounds instead. The host applies it right
after the pending show, so the native view is still not left at the
stale rectangle, and only a hide supersedes a pending show. A failed
show is retried for any newer geometry rather than treated as failed.

Also update the journey to the command palette's current placeholder,
"Search actions and settings…", which replaced the old one in #5159.
reachjalil added a commit that referenced this pull request Oct 7, 2026
#5159 renamed the root palette placeholder to "Search actions and settings…".
reachjalil added a commit that referenced this pull request Oct 7, 2026
#5159 renamed the root palette placeholder to "Search actions and settings…".

Signed-off-by: Jalil <[email protected]>
reachjalil added a commit that referenced this pull request Oct 8, 2026
* fix(browser): keep native pages contained in their pane

Signed-off-by: Jalil <[email protected]>

* fix(browser): cover geometry and background transition races

Signed-off-by: Jalil <[email protected]>

* fix(browser): retain viewport recovery during queued resets

Signed-off-by: Jalil <[email protected]>

* test(browser): verify initial resize with divider focus

Signed-off-by: Jalil <[email protected]>

* test(browser): use the command palette's current placeholder

#5159 renamed the root palette placeholder to "Search actions and settings…".

Signed-off-by: Jalil <[email protected]>

* test(browser): keep the capture client connected in the viewport world

Electron 43.5 restores a page's view size when a DevTools client that set
Emulation.setDeviceMetricsOverride disconnects without clearing it
(electron/electron#52946). Since dev moved from Electron 43.2.0 to 43.7.7
(#5535), closing the capture client while building the world undid the
leftover 1440x900 viewport before the test body ran, so the spec failed
before the tab was selected.

Keep the client connected until the world is disposed. A client that stays
connected still leaves the page laid out at its capture size inside the
panel, which is the case selecting the tab must recover.

Signed-off-by: Jalil <[email protected]>

---------

Signed-off-by: Jalil <[email protected]>

This branch was successfully deployed

1 active and 3 inactive deployments
Preview – openwork-app — 3f8cbabc Deployed Sep 19, 2026 by vercel[bot]
Preview – openwork-den — 3f8cbabc Deployed Sep 19, 2026 by vercel[bot]
Preview – openwork-landing — 3f8cbabc Deployed Sep 19, 2026 by vercel[bot]
Preview – openwork-diagnostics — 3f8cbabc Deployed Sep 19, 2026 by vercel[bot]
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.

1 participant