fix(home): a newer version shows once: Update available, Update beside Play, What's new opposite the title #192

Merged
HumanBean merged 1 commit from dyst/LongshotLauncher:fix/home-update-once into main 2026-11-17 23:00:57 +00:00
Member

The home showed a newer version twice (under the hero and again on the instance's row), with an Update button on the row as well as beside Play, and the Track field repeated the version and the channel the Version field already shows. Now each thing shows once, where it belongs.

What changed

  • Your instances rows: only an Update available badge when the instance has a newer version. No Update button, no "↑ … is out" line, and no What's new of its own: picking the row puts it in the dropdowns, and the hero's Update and What's new act on it.
  • Update beside Play: has its arrow icon and Play's height, padding, corners and type (Button.hero), in its own colour. It takes the room left beside Play, so a longer translation is cut rather than pushing the row out of the 300 px column.
  • Update available beside the version: on the Version field's label row, so the version itself is never cut, and in place of the "default"/"newest" note on that version's row in the Version list.
  • Opposite the title (the right column, level with "Longshot"): the picked track's newest version by its shown name ("Nightly 429 · 6112edb6 is out") and What's new in it. It shows only when that track's build has a newer version, and nothing is there otherwise. The hero's "nightly-…-… is out on the Nightly channel." line, which used the raw id, is gone. Remove stays under the hero's note.
  • Track dropdown: the track's name only (Stable, Release candidate, Nightly), with no version text and no channel tag.
  • Footer: "2 instances use 70.8 GB in …", matching the list's heading.

What Update and What's new do is unchanged.

Translations

"Update available" and the footer's instance counts are new in the 12 full catalogs, with every plural form each language has. They need a native speaker's check. The texts no longer used are removed: "{0} is out on the {1} channel.", "none installed", "{0} installed" and the footer's "versions" forms (also from es-419).

Tests

  • python -I tests/test_launcher_core.py: 1983 checks passed. HomeUpdateSourceChecks, beside #184's HomeLayoutSourceChecks, pins each change above: no Update button, "is out" line or What's new on a row; the one badge style in its three places; the Track template showing the name only; Update's icon and Play's size; the track's newest version and What's new opposite the title; and the footer's instances.
  • python -I tests/test_release.py: OK.
  • dotnet build App -c Release: 0 warnings, 0 errors.
  • Not tried in the real window or on Linux. The screens are drawn headless with tools/screenshots, using three new scenes: home-nightly-update, home-versions-update and home-row-update.

Screenshots

Before (main) and after, at 960×600, in the first comment.

Overlaps

#189 (open) adds a banner and commands to HomeView.axaml and HomeViewModel.cs, in other places than this. Whichever merges second has a small rebase.

The home showed a newer version twice (under the hero and again on the instance's row), with an Update button on the row as well as beside Play, and the Track field repeated the version and the channel the Version field already shows. Now each thing shows once, where it belongs. ## What changed - **Your instances rows:** only an **Update available** badge when the instance has a newer version. No Update button, no "↑ … is out" line, and no What's new of its own: picking the row puts it in the dropdowns, and the hero's Update and What's new act on it. - **Update beside Play:** has its arrow icon and Play's height, padding, corners and type (`Button.hero`), in its own colour. It takes the room left beside Play, so a longer translation is cut rather than pushing the row out of the 300 px column. - **Update available beside the version:** on the Version field's label row, so the version itself is never cut, and in place of the "default"/"newest" note on that version's row in the Version list. - **Opposite the title** (the right column, level with "Longshot"): the picked track's newest version by its shown name ("Nightly 429 · 6112edb6 is out") and **What's new** in it. It shows only when that track's build has a newer version, and nothing is there otherwise. The hero's "nightly-…-… is out on the Nightly channel." line, which used the raw id, is gone. **Remove** stays under the hero's note. - **Track dropdown:** the track's name only (Stable, Release candidate, Nightly), with no version text and no channel tag. - **Footer:** "2 instances use 70.8 GB in …", matching the list's heading. What Update and What's new do is unchanged. ## Translations "Update available" and the footer's instance counts are new in the 12 full catalogs, with every plural form each language has. **They need a native speaker's check.** The texts no longer used are removed: "{0} is out on the {1} channel.", "none installed", "{0} installed" and the footer's "versions" forms (also from es-419). ## Tests - `python -I tests/test_launcher_core.py`: 1983 checks passed. `HomeUpdateSourceChecks`, beside #184's `HomeLayoutSourceChecks`, pins each change above: no Update button, "is out" line or What's new on a row; the one badge style in its three places; the Track template showing the name only; Update's icon and Play's size; the track's newest version and What's new opposite the title; and the footer's instances. - `python -I tests/test_release.py`: OK. - `dotnet build App -c Release`: 0 warnings, 0 errors. - Not tried in the real window or on Linux. The screens are drawn headless with `tools/screenshots`, using three new scenes: `home-nightly-update`, `home-versions-update` and `home-row-update`. ## Screenshots Before (main) and after, at 960×600, in the first comment. ## Overlaps #189 (open) adds a banner and commands to `HomeView.axaml` and `HomeViewModel.cs`, in other places than this. Whichever merges second has a small rebase.
fix(home): a newer version shows once: Update available, Update beside Play, What's new opposite the title
All checks were successful
CI / Compile and test (pull_request) Has been skipped
CI / Conventional Commit title (pull_request) Successful in 6s
122cabc878
The home listed a newer version twice (under the hero and on the row), with
an Update button on the row as well as beside Play, and the Track field
repeated the version and the channel the Version field already shows.

- A row: only an "Update available" badge; no Update button, no "is out"
  line, no What's new of its own (the hero's act on the row picked).
- Update beside Play: its arrow, and Play's height, padding, corners and
  type (Button.hero).
- "Update available" on the Version field's label row (the version never
  cut) and in place of the note on its row in the Version list.
