Repository navigation
Big Picture: pick a release's build with the controller - #469
Merged
Merged
Conversation
A release with more than one build for this PC (a Linux folder and a Windows zip, or one per region) asked which to install with the desktop's dialog, even in Big Picture: app.js hands the choice to window.tvPickBuild, which tv.js never had. With a controller only the highlighted build could be picked, and nothing said that A would pick it. It's a sheet now, like Where Should It Go: each build with its kind and file, the usual one marked, starting on the build it has now (Change Build) or the usual one, and Cancel. A test checks that every Big Picture hook app.js asks for is there in tv.js. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 23, 2026
Xarishark
approved these changes
Nov 24, 2026
Xarishark
left a comment
Collaborator
There was a problem hiding this comment.
All notes resolved and CI passed. Approving.
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.
In Big Picture, installing a recomp whose release has more than one build for this PC (DKB has a Linux folder and a Windows zip) asked which one with the desktop's dialog. With a controller only the highlighted build could be picked, and nothing said that A would pick it; choosing the other one needed a mouse.
Why
pickBuildinapp.jshands the choice towindow.tvPickBuildwhen it's there, andtests/install-version.test.cjsmocks it, buttv.jsnever defined it, so it always fell back to the desktop dialog.What changed
ui/tv.js:window.tvPickBuildis a sheet, built liketvLocation(Where Should It Go): each build with its kind and file name, the usual one tagged Usual, Cancel at the end. It starts on the build the game has now (Change Build), else the usual one, the same ones the desktop dialog lights. It reuses the desktop dialog's strings, so there's nothing new to translate.tests/tv-dialogs.test.cjs: a test that the sheet is there, and one that everywindow.tvXxxhookapp.jsasks for is defined intv.js.tvPickBuildwas the only one missing; this keeps it from happening again.Testing
node --test tests/*.test.cjspasses. Both new tests fail without the change.Related: #470 makes any other desktop dialog that shows in Big Picture usable with the d-pad.
🤖 Generated with Claude Code