managarten/packages/shared-ui/src
Till JS fabd45bd87 feat(spaces): move Space-Switcher into the PillNav start slot
Repositions the switcher from its floating spot in the top right of
the workbench into the bottom-fixed PillNav so it sits with the rest
of the nav chrome. Matches how every other persistent nav control
(app switcher, AI tier, sync status) lives in the PillNav.

Mechanics:
- @mana/shared-ui PillNavigation gains a `startSlot?: Snippet` prop
  rendered inside .pill-nav-container, before AppDrawer. Generic slot
  — any host component drops in.
- (app)/+layout.svelte passes the existing <SpaceSwitcher /> as the
  snippet (authenticated only). The old .space-bar wrapper above
  <main> is removed along with its CSS.
- SpaceSwitcher trigger is restyled to match Pill conventions: pill
  radius 999px, 32px height, 0.8125rem text, tighter paddings, shorter
  name cap (7rem). Visually merges with the surrounding Pills.
- Dropdown menu flips upward (bottom: calc(100% + 4px)) because the
  PillNav is position:fixed bottom — opening downward would land
  off-screen.

Type-check: 0 errors across 7200 files.
Scope tests: 10/10 pass.
Go tests + bun tests (mana-auth): all pass.

Plan: docs/plans/spaces-foundation.md

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 20:54:41 +02:00
..
actions feat(shared-ui): add focusTrap action and apply to shared Modal 2026-03-24 10:04:04 +01:00
atoms feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00
bottom-stack fix(mana,ui): integrate guest nudge into bottom stack + theme it 2026-04-08 12:13:05 +02:00
charts refactor(theme): migrate shared packages to --color-* token naming 2026-04-15 22:11:42 +02:00
components feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00
context-menu fix(mana/web+packages): clear all 270 warnings to zero 2026-04-10 17:34:49 +02:00
dnd feat(wishes): add Wünsche module — wishlists with price tracking 2026-04-17 14:02:37 +02:00
help fix(mana/web+packages): clear all 270 warnings to zero 2026-04-10 17:34:49 +02:00
molecules refactor(theme): migrate shared packages to --color-* token naming 2026-04-15 22:11:42 +02:00
navigation feat(spaces): move Space-Switcher into the PillNav start slot 2026-04-20 20:54:41 +02:00
onboarding fix: dev startup — Redis eviction policy, mana-media port crash, Svelte warnings 2026-04-10 18:33:41 +02:00
organisms refactor(theme): migrate shared packages to --color-* token naming 2026-04-15 22:11:42 +02:00
pages refactor(theme): migrate shared packages to --color-* token naming 2026-04-15 22:11:42 +02:00
quick-input refactor(shared-ui): extract search-core for highlight + debounce 2026-04-15 01:06:37 +02:00
search-core refactor(arcade, shared-ui): migrate CommandBar to GlobalSpotlight, delete CommandBar 2026-04-15 01:17:55 +02:00
settings refactor(theme): migrate shared packages to --color-* token naming 2026-04-15 22:11:42 +02:00
test feat(shared-ui): add TagChip component and tag component tests 2026-04-02 14:24:19 +02:00
toast feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00
index.ts refactor(arcade, shared-ui): migrate CommandBar to GlobalSpotlight, delete CommandBar 2026-04-15 01:17:55 +02:00