Skip to content

Downloads: one Downloading list like the mockup, with builds after an update and Built pills - #431

Merged
elripalda merged 1 commit into
mainfrom
downloads-one-list
Nov 22, 2026
Merged

elripalda merged 1 commit into
mainfrom
downloads-one-list

Conversation

@elripalda

Copy link
Copy Markdown
Owner

Xari's #430 on top of #429 as merged (it was stacked on #429's branch, so after #429's squash it no longer merged cleanly). Same changes, his commit.

Replaces #430.

After #398 the Downloads page still didn't look like the mockup it was built from: the big download card with its speed graph and an "Up Next" list sat on top, and #429's builds after an update weren't on the page at all. This makes the top of Downloads the mockup's one list, shows those builds in it, and adds a few markers players asked for.

What changes

  • One Downloading list. The big card and Up Next become one list: what's moving first, then everything waiting its turn.
    • A moving download is a row with a bigger picture, one line (Update to v1.2.0 · 124 MB of 141 MB · 45.8 MB/s · 1 sec left) over a thin bar, Pause and a ✕.
    • A queued download is a quiet row that says what it will be (Update to v1.4.0, or Install), Queued and a ✕.
    • Pause All in the list's header pauses whatever can be paused, the waiting ones first so none starts when the moving one stops.
    • The speed graph's drawing is gone; its speed measurement stays and gives a steadier time left.
  • One way to ask for files: game is read as an input, every new release builds again #429's builds are in the list. A game building right after its update (Build Again After Updates) is a moving row: Building the game · 40%, its bar from the builder's progress, a ✕ that stops the build. An update held back for it says Waiting for the build before it, a game queued to build says Waiting to build. Before, the build ran with nothing on Downloads, and the held update said it was waiting for a download.
  • Pills.
    • The store's Safe pill is now on downloading rows too (the moving one beside its name, queued ones after what they'll be), as on Updates ready. A first install has none while it downloads: its version isn't known yet.
    • A new violet Built pill: when the build after an update finishes (in the background or from Finish the Update), the launcher remembers the version it built (ui.built_after) and that update's row in Recent says Built, explained on hover.
    • Recent rows drop "Checksum matched" (every download is checked) and keep only the store's pill.
  • The version an update goes to is blue, the same .gs-new style as a game's stats strip: on Updates ready, the moving and queued rows, and Recent.
  • Removed: the totals line under the title (each download shows its own numbers), and Recent's "N earlier downloads" fold (each game is one row; its Updates tab has every release).
  • Smaller fixes: Recent no longer blinks away when a download finishes (the old list stays until the new one is read); section titles are smaller.
  • Texts: 10 new ones in all 20 languages; the ones only the removed parts used are gone.

Tests

  • tests/downloads-page.test.cjs: the list and its order (moving downloads, the build, queued, build waits), Queued rows, held updates, Pause All, the moving line (version, sizes, speed, time left; Install; Unpacking), the pills on each row kind and the Built pill's rules, the blue version, no totals line, one Recent row per game.
  • Linux VM (Bazzite): node --test tests/ 722 passed, 0 failed. All translation files parse.
  • Checked on a local dev page that runs the real UI with a stand-in core sending real install and setup events: Update All on four updates (two that build after downloading) runs through download, build, the held update, and Recent with Safe and Built pills.
  • Not run: cargo test (no Rust changed), and the change in the running app on Windows, Linux or macOS.

Patch notes

Player line: Downloads is one list: what's downloading or building on top, then what waits its turn. A game that builds after its update shows its build there, and Recent marks it Built when it's done.


Generated by Claude Code

@elripalda
elripalda enabled auto-merge (squash) November 22, 2026 08:53
@elripalda
elripalda merged commit 3241156 into main Nov 22, 2026
6 checks passed
@elripalda
elripalda deleted the downloads-one-list branch November 22, 2026 09:06
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.

2 participants