Skip to content

✨ Keep search/library filters and sort on back navigation + Uniformize library and search cards across domains - #103

Merged
Logan2234 merged 6 commits into
mainfrom
feat/uniformize-library-search-cards
Aug 18, 2026
Merged

✨ Keep search/library filters and sort on back navigation + Uniformize library and search cards across domains #103
Logan2234 merged 6 commits into
mainfrom
feat/uniformize-library-search-cards

Conversation

Logan Willem and others added 2 commits August 18, 2026 23:53
Sync query/status/favorites/sort/order (and type, for the media
library) into the URL via replaceState, and let each detail page's
"← retour" link fall back to a real history.back() when it knows the
tab has in-app navigation history — so both the back button and the
browser's native back restore the previous filtered/sorted view
instead of resetting it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Add a watched status label for movies (mirroring Book/Game/Music) and
a reading-progress bar for books, since currentPage/pageCount were
already tracked but never surfaced. Unify search result cards behind
a single top-right +/check affordance (hover to add, always-visible
check when already followed), replacing Video's missing add action
and Book/Game/Music's bottom button, and match Video's hover-lift
style across all four domains.
@Logan2234 Logan2234 self-assigned this Aug 18, 2026
@github-actions github-actions Bot added the web apps/web (SvelteKit) label Aug 18, 2026
Logan Willem and others added 4 commits August 19, 2026 00:12
replaceState from $app/navigation only patches the raw history entry
— it doesn't update SvelteKit's own router state, so page.url (and
the filters read back from it) stayed stale once the browser actually
navigated back to that entry, causing the just-restored filters to
immediately reset. Swap to goto(url, { replaceState: true, noScroll,
keepFocus }), which is what actually keeps page.url in sync.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@Logan2234
Logan2234 merged commit 0ff6478 into main Aug 18, 2026
12 checks passed
@Logan2234
Logan2234 deleted the feat/uniformize-library-search-cards branch August 18, 2026 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

web apps/web (SvelteKit)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant