Keep player cards visible in full-game replay

This commit is contained in:
coyotte508 2026-10-09 00:14:05 +02:00
commit 07bf4984ae
5 changed files with 7 additions and 4 deletions

View file

@ -77,3 +77,5 @@ Viewer 0.1.38 and engine 0.4.47 explicitly confirm attacks that break Great Dipl
Viewer 0.1.39 removes the redundant Cancel button from the diplomatic attack warning. The existing movement controls cancel the move; the warning and explicit attack confirmation remain. Engine 0.4.47 is unchanged.
Viewer 0.1.40 keeps full-game replay under the BGS toolbar: the extra bottom recap panel and card/objective notifications are hidden while seeking through the game. Battle results remain available, and ongoing-game last-turn recaps keep their controls and notifications. Engine 0.4.47 is unchanged.
Viewer 0.1.41 restores the player cards and their civilization details in full-game replay, while keeping last-turn recap controls and notifications hidden. Scores and civilization details continue to describe the saved game; board-history frames contain the historical map and pieces. Engine 0.4.47 is unchanged.

View file

@ -1,12 +1,12 @@
{
"name": "@boardgamers/clash-web-client",
"version": "0.1.40",
"version": "0.1.41",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@boardgamers/clash-web-client",
"version": "0.1.40",
"version": "0.1.41",
"dependencies": {
"@boardgamers/protocol": "0.9.0",
"lucide-svelte": "^0.577.0",

View file

@ -1,6 +1,6 @@
{
"name": "@boardgamers/clash-web-client",
"version": "0.1.40",
"version": "0.1.41",
"private": true,
"type": "module",
"scripts": {

View file

@ -695,6 +695,7 @@
class:activity-open={$session.activityOpen}
class="game-shell"
class:playing-back={!!$session.playback}
class:full-replay={$session.playback?.range === 'all'}
class:civilization-setup={!!$session.view?.civilizationDraft}
style:--civilization-accent={civilizationAccent(identity?.civilization)}
>

View file

@ -5348,7 +5348,7 @@ small {
/* Playback leaves the board and camera controls available, hiding live decisions. */
.playing-back .header-actions,
.playing-back .resource-bar,
.playing-back .player-list,
.playing-back:not(.full-replay) .player-list,
.playing-back .board-toolbar,
.playing-back .city-dock,
.playing-back .action-panel,