Files
romm/docs
Sam Dornan e072cf7fc0 feat(steam): link, sync and filter by a Steam library in the UI
Adds the frontend for the Steam library import:

- A Steam section in the user profile links an account by SteamID64,
  profile link or custom URL name, starts a sync, shows how many games
  the account owns, and unlinks it after a confirmation. It only shows
  when the server has a Steam API key.
- An "Owned on Steam" gallery filter, kept in the URL and usable in
  smart collections. The backend gains an `owned_on_steam` rom filter
  and `GET /api/users/{id}/steam/library` for the owned app ids.
- "Open in Steam" shows only on owned games once a linked account's
  library has loaded; without a linked account it behaves as before.

Smart collections filtering on ownership are refreshed when a sync,
relink or unlink changes what a user owns. The sync task is renamed
"Steam library sync" since users start it too, and its completion
notification opens their profile rather than the admin page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XGA3D2oZ1hq3QUdnubMNXh
2026-10-26 22:24:22 +00:00
..