- Opposite the title: the picked track's newest version by its shown name
  ("Nightly 429 · 6112edb6 is out") and What's new, only when its build
  has a newer version. The hero's "nightly-…-… is out on the Nightly
  channel." line goes.
- The Track dropdown: the track's name only.
- The footer counts instances, as the list's heading says.
- Catalogs: the new texts in the 12 full ones, the unused ones removed
  (es-419 too). New screenshot scenes: home-nightly-update,
  home-versions-update, home-row-update.

Assisted-by: Claude Code
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Member

Screenshots: before and after

Drawn with tools/screenshots (headless) at 960×600, the same scenes on both sides: before from main (f2e40a0, with only the three new scenes added to the tool), after from this PR (122cabc). The Play button is grey because the scenes' builds have no game files, not because of this PR.

A nightly build with a newer nightly out (home-nightly-update, the case reported)

Before After
before after

The Version dropdown open (home-versions-update)

Before After
before after

A build on another track with a newer version (home-row-update)

Before After
before after

The Track dropdown open (home-tracks)

Before After
before after

A stable build with an update (home-update)

Before After
before after

With a banner, at 960×600 (home-banner-hookshot)

Before After
before after
## Screenshots: before and after Drawn with `tools/screenshots` (headless) at 960×600, the same scenes on both sides: before from main (`f2e40a0`, with only the three new scenes added to the tool), after from this PR (`122cabc`). The Play button is grey because the scenes' builds have no game files, not because of this PR. ### A nightly build with a newer nightly out (`home-nightly-update`, the case reported) | Before | After | |---|---| | ![before](https://git.magicbean.dev/attachments/6b07cdf8-f2a7-4905-8bb6-3d1a92a36ec8) | ![after](https://git.magicbean.dev/attachments/ca37c320-d640-4f0b-ba58-13e0b658ebf3) | ### The Version dropdown open (`home-versions-update`) | Before | After | |---|---| | ![before](https://git.magicbean.dev/attachments/cd300a15-99a3-4d66-b115-3f06646a5136) | ![after](https://git.magicbean.dev/attachments/b0ae4e09-98a9-4c68-9d90-2c7c5e3f85f2) | ### A build on another track with a newer version (`home-row-update`) | Before | After | |---|---| | ![before](https://git.magicbean.dev/attachments/89b30013-fb70-45b8-9181-aeb605927351) | ![after](https://git.magicbean.dev/attachments/f0200967-ab20-48b2-bd90-d9d71afc48ac) | ### The Track dropdown open (`home-tracks`) | Before | After | |---|---| | ![before](https://git.magicbean.dev/attachments/14727f7c-a029-4441-9225-e38a1d3ef4d6) | ![after](https://git.magicbean.dev/attachments/ebc332fe-e9fa-4836-9d0d-735cc92aff0a) | ### A stable build with an update (`home-update`) | Before | After | |---|---| | ![before](https://git.magicbean.dev/attachments/70829c08-2098-40dc-8fb8-a122c3b20659) | ![after](https://git.magicbean.dev/attachments/32a944f7-b392-44de-b5c3-8c347eb93044) | ### With a banner, at 960×600 (`home-banner-hookshot`) | Before | After | |---|---| | ![before](https://git.magicbean.dev/attachments/5d515471-b1d8-414b-9a74-92ba75a6eb3e) | ![after](https://git.magicbean.dev/attachments/7fcf30f3-7f77-4d06-81f3-146ab8d0c393) |
Member

Possibly related, for context:

  • PR #180 feat(home): a track and a version to pick on the home, and one button that plays, updates, goes back to or builds it — Introduced the home track/version and update layout this refines
Possibly related, for context: - PR #180 feat(home): a track and a version to pick on the home, and one button that plays, updates, goes back to or builds it — Introduced the home track/version and update layout this refines
HumanBean deleted branch fix/home-update-once 2026-11-17 23:00:57 +00:00
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!192
No description provided.