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 0723737d89 fix(#1029): use getBoundingClientRect for tab overflow cutoff
The old measurement used tabbar.clientWidth which includes horizontal
padding (~2em / ~30px total), causing an over-allocation of the same
amount. Flex gap between tabs (0.2em) was also not counted in the
accumulated offsetWidth, adding another ~20px of error. Together these
caused the algorithm to leave too many tabs visible, overflowing the
bar and pushing the ⋮ button off the right edge of the screen.

Replace the clientWidth + cumulative-offsetWidth approach with
getBoundingClientRect: the cutoff is the tabbar's actual right edge
minus its right padding, minus a reserve for the overflow wrapper.
Individual tabs are overflowed once their right edge exceeds the
cutoff; subsequent tabs are overflowed unconditionally to keep the
visible set contiguous and left-anchored.
2026-06-04 20:10:19 +02:00
..
common.css feat(#1290): show per-agent loose-end question count in dashboard 2026-06-04 19:06:56 +02:00
common.js fix(#1157): add viewport meta to all pages; use clientWidth for side panel 2026-06-03 18:23:37 +02:00
dashboard.css fix(#1293): override global li padding on agent menu separator 2026-06-04 20:06:18 +02:00
flow.css feat(dashboard): split monolithic CSS into common + per-page bundles 2026-06-02 11:19:32 +02:00
flow.html fix(#1157): add viewport meta to all pages; use clientWidth for side panel 2026-06-03 18:23:37 +02:00
flow.js feat(#1014): rename manager agent root→ruth across all crates + frontend 2026-06-02 18:18:06 +02:00
index.html fix(#1157): add viewport meta to all pages; use clientWidth for side panel 2026-06-03 18:23:37 +02:00
logs.css feat(dashboard): split monolithic CSS into common + per-page bundles 2026-06-02 11:19:32 +02:00
logs.html fix(#1157): add viewport meta to all pages; use clientWidth for side panel 2026-06-03 18:23:37 +02:00
logs.js fix(logs): add ?id= deep-link to logs viewer, fix queue entry link target 2026-06-04 17:39:31 +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 fix(#1029): use getBoundingClientRect for tab overflow cutoff 2026-06-04 20:10:19 +02:00