fix(saves): the latest save first, the side panel in the window #367

Merged
HumanBean merged 3 commits from neotoxic/LongshotLauncher:fix/saves-header-wrap into main 2026-11-29 17:16:19 +00:00
Contributor

The Saves page listed the saves by slot, so the one just played could be anywhere in the list, and in some languages its side panel ran out of the window. The latest save now comes first, and the panel stays in the window.

  • Latest first: saves are ordered by the date the game wrote in each caption, the file's date breaking ties, then by slot.
  • The side panel stays in the window in every language: the header wraps, and "Open save folder" sits under the two buttons instead of taking a line of its own above them.

Testing

  • cargo fmt --check, cargo clippy --all-targets clean; python -I scripts/translations.py: 15 catalogs validated.
  • In the launcher (screenshot below, a test profile with copies of real saves): six slots, the latest first, the panel in the window.
  • On this Windows PC, 12 tests outside this change (folders, registry, storage, steam) fail on main (6ae8497) as well.

🤖 Generated with Claude Code

The Saves page listed the saves by slot, so the one just played could be anywhere in the list, and in some languages its side panel ran out of the window. The latest save now comes first, and the panel stays in the window. - **Latest first**: saves are ordered by the date the game wrote in each caption, the file's date breaking ties, then by slot. - **The side panel stays in the window in every language**: the header wraps, and "Open save folder" sits under the two buttons instead of taking a line of its own above them. ## Testing - `cargo fmt --check`, `cargo clippy --all-targets` clean; `python -I scripts/translations.py`: 15 catalogs validated. - In the launcher (screenshot below, a test profile with copies of real saves): six slots, the latest first, the panel in the window. - On this Windows PC, 12 tests outside this change (folders, registry, storage, steam) fail on `main` (6ae8497) as well. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The Saves page put « Open save folder » beside the title from 960 px wide, a threshold sized for English. In French
(« Ouvrir un dossier de sauvegarde »), the title row grew wider than its column and pushed the side panel, which has
a fixed width, past the window's right edge: the slot's medallions and the Export button were cut off on a maximised
1456 px window. The button now always sits on its own line under the title, as narrow windows already had it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
feat(saves): the latest save first
Some checks failed
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Has been cancelled
CI / Rust formatting, lint and tests (pull_request) Has been cancelled
CI / Release packages and stable upgrades (pull_request) Has been cancelled
PR title / Conventional Commit title (pull_request) Has been cancelled
49f7406410
The Saves page listed the slots by number, so the game in progress could sit anywhere in the list. It now lists them
by when the game saved each one (the caption's date, the file's when a caption has none), the latest first, and
selects that one when no start slot is chosen. The file dates alone cannot order them: the launcher copies every slot
when a game starts.

The « Open save folder » button sits under « New save » and « Import », beside the title, instead of on a row of its
own: same room for long translations, no empty band above the list.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Contributor

Screenshot (test profile with copies of real saves): the latest save first, "Open save folder" under the two buttons.

Saves, latest first

Screenshot (test profile with copies of real saves): the latest save first, "Open save folder" under the two buttons. ![Saves, latest first](https://git.magicbean.dev/attachments/4b564396-4eb7-4eb7-b83a-d5987652704a)
Member

Possibly related, for context:

  • PR #253 feat(saves): show read-only per-slot thumbnails, location, era, progress stats, and full date/time — Open Saves-page changes also touch src/players and ui/saves.slint, potential overlap.
Possibly related, for context: - PR #253 feat(saves): show read-only per-slot thumbnails, location, era, progress stats, and full date/time — Open Saves-page changes also touch src/players and ui/saves.slint, potential overlap.
docs(saves): the comment in English
Some checks are pending
CI / What the change needs (pull_request) Blocked by required conditions
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Blocked by required conditions
CI / Rust formatting, lint and tests (pull_request) Blocked by required conditions
CI / Release packages and stable upgrades (pull_request) Blocked by required conditions
PR title / Conventional Commit title (pull_request) Blocked by required conditions
81c6ff868d
Co-Authored-By: Claude Opus 5.5 <[email protected]>
HumanBean deleted branch fix/saves-header-wrap 2026-11-29 17:16:19 +00:00
Some checks are pending
CI / What the change needs (pull_request) Blocked by required conditions
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Blocked by required conditions
CI / Rust formatting, lint and tests (pull_request) Blocked by required conditions
CI / Release packages and stable upgrades (pull_request) Blocked by required conditions
PR title / Conventional Commit title (pull_request) Blocked by required conditions
Some workflows are waiting to be reviewed.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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
MagicBeanDev/LongshotLauncher!367
No description provided.