The Event Log marks defeat, the clock, and gold #939
No reviewers
Labels
No labels
bug
campaign-editor-ui
dependencies
design
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
javascript
question
queue
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/chess-tactics!939
Loading…
Reference in a new issue
No description provided.
Delete branch "claude/log-icons-defeat-clock-gold-261576"
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?
A score sheet is scanned before it is read, and the Event Log's move rows already carry that — a notated
Nxb5+says capture, mover, square and check at once, and its side rail says who played it. The prose rows carried nothing: "Check!", "Defeat — your clock ran out." and "Knight''s fork — 5 gold claimed." are three shades of the same muted grey at the same indent.Three marks, in the column the move numbers take.
defeatclockgoldA line may wear two, because outcome and cause are different facts: a flag fall is a defeat AND it is the clock. A victory wears nothing, and neither does an ordinary prose line — mark every outcome and the scan has nothing left to find.
The mark is set where the line is written, never re-derived by matching rendered prose.
adjudicationEntryandnetOutcomeEntrydecide the copy and its mark in one breath, so a defeat cannot be written without being marked as one;goldreadsRunBattleNotice.goldTenths, already the field that seats the board''s rising+goldmarker.Only one of the three is new art. The clock is the persistent title bar''s installed hourglass and the coin is the Run''s own
RunGoldIcon— the same componentBattleGoldNoticedraws over the board — reused verbatim rather than forged a second time (ADR-0059). Defeat takesui/kit/icons/game/defeat.pngunder a newbattle-log-markcomponent, trimmed to its own ink because the seat is 18px and draws withcontain. That seat is reserved rather than fail-closed (ADR-0318) and renders empty until one is installed.The row is now one
EventLogRowcomponent, so Studio → Log Marks mounts the row the player actually gets rather than a re-typed copy of it. Sixteen candidates are uploaded on batchbattle-log-defeat-mark-2026-08-11-v1and none is accepted — the pixels are the owner''s call.The row''s second column goes 32px → 40px, which is exactly two seats plus their gap.
LogEntry.marksis additive and optional, so a persisted match resumes with its old rows unmarked and no save version moves.See ADR-0586.
Verified
cd frontend && npm run check— 3543 passed, 3 skipped.cd backend && node --test liveMediaPolicy.test.js— 47 passed.