feat(orchestrator): time range and replay move into the rates panel (015)

The navbar time menu goes; the rates panel holds the presets, a two-handle span slider over the hub's history, replay and Live, and the custom From/To range. A custom range becomes a window length plus an end point, so live windows keep their length. The rates chip lists every metric, and the panel wraps instead of spilling at 390 px. Unit and e2e (Chromium, Firefox, 1920/1366/390) cover the window, the slider and the requests.

🎯 Fix: 94 %
💥 Break: 4 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 100 %
🏆 Score: 90
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kevin Veen-BirkenbachandClaude Opus 5.5 committed 2026-11-17 14:08:13 +00:00
1 parent 09e3f6dabe
commit cc6ea7c230
20 files changed
+462 -416

No files matched your search

+4 -3
View File
@@ -38,8 +38,9 @@ control instead of three.
lacks room the chip shows as many as fit and `+n`. Rejected: a limit of 3
or 5.
6. **Persistence**: unit and chip metrics persist in the hub settings
`rates` without a passkey, as today; the window stays page state, 1 h
live on load, as today.
`rates` without a passkey, as today; the window stays page state, 24 h
live on load, as today (corrected 2026-11-17: the draft named 1 h, but
the page loads 24 h).
7. **Timing**: implemented after every other open skills requirement.
## Approach
@@ -96,7 +97,7 @@ flowchart TD
the window's token sum divided by 7.
- [ ] With 9 metrics chosen the chip shows every one at 1920 and `+n` at
390, and the header never grows wider than the viewport.
- [ ] Unit and metrics survive a reload; the window returns to 1 h live.
- [ ] Unit and metrics survive a reload; the window returns to 24 h live.
### Tests