Admin: Swap and Play show what they are doing, step by step, and nothing on the page jumps #163
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?
What happens
The owner pressed Swap and Play on a live game (Miami vs. Duke, 2026-11-14, web player and Emby) right after #161 shipped. Every action worked on the server, but the page did not show it well:
Why an action takes seconds
The server does real work in steps, and the page sees none of them until the answer comes back:
The idea
Data it needs
GET /api/channels/{game_id}/operation: the action in flight or just ended, small enough to read twice a second while one runs.Done when
Merged in #164 (merge commit
d718d72) and deployed frommainat3a94153on 2026-11-14: the app was up on it at 18:06Z. The OpenSpec changeadmin-action-progressis archived in3a94153.Checked on the live app right after the deploy:
GET /api/channels/{id}/operationanswers none for both open channels and 404 for an unknown game, and the admin view carries the record on each channel.Not seen live yet: an action's steps on a real channel. Nobody had pressed Swap or Play since the deploy when this was written.
Seen and not fixed: at page widths around 1,000 px the Links table is 12 px wider than its column, so the Play column is cut at its right edge. That is from #161, not from this change.