Undo a Swap or Not this game, and rename Not this game to Wrong game #79

Closed
opened 2026-11-01 16:14:52 -05:00 by cmoriarty · 0 comments
Owner

What happened (2026-11-01): Chris tuned in to the Dolphins game before kickoff. The stream was showing another game, which sites often do before their game starts. He pressed "Not this game" on the admin card. That threw away a link that was probably right, and the channel moved to another link that also showed the wrong game. There is no way back.

Asked for

  1. Rename "Not this game" to "Wrong game" everywhere: the admin card (frontend/src/AdminPage.tsx), the player page (frontend/src/App.tsx), their tests, and the admin-page, player-page and stream-supervision specs.
  2. Undo: the playing game's card lists the links that "Swap" or "Wrong game" moved away from, for example "edgestream: wrong game, 4 min ago". Each one has a button to go back to it.

Why undoing a rejection needs more than a swap back
resolution.reject drops the entry, adds the link to Ladder.rejected for the game's whole life, and counts the rejection against the host (reputation.record_rejected). Undoing it must take the link off the rejected list, take back the reputation count, and then move the channel to that link. That move can re-read and verify the link first, the same way a swap does. An undone swap only needs the move back, as long as the old link is still kept or can be re-read.

Open questions

  • How long a link stays in the list. Proposed: for the rest of the game, newest first, at most a few entries.
  • Whether the same list goes on the player page next to Wrong game. Proposed: the admin card only, for now.
  • Before kickoff, Wrong game could warn that the game hasn't started yet and ask for confirmation. Optional, but it would have prevented this case.
**What happened (2026-11-01):** Chris tuned in to the Dolphins game before kickoff. The stream was showing another game, which sites often do before their game starts. He pressed "Not this game" on the admin card. That threw away a link that was probably right, and the channel moved to another link that also showed the wrong game. There is no way back. **Asked for** 1. **Rename** "Not this game" to **"Wrong game"** everywhere: the admin card (frontend/src/AdminPage.tsx), the player page (frontend/src/App.tsx), their tests, and the admin-page, player-page and stream-supervision specs. 2. **Undo:** the playing game's card lists the links that "Swap" or "Wrong game" moved away from, for example "edgestream: wrong game, 4 min ago". Each one has a button to go back to it. **Why undoing a rejection needs more than a swap back** `resolution.reject` drops the entry, adds the link to `Ladder.rejected` for the game's whole life, and counts the rejection against the host (`reputation.record_rejected`). Undoing it must take the link off the rejected list, take back the reputation count, and then move the channel to that link. That move can re-read and verify the link first, the same way a swap does. An undone swap only needs the move back, as long as the old link is still kept or can be re-read. **Open questions** - How long a link stays in the list. Proposed: for the rest of the game, newest first, at most a few entries. - Whether the same list goes on the player page next to Wrong game. Proposed: the admin card only, for now. - Before kickoff, Wrong game could warn that the game hasn't started yet and ask for confirmation. Optional, but it would have prevented this case.
Sign in to join this conversation.
No labels
No milestone
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#79
No description provided.