Admin: History loads one stretch of a day at a time, picked on a day chart #110
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
cmoriarty/sports-breaker#110
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #103. On the mockup canvas, Picked column: History · 9C.
What happens
The owner wants to keep History, but:
Today:
events.jsonl(KEEPinbackend/app/events.py). That is 3 to 4 days at 400–780 events a day, and less on a busy night.The idea
A day switch: the last 3 days.
A chart of the day's events in 15-minute bins, coloured by meaning:
A window on the chart with drag handles; by default the last 45 minutes. Only the window's events load below it, 50 at a time, with "N more".
Routine re-checks are hidden until their legend toggle is turned on. The legend's other entries filter too.
Each event as UI, not a sentence:
The full sentence shows on hover.
The page holds only the window it shows.
Data it needs
GET /api/events?since=&until=&limit=&after=for a window, with a cursor for "more".Done when
Deployed 2026-11-08 06:11Z in PR #111 (merge
a133e29, container 71367c5163eb); OpenSpec change archived inb4d5b94. Live now: the log keeps 3 days by age; History shows the day's events as a chart with a draggable window (default the last 45 min), loads only that window 50 at a time, shows events as chips, and offers newer events as a count. Swaps and recoveries now record the hosts they left and landed on. Left open for a look at a busy night's window.Closed at the owner's word (2026-11-08): the fix is merged to develop in PR #111 (merge
a133e29) and deployed. A new issue will be opened if a problem shows up.