Repository navigation
Downloads: one Downloading list like the mockup, with builds after an update and Built pills - #431
Merged
Merged
Conversation
… update and Built pills
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Update to v1.2.0 · 124 MB of 141 MB · 45.8 MB/s · 1 sec left) over a thin bar, Pause and a ✕.Update to v1.4.0, orInstall), Queued and a ✕.Building the game · 40%, its bar from the builder's progress, a ✕ that stops the build. An update held back for it saysWaiting for the build before it, a game queued to build saysWaiting to build. Before, the build ran with nothing on Downloads, and the held update said it was waiting for a download.ui.built_after) and that update's row in Recent says Built, explained on hover..gs-newstyle as a game's stats strip: on Updates ready, the moving and queued rows, and Recent.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.node --test tests/722 passed, 0 failed. All translation files parse.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