Files
J621/backend/apps/accounts
JakeBreath bb87f563a9 Per-user browse preferences
Adds a preferences JSON field on the user plus GET/POST
/api/auth/preferences/ (merge semantics, validated keys), surfaced in
/auth/me/ and typed on the frontend.

The Account page gains a Browsing preferences card: landing page,
default rating filter, default sort, items per page and thumbnail size.
Signed-in users also sync these while browsing (the Library sidebar's
rating/sort/per-page controls and the new thumbnail slider), debounced;
on load the account's values seed the local UI state, so settings follow
the user across browsers. Guests keep the existing localStorage
behaviour. The thumbnail size drives the media grids (Library, Online,
pool detail) between 140 and 320px columns.

Verified the API against the dev server: merge keeps untouched keys,
invalid values 400, values round-trip through /auth/me/.
2026-09-17 22:34:38 -05:00
..
2026-09-17 22:34:38 -05:00
2026-09-17 07:56:47 -05:00
2026-09-17 07:56:47 -05:00
2026-09-17 22:34:38 -05:00
2026-09-17 22:34:38 -05:00
2026-09-17 07:56:47 -05:00
2026-09-17 22:34:38 -05:00
2026-09-17 22:34:38 -05:00