Skip to content

Deeplinkable deck filters#853

Merged
marcelpanse merged 2 commits intomarcelpanse:mainfrom
greg19:use-search-state
Feb 12, 2026
Merged

Deeplinkable deck filters#853
marcelpanse merged 2 commits intomarcelpanse:mainfrom
greg19:use-search-state

Conversation

@greg19
Copy link
Contributor

@greg19 greg19 commented Feb 12, 2026

Fixes the annoyance that the filters disappear when you have some, view a deck and go back in history. This was already done in the collection page.

This PR moves the code that was collection filters specific to a utility useSearchState that behaves similarly to useState but also serializes itself to the search params. Leverages zod for parsing the params.

@marcelpanse marcelpanse merged commit cad6bbe into marcelpanse:main Feb 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants