Repository navigation
feat(web): switch orgs from the ⌘K palette with scope filters - #8437
Merged
Merged
Conversation
- List organizations in the ⌘K palette, with server search past the first 500 memberships - Add scope chips (All, Organizations, Projects, Chats & tasks, Connections, Actions); Tab and Shift+Tab cycle them - Make the rail search button open the palette; keep the org-only dialog for /site-editor, where the palette is not mounted - Move org switching (rail pin, recents, navigation) into a shared useTravelToOrg hook used by both the rail and the palette
The rail's always-visible "Search" button shared its accessible name with the connections page's search toggle, so a click on "Search" could open the palette instead of the connection search. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
decocms Bot
pushed a commit
that referenced
this pull request
Nov 10, 2026
PR: #8437 feat(web): switch orgs from the ⌘K palette with scope filters Bump type: minor - decocms (apps/api/package.json): 4.569.0 -> 4.570.0 Deploy-Scope: web
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is this contribution about?
Organizations move into the ⌘K palette, and the sidebar rail's search becomes a shortcut into it.
min(420px, 60vh)for every filter, so the palette does not change height when the filter changes. A filter with few results, such as Projects, leaves empty space below the list.useTravelToOrgis used by both the rail and the palette. It brings a hidden org back onto the rail, records it as recent, and navigates to the org's home with a view transition./site-editor. There, the rail search opens an org-only dialog (OrgSearchDialog).enandpt-br.How did you verify your code works?
apps/web/src/components/command-palette.tsx,tsc --noEmit,oxlint, andbiome formatpass.Screenshots/Demonstration
UI change. Screenshots of the palette under All, Organizations, and Projects, and of the rail footer, are not attached yet. They need to be uploaded as GitHub attachments and embedded here before review.
How to Test
/site-editor, where the palette is not mounted. Click the rail search. Expected: the org-only dialog opens and lists all orgs.Migration Notes
None. There are no schema or database changes. Existing rail localStorage preferences are read unchanged.
Review Checklist
Summary by cubic
Organizations move into the ⌘K palette with scope filters, and the sidebar rail's search button now opens it instead of the old org-only dialog. Outside any org (e.g.
/site-editor) the rail falls back to the org-only dialog because the palette isn't mounted.Changes
useTravelToOrghook used by both the rail and the palette.min(420px, 60vh)across all scopes, so it stops changing when filters change.No schema, database, or localStorage changes.
Written for commit fbbc77b. Summary will update on new commits.