Skip to content

Command palette driven by entity search - #4

Merged
TheGreatAxios merged 11 commits into
mainfrom
cl-command-palette
Aug 9, 2026
Merged

Command palette driven by entity search#4
TheGreatAxios merged 11 commits into
mainfrom
cl-command-palette

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

Add @corbits/command-palette and wire a data-driven palette into the app shell via useEntitySearch.

Test plan

  • command-palette registry tests
  • useEntitySearch hook test

@TheGreatAxios

Copy link
Copy Markdown
Contributor Author

Self-critique (orchestrator)

Verdict: likely merge-ready after CI + greybeard/bruckheimer

Looks good

  • New @corbits/command-palette package (static commands + entity search + hook).
  • Wired into app shell via provider; docs present.
  • Package tests for registry, entity search, hook (DOM setup).
  • react-ui pin bumped for data-driven palette.

Verify

  1. Confirm pin is interchange-worthy / published react-ui main pin, not a local fork.
  2. Static commands role-gating if required by product (Owner/Admin history).
  3. CI green; greybeard + bruckheimer.

@TheGreatAxios
TheGreatAxios force-pushed the cl-command-palette branch 3 times, most recently from 361214f to 628d219 Compare August 9, 2026 02:28
@TheGreatAxios

Copy link
Copy Markdown
Contributor Author

Greybeard: MERGE — command-palette package + useEntitySearch; react-ui pin excludes test barrels.

Covers building static navigation commands from the app's own route
table, substring matching, and searching already-fetched channels and
workflow runs with pagination — all UI-free.
Static commands come only from routes the app shell actually renders —
never a fabricated destination. Entity search matches channels and
workflow runs the app has already fetched for its own pages; artifacts
and agent definitions have no cross-tenant search endpoint yet, so those
two categories are left out rather than faked (see the accompanying
docs).
Cmd/Ctrl-K now opens a global palette: static commands come from the
routes the shell already renders, and results include the channels and
workflow runs the Chat and Workflows pages already fetch. Composition
only — matching and the static-command list live in
@corbits/command-palette, the overlay and keyboard handling in react-ui.
Describes the react-ui/workbench split, what entity types are searchable
today, and what changes once the data-driven react-ui CommandPalette is
published.
ea97f13 re-exported co-located *.test modules from the package root,
which pulled bun:test into the vite production build. 4b8952c filters
them out of generate-exports.
@TheGreatAxios
TheGreatAxios merged commit ca950ba into main Aug 9, 2026
2 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-command-palette branch August 9, 2026 03:25
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