Repository navigation
Easy Setup: a long label no longer pushes Choose over the copy box's border - #392
Merged
elripalda merged 2 commits intoNov 21, 2026
Merged
Conversation
The box kept a fixed height after its text was allowed to wrap (elripalda#350), so a long input label pushed the button row onto the border. The text now wraps to two lines at most and the box grows past that, on desktop and Big Picture. The preview page has a case with a long label.
A single named input showed its label as the title and again under it. The box now has the game on top, like a game.kind copy. It also gets the original game's name again: a variable added in elripalda#308 hid the game passed in, so the title fell back to the recomp's name.
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.
What this changes
In Easy Setup, a game that needs one named file with a long label (like a phone game's "Your copy of … for Nokia Series 40 (128x128): …_s40v2.jar") pushed the Choose button out over the copy box's dashed border.
height:132px, so extra lines pushed the button row down past the border. The box now has amin-heightwith top and bottom padding. Its title and the line under it each show at most two lines. Same change in Big Picture (tv.css).game.kindcopy.const game = …insidestepsView's Game step, which hid thegamepassed in. Sogame.gamewas always missing and the copy box title fell back to the recomp's name (for example "Longshot" instead of "The Legend of Zelda: Ocarina of Time"). The inner variable is nowcopyRow.How you tested it
On Bazzite (VM), from an LF checkout of this branch:
npm testpasses (no Rust changed; not run)node --test tests/*.test.cjspasses: 640 pass, including two new tests (the copy box is titled with the original game; a single named input's label shows once, under the game's name)npm run dev): not run. Checked withtests/setup-steps-preview.htmlin headless Chrome instead, desktop and?tv. Its new "Phone game · one named file with a long label" case shows the box with the game's name on top, the label once under it, and Choose inside the border. Longshot's box shows "The Legend of Zelda: Ocarina of Time" with its long label wrapped to two lines.Checklist
recomplauncher.json: the schema and docs are updated too (nothing there changes)