mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 22:41:09 +02:00
CommandBar was a near-duplicate of QuickInputBar's InputBar with the UX of a Cmd+K modal. Only arcade still used it. Migrate arcade onto the existing GlobalSpotlight (hosted by PillNavigation) so there is a single Cmd+K modal across all mana apps, then remove CommandBar entirely. Arcade changes (games/arcade/apps/web/src/routes/(app)/+layout.svelte): - Merge commandBarQuickActions into spotlightActions (nav-level items) - Convert handleCommandBarSearch into a ContentSearcher that returns the game list grouped under a single 'Spiele' category - Drop the standalone Cmd+K handler; PillNavigation + GlobalSpotlight handle the shortcut - Remove the <CommandBar> render; add `contentSearcher` + spotlightPlaceholder to <PillNavigation> shared-ui cleanup: - Delete packages/shared-ui/src/command-bar/ (CommandBar.svelte, CommandBar.types.ts, index.ts) - Drop CommandBar / CommandBarItem from the public @mana/shared-ui export - Delete docs/central-services/COMMAND-BAR.md (stale) No more duplication: highlight + debounce live in search-core, and the only remaining Cmd+K surface is GlobalSpotlight. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| arcade | ||