Skip to content

Game page: one versions picker, highlighting the version you're on - #273

Merged
elripalda merged 1 commit into
elripalda:mainfrom
Xarishark:feat/game-overview-recomp-picker-86fc48
Nov 17, 2026
Merged

elripalda merged 1 commit into
elripalda:mainfrom
Xarishark:feat/game-overview-recomp-picker-86fc48

Conversation

@Xarishark

Copy link
Copy Markdown
Collaborator

What this changes

Overview no longer lists the versions twice. A game with several versions showed them in the "N versions" menu under its title and again in a card on the Overview tab. The card is gone; the menu is the one place to switch. The note about Windows-only versions hidden while Proton is off (Linux) stays on Overview, where it was shown before.

The versions menu highlights the version you're on. The cyan wash, edge bar and icon ring used to mark the recommended version. They now mark the selected one, so the highlight always means "this is the page you're on". The recommended version keeps its Recommended tag. The tick and arrow on the right of each row are gone: with the card gone every row lives in the menu, where they didn't add anything.

The card's Show/Hide button and the verHide setting it saved are removed with it.

How you tested it

Windows 11 host and Bazzite Linux VM.

  • npm test passes (not run for this change: it touches only ui/app.js, ui/app.css and one UI test)
  • node --test tests/*.test.cjs: no new failures. On Bazzite, this branch and plain main (Beta 63) fail the same 25 tests from a Windows checkout (line endings); the rest pass, including the updated versions-list test in beta46.test.cjs.
  • Tried it in the launcher (npm run dev): not in the built app. Checked the real ui/ in a browser with a stand-in backend and the current catalog, on Mario Kart 64 (3 versions): Overview has no versions card, the menu highlights the current version and not the recommended one, no tick or arrow, and switching versions moves the highlight.

Checklist

  • One change per pull request
  • No version bump or patch notes (those are done at release time)
  • If it changes what developers can write in recomplauncher.json: the schema and docs are updated too (not affected)

The versions menu under the title already lists every version, so Overview no longer repeats it (the Proton note for hidden Windows-only versions stays). In the menu the cyan highlight now marks the selected version instead of the recommended one, which keeps its tag, and the tick and arrow on the right are gone.
@elripalda
elripalda merged commit ee828e3 into elripalda:main Nov 17, 2026
9 of 10 checks passed
@Xarishark
Xarishark deleted the feat/game-overview-recomp-picker-86fc48 branch November 23, 2026 23:56
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