Skip to content

Discover and Big Picture list consoles A to Z - #281

Merged
elripalda merged 1 commit into
elripalda:mainfrom
Xarishark:feat/recomplaunch-issue-270-ccfd1a
Nov 17, 2026
Merged

elripalda merged 1 commit into
elripalda:mainfrom
Xarishark:feat/recomplaunch-issue-270-ccfd1a

Conversation

@Xarishark

@Xarishark Xarishark commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

What this changes

The console list in Discover's dropdown and in Big Picture's Discover console picker is now A to Z by console name. The Library's dropdown already sorts this way (since ab6f271), but these two used the catalog's own order, which looks random to players.

A small originsAZ() helper next to originName() returns a sorted copy, so the catalog itself keeps its order. Like the Library and the add-a-game console picker, "Other" and "PC" sort by name too.

Closes #270

How you tested it

Windows 11 host, with Node on a Bazzite (Linux) VM.

  • Ran originsAZ() against a fresh cached pc-catalog.json: 32X, Amiga, Arcade, CD-i, Dreamcast … Xbox, Xbox 360, and S.cat.origins is unchanged.

  • node --check on ui/app.js and ui/tv.js.

  • npm test passes (not run: only UI JavaScript changed)

  • node --test tests/*.test.cjs: 310 of 335 pass, the same as main before this change. The 25 failing tests fail in the same way without it.

  • Tried it in the launcher (npm run dev): not done

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)

Generated by Claude Code

@elripalda
elripalda merged commit e8a3179 into elripalda:main Nov 17, 2026
6 checks passed
@Xarishark
Xarishark deleted the feat/recomplaunch-issue-270-ccfd1a 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.

Sorting of consoles

2 participants