Watch
0
0
Fork
You've already forked hyperhive
0

frontend: the swarm UI's page chrome moves to @hive/shared as AppShell

The header bar, the nav row with its sliding underline, the settings menu slot, the skip link and the content column move out of the swarm UI's Shell into a router-free AppShell in @hive/shared, with their CSS. It takes the brand, the nav items, the current location and the link component, plus slots for extra tabs, settings entries and menus. The swarm UI's Shell keeps what is its own on top of it: the open agent-terminal tabs (their CSS moves to DynamicTabs.css), the swarm's settings, links and user menus, the swarm name and the full-bleed routes. No visible change; this is the base for the hive UI to reuse the same chrome.
This commit is contained in:
iris 2026-11-21 10:16:45 +01:00
commit c6f8f26b16

View file

@ -1,5 +1,5 @@
/* Page-level base only — component styles are colocated with their
component (`./Shell.css` imported by shell/Shell.tsx, etc.) and
component (`AppShell.css` imported by the shared AppShell, etc.) and
land in the `main.css` companion esbuild emits alongside `main.js`
(see build.mjs), not here. This file stays just the shared reset
every page needs regardless of which components a route happens to