RobLoach / RobLoach/raylib-libretro

Games library: sort options and jump-to-letter navigation

Open
#327 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
38
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Follow-up to the new games database (include/raylib-libretro-games.h).

The Games list is currently sorted by title only. Add sort options and fast navigation for large libraries.

Proposal
  • Sort options (combobox on the Games page): Title (A-Z / Z-A), System, Recently added, Recently played (depends on #(favorites/recently-played)), File size. Easy with SQL ORDER BY, or by re-sorting the in-memory filtered index.
  • Jump-to-letter: pressing a letter (or a shoulder-button alphabet strip) jumps the list selection to the first title starting with that letter — important for thousands of entries in nk_console_list_view.
  • Optional: a small header showing the current count / position.
Notes
  • Builds on the existing LibretroGamesRebuildFiltered + nk_console_list_view in include/raylib-libretro-menu.h.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading include/raylib-libretro-menu.h, especially LibretroGamesRebuildFiltered and the nk_console_list_view usage, then inspect include/raylib-libretro-games.h for the games data. Confirm how favorites and recently played are represented before choosing the sort source. Done means the Games page offers the requested ordering choices and lets users jump to titles by initial letter in large libraries.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
frontend, game-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.