Skip to content

Reflect the rewound snapshot in the server page header - #36

Merged
needs merged 1 commit into
masterfrom
server-page-header-cleanup
Aug 25, 2026
Merged

Reflect the rewound snapshot in the server page header#36
needs merged 1 commit into
masterfrom
server-page-header-cleanup

Conversation

@needs

@needs needs commented Aug 25, 2026

Copy link
Copy Markdown
Owner

The rewind bar's label repeated information that belongs in the page header, so this moves it there: dragging the bar now updates the header's server name, gametype, map and client count to the selected snapshot, while the label itself is reduced to just Live or the snapshot timestamp.

To make that possible, the timeline's state (selected index, snapshot fetching and caching) moves out of SnapshotTimeline into a new SnapshotProvider context that wraps both the header and the timeline, and the header's detail row becomes a ServerHeaderInfo client component reading from it. Playtime stays the server-level value, and while a newly dragged snapshot loads the header keeps showing the last loaded one, matching the list's existing stale-opacity behaviour.

🤖 Generated with Claude Code

Move the timeline state into a SnapshotProvider context so the header can
read it, and drop the redundant "drag the bar to rewind" and "<x> clients
on <map>" captions from the timeline label.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@needs
needs merged commit 98d8cd5 into master Aug 25, 2026
1 check passed
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