dashboard: serve the dashboard at /, fold kept state in as a tab, add a pages menu
Drop the H0M3 tile hub and the core page. The dashboard is now the index; kept state is its fifth tab. A pages menu in the chrome links flow, stats, API docs and the swarm UI. The swarm apex URL comes from services.hyperhive.swarm.domain via HIVE_SWARM_PUBLIC_URL and the new swarm_public_url field of the state snapshot.
This commit is contained in:
parent
265f8a47cc
commit
0622736b30
35 changed files with 661 additions and 986 deletions
|
|
@ -19,11 +19,9 @@ repeated here.
|
|||
visual noise — the base16 palette has multiple accent slots
|
||||
(`--purple`, `--cyan`, `--pink`, …); use more than one where it adds
|
||||
distinction, not decoration for its own sake.
|
||||
- **Whimsy** — small, delightful touches are welcome (the per-hive
|
||||
dashboard's home-page matrix-rain background, `packages/dashboard/src/
|
||||
home.js`, is the reference example — currently in the dashboard
|
||||
package, not swarm-ui itself, but the pattern it sets applies here
|
||||
too). Whimsy still has to clear the accessibility bar below (motion,
|
||||
- **Whimsy** — small, delightful touches are welcome (the matrix-rain
|
||||
background, `src/shell/MatrixRain.tsx`, is the reference example).
|
||||
Whimsy still has to clear the accessibility bar below (motion,
|
||||
in particular). swarm-ui's own reference example: `Panel`'s optional
|
||||
`icon` prop (`src/ui/panel/Panel.tsx`), a small emoji glyph in a
|
||||
panel's header, chosen per panel with no default — grew out of a
|
||||
|
|
@ -49,12 +47,10 @@ home.js`, is the reference example — currently in the dashboard
|
|||
|
||||
**General rule, not case-by-case: every non-essential CSS animation
|
||||
gates on `prefers-reduced-motion` and pauses when its tab/section is
|
||||
hidden.** The dashboard's matrix-rain background (`packages/dashboard/
|
||||
src/home.js`/`.css`) is the existing reference implementation of this
|
||||
pattern — genuinely does both today, confirmed by reading it — even
|
||||
though it lives in the dashboard package rather than swarm-ui; every
|
||||
future swarm-ui animation follows the same pattern, not just whimsy
|
||||
pieces.
|
||||
hidden.** The matrix-rain background (`src/shell/MatrixRain.tsx`) is the
|
||||
existing reference implementation of this pattern — it does both today,
|
||||
confirmed by reading it; every future swarm-ui animation follows the
|
||||
same pattern, not just whimsy pieces.
|
||||
|
||||
<!-- vale write-good.Passive = YES -->
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue