Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/frontend/packages/dashboard/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris ea1c6e4d05 tabs.js + docs: migrate icon + pending-state prose to docs (#712 batch 11)
Mara on #774: previous batches were cookie-stripping rather than
prose migration. This batch actually moves substantive comment
prose from tabs.js into docs/web-ui.md.

Moved to docs/web-ui.md:
- Container row → **Icon layout + load strategy** sub-paragraph
  (new): absolute-positioning rationale (so img load state can't
  reflow row), fire-and-forget load pattern (no pre-check
  reachability), favicon fallback chain, icon-unreachable class,
  the immediate-fallback-when-stopped optimisation.
- Container row → **Pending-state derivation** paragraph (new):
  three-source priority order (transient → in-flight queue → none),
  why ContainerStateChanged isn't enough, the opRunning flag's role
  in driving the pending-running class + spinner.

Collapsed in tabs.js:
- Icon block (~14 lines of WHY comments + pointer to docs) →
  4-line pointer + behavioural one-liner. Drops #177 / #195 / #202
  cookies en passant since their substance now lives in docs.
- Pending-state block (~22 lines split across two paragraphs) →
  4-line pointer. Drops #769 self-cookie (the queued vs running
  split lives in docs::Container row now).
- SharedWorker EventSource (~7 lines) → 5-line pointer. Drops
  #448 cookie (the SSE multiplexing paragraph in docs already
  has the design + Firefox throttling rationale; the in-code
  comment was duplicating).
- M4TR1X tab gating (~4 lines) → 2-line pointer. Drops #607 cookie
  in both tabs.js + docs/web-ui.md::Tab strip (the substance was
  already in docs, just had the cookie attached).

tabs.js: 11 → 6 refs (92% reduction from baseline 73). Net effect:
~47 lines of substantive prose moved out of tabs.js into
docs/web-ui.md, where it belongs.
2026-05-31 14:23:49 +02:00
..
common.js frontend/dashboard: heartbeat + watchdog so a dead SharedWorker self-heals (#515) 2026-05-27 23:37:21 +02:00
dashboard.css dashboard: split queued vs running rebuild visual (#769) 2026-05-31 14:10:37 +02:00
flow.html dashboard: rename src/app.js → src/tabs.js (closes #406) 2026-05-26 19:39:27 +02:00
flow.js flow.js: subscribe to /dashboard/stream with ?kinds= filter (closes #408) 2026-05-26 23:02:52 +02:00
index.html dashboard: footer link → forge.darkest.space mirror (closes #639) 2026-05-30 16:42:37 +02:00
stream-worker.js stream-worker: honest comment on heartbeat catch (argus nit on #529) 2026-05-27 23:40:38 +02:00
tabs.js tabs.js + docs: migrate icon + pending-state prose to docs (#712 batch 11) 2026-05-31 14:23:49 +02:00