Files
romm/frontend
bdb42bf34f perf(search): prevent double fetch (#5803)
* perf(search): prevent double fetch

* perf(search): display no results when we know we have no results

* pr-ready: code-review

Gate the search count chip on metadataLoaded so it stays hidden while the
link's filtered result is loading, use useIsAlive for the unmount guard,
and cover fetchPlatforms' reset and joined-failure paths.

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

* pr-ready: simplify

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

* pr-ready: prose

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

* pr-ready: prose (code-review catch-up)

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

* fix(gallery): wait for platforms in collections, refetch fresh after a scan

Collection views opened from a ?platforms= link now wait for the platform
list before their first fetch, as Search does. fetchPlatforms gains a
force option that starts a new load after the running one, and the
post-scan reconcile uses it so it never adopts a list read before the
scan finished. AppLayout's comment no longer claims fetchPlatforms
resolves empty while another load runs.

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

---------

Co-authored-by: Georges-Antoine Assi <contact@me.gantoine.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 19:15:45 -05:00
..
…
…