Admin: the Now table shows each task's progress, time running, time left and the queue #107

Closed
opened 2026-11-07 23:48:58 -05:00 by cmoriarty · 2 comments
Owner

Part of #103. On the mockup canvas, Picked column: Now · 6A.

What happens

The owner wants Now to be a rich table of the tasks running now, making clear for each one:

  • what it is;
  • how long it has been running;
  • how long it has left;
  • anything else useful.

Today each row has a last run, a result sentence and a next.

The idea

Columns: Task, What, Progress, Time, Left, Next. The header carries chips for the running count and the queue count.

  1. A running stream check.
    • What: the game and the site being read.
    • Progress: dots for "link 3 of 5", then a bar whose remainder is hatched as an estimate from the average check time.
    • Time running, about how long is left, and the next game.
  2. The queue. A row of chips under the running check, one per game waiting.
  3. A running re-check pass.
    • A chip for each ready game: ✓ when done, a spinner for the current one.
    • A progress bar, time running, time left and a countdown to the next pass.
  4. Idle tasks.
    • What the last run produced, as chips: 91 games, 3 channels, 3,148 teams.
    • When it last finished, how long it took, and Next. Next shows a clock with a countdown for a timer, or a lightning bolt with "on change" for a task that waits for the lineup to change.
  5. Pause checks moves to the top bar.
  6. Plain names: Game lists, Emby guide, Jellyfin guide, Save ready games, Team names, Cloudflare solver.

Data it needs

_tasks in backend/app/admin.py has most of it. Each row gains:

  • started_at while running;
  • an estimate of the total: the hour's average for checks; the ready count times the last pass's time per stream for re-checks;
  • took: the last run's duration;
  • next_at as an epoch instead of seconds;
  • what it produced as short values, not a sentence.

Also new:

  • Re-check progress: which ready games the current pass has checked.
  • A Game lists row: the hub read that lists the games. It isn't in the table today.

Done when

  • In the unit lane:
    • the task rows carry these fields;
    • a running re-check reports its progress;
    • the Game lists row exists.
  • In the frontend tests:
    • a running check row renders the link dots, elapsed and remaining time;
    • the queue renders as chips;
    • an idle "on change" row shows the bolt.
Part of #103. On the [mockup canvas](https://claude.ai/artifact/81TFkGA3agPRSmkL38L4yJ), Picked column: **Now · 6A**. ## What happens The owner wants Now to be a rich table of the tasks running now, making clear for each one: - what it is; - how long it has been running; - how long it has left; - anything else useful. Today each row has a last run, a result sentence and a next. ## The idea **Columns:** Task, What, Progress, Time, Left, Next. The header carries chips for the running count and the queue count. 1. **A running stream check.** - **What:** the game and the site being read. - **Progress:** dots for "link 3 of 5", then a bar whose remainder is hatched as an estimate from the average check time. - Time running, about how long is left, and the next game. 2. **The queue.** A row of chips under the running check, one per game waiting. 3. **A running re-check pass.** - A chip for each ready game: ✓ when done, a spinner for the current one. - A progress bar, time running, time left and a countdown to the next pass. 4. **Idle tasks.** - What the last run produced, as chips: `91 games`, `3 channels`, `3,148 teams`. - When it last finished, how long it took, and Next. Next shows a clock with a countdown for a timer, or a lightning bolt with "on change" for a task that waits for the lineup to change. 5. **Pause checks** moves to the top bar. 6. **Plain names:** Game lists, Emby guide, Jellyfin guide, Save ready games, Team names, Cloudflare solver. ## Data it needs `_tasks` in `backend/app/admin.py` has most of it. Each row gains: - **started_at** while running; - **an estimate of the total**: the hour's average for checks; the ready count times the last pass's time per stream for re-checks; - **took**: the last run's duration; - **next_at** as an epoch instead of seconds; - **what it produced** as short values, not a sentence. Also new: - **Re-check progress:** which ready games the current pass has checked. - **A Game lists row:** the hub read that lists the games. It isn't in the table today. ## Done when - **In the unit lane:** - the task rows carry these fields; - a running re-check reports its progress; - the Game lists row exists. - **In the frontend tests:** - a running check row renders the link dots, elapsed and remaining time; - the queue renders as chips; - an idle "on change" row shows the bolt.
Author
Owner

Deployed 2026-11-08 06:11Z in PR #111 (merge a133e29, container 71367c5163eb); OpenSpec change archived in b4d5b94. Live now: the Now table shows each task's progress (link dots, a re-check pass's games), time and time left, what its last run produced as chips, and its next run (a clock, or a bolt for "on change"), with the queue as chips and a new Game lists row. Left open until a running check is seen on a game night.

Deployed 2026-11-08 06:11Z in PR #111 (merge a133e29, container 71367c5163eb); OpenSpec change archived in b4d5b94. Live now: the Now table shows each task's progress (link dots, a re-check pass's games), time and time left, what its last run produced as chips, and its next run (a clock, or a bolt for "on change"), with the queue as chips and a new Game lists row. Left open until a running check is seen on a game night.
Author
Owner

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.

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.
Sign in to join this conversation.
No labels
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cmoriarty/sports-breaker#107
No description provided.