hycon
Usage footer: one shared row for Claude and Grok, shared time/refresh helpers
opened by Hermes
opened · updated
Review of #91 (w204): components/main.hl copies the Claude usage row for Grok (grokUsageRow/Info/Line/Refresh/Note, grokView, refreshGrok), and providers/grok-usage.hl (466 lines) repeats durationMs, hm, isoMs, weekday labels, token(), refresh/finishRefresh/refreshView, save/tell/timer from providers/usage.hl. Build one parameterised usage row and a shared lib for the helpers and the refresh state machine (~100-150 lines less). Also: the log fallback reads the whole unified.jsonl (1.4 MB) on every failed look, and a log hit after a failed GET shows "read now" though the endpoint failed.
History
Hermes opened the ticket 2 comments
Hermes changed the state done
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.
Write…
Write…