Skip to content

feat: collapsible historical machinations accordion in admin panel - #200

Merged
Garemat merged 1 commit into
mainfrom
feat/machinations-history
Jun 23, 2026
Merged

feat: collapsible historical machinations accordion in admin panel#200
Garemat merged 1 commit into
mainfrom
feat/machinations-history

Conversation

@Garemat

@Garemat Garemat commented Jun 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds roundNumber: Int = 0 to OnlineMachinationEntry (default 0, backward-compatible; non-hosts never receive this field populated)
  • Host admin panel now shows a "Past Rounds" section below the current-round machinations overview
  • Each past round is collapsed by default; tapping expands a tally table (+/−/Net) and per-player submission detail including sabotages
  • Only visible to host (section only renders when roundNumber > 0 entries are present, which only happens for hosts)

Depends on backend PR for roundNumber in API response.

Test plan

  • Host sees "Past Rounds" section in admin panel during MACHINATIONS phase
  • Each past round row is collapsed by default, expands on tap
  • Tally table and submission detail (with sabotages) visible per round
  • Non-host members do not see any historical sabotage data

🤖 Generated with Claude Code

Adds roundNumber field to OnlineMachinationEntry (default 0, ignored for
non-hosts). Host admin panel now shows a "Past Rounds" section below the
current-round overview, with each past round collapsed by default. Tapping
a round row expands a tally table (+ / − / Net) and per-player submission
detail including sabotages, visible to the host only.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Garemat
Garemat enabled auto-merge (squash) June 23, 2026 22:22
@Garemat
Garemat merged commit 1300e8a into main Jun 23, 2026
6 checks passed
@Garemat
Garemat deleted the feat/machinations-history branch June 23, 2026 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant