hyperhive/frontend/packages/dashboard/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 3fda4ab127 refactor(frontend): extract shared render/format helpers into util.js (#1451)
The tabs.js split's render-heavy domains (schedules, system, containers,
questions/approvals) all share a handful of pure helpers that lived in
the tabs.js IIFE: paintAtomic (atomic-swap render) and the fmtAgo /
fmtElapsed / fmtDuration / truncate formatters (used 10/15/4/6/6 times
across the file). Pull them into a new dashboard-internal util.js so the
upcoming per-tab modules can import them instead of depending on the
entry's closure — the helper analogue of the state.js roster keystone.

They stay out of the cross-page common.js (their phrasing is
dashboard-specific) but are now a shared dashboard module. All five are
pure, so this is behaviour-preserving code motion; esbuild inlines util.js
into the tabs.js bundle. Build green.
2026-06-09 14:52:01 +02:00
..
colors.css refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00
common.css fix(frontend): give the server-warning bar an opaque background (#1572) 2026-06-09 13:32:50 +02:00
common.js refactor(frontend): extract shared render/format helpers into util.js (#1451) 2026-06-09 14:52:01 +02:00
dashboard.css fix(frontend): put the dashboard home link and tab strip on one row (#1576) 2026-06-09 13:37:07 +02:00
dashboard.html chore(frontend): scrub pre-existing issue-tag refs from source comments 2026-06-09 00:24:49 +02:00
flow.css chore(frontend): scrub pre-existing issue-tag refs from source comments 2026-06-09 00:24:49 +02:00
flow.html refactor(frontend): extract the page-chrome into @hive/shared (#1464 step 3) 2026-06-09 09:13:35 +02:00
flow.js chore(frontend): scrub pre-existing issue-tag refs from source comments 2026-06-09 00:24:49 +02:00
home.css chore(frontend): scrub pre-existing issue-tag refs from source comments 2026-06-09 00:24:49 +02:00
home.js chore(frontend): scrub pre-existing issue-tag refs from source comments 2026-06-09 00:24:49 +02:00
index.html refactor(frontend): invert the dashboard + H0M3 gutter (#1537) 2026-06-09 00:18:01 +02:00
logs.css refactor(frontend): add createTabStrip + migrate logs sub-tabs (#1464 step 1) 2026-06-08 22:13:41 +02:00
logs.html refactor(frontend): extract the page-chrome into @hive/shared (#1464 step 3) 2026-06-09 09:13:35 +02:00
logs.js refactor(frontend): add createTabStrip + migrate logs sub-tabs (#1464 step 1) 2026-06-08 22:13:41 +02:00
permissions.js refactor(frontend): extract the permissions tab into permissions.js (#1451) 2026-06-09 13:33:43 +02:00
settings.css refactor(frontend): extract the page-chrome into @hive/shared (#1464 step 3) 2026-06-09 09:13:35 +02:00
settings.html refactor(frontend): extract the page-chrome into @hive/shared (#1464 step 3) 2026-06-09 09:13:35 +02:00
settings.js refactor(frontend): move S3TT1NGS to its own /settings.html page (#1464 step 2) 2026-06-08 23:44:22 +02:00
state.js refactor(frontend): extract the agent roster into dashboard/state.js (#1451) 2026-06-09 11:33:28 +02:00
stats.css refactor(frontend): extract the page-chrome into @hive/shared (#1464 step 3) 2026-06-09 09:13:35 +02:00
stats.html refactor(frontend): extract the page-chrome into @hive/shared (#1464 step 3) 2026-06-09 09:13:35 +02:00
stats.js refactor(frontend): move ST4TS to its own /stats.html page (#1464 step 2) 2026-06-09 00:11:43 +02:00
stream-worker.js chore: scrub #NNN issue references from code comments and nix descriptions 2026-06-01 13:30:52 +02:00
tabs.js refactor(frontend): extract shared render/format helpers into util.js (#1451) 2026-06-09 14:52:01 +02:00
theme.css refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00
util.js refactor(frontend): extract shared render/format helpers into util.js (#1451) 2026-06-09 14:52:01 +02:00