Files
romm/frontend
Stu Anderson 9860613ba9 feat(ui): show how many games a filtered platform page lists (#5629)
* feat(ui): show how many games a filtered platform page lists

The platform header showed only the library total, so a filter or search
gave no sense of how much it hid. Add a Shown stat next to In library
while any filter or search is active, translated in every locale.

Fixes #3893

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(ui): show the result count on the filter button

Drop the Shown header stat. The gallery filter button's badge now carries
the number of matching games whenever a filter or search narrows the list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(ui): show the result count inside the gallery search field

Move the count off the filter button, which goes back to the active
filter count. RTextField gains a suffix prop, and Platform and Collection
galleries show "N of total" in their search field while a search or
filter narrows them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(ui): label the RTextField suffix story

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Georges-Antoine Assi <contact@me.gantoine.com>
2026-11-17 09:05:12 -05:00
..
2026-05-30 20:53:52 -04:00