Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENG-1436] Store search state in search params #1795

Merged
merged 5 commits into from
Nov 17, 2023

Conversation

Brendonovich
Copy link
Contributor

@Brendonovich Brendonovich commented Nov 17, 2023

Stores search state (query + filters) in search params so they persist across tabs.
isSearching has been replaced with a check for if a search= search param exists.

TODO:

  • Search query
  • Filters

@Brendonovich Brendonovich requested a review from a team as a code owner November 17, 2023 20:07
Copy link

linear bot commented Nov 17, 2023

ENG-1436 Store search state in URL

Not doing this breaks search option persistence across tabs since all UI state that isn't stored in the router gets lost.
We're actually going to need to be extra vigilant about this with more than just search state now that we have tabs.

Copy link

vercel bot commented Nov 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
spacedrive-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 17, 2023 9:05pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
spacedrive-landing ⬜️ Ignored (Inspect) Visit Preview Nov 17, 2023 9:05pm

@Brendonovich Brendonovich marked this pull request as draft November 17, 2023 20:07
@Brendonovich Brendonovich added this pull request to the merge queue Nov 17, 2023
Merged via the queue into main with commit ae31e10 Nov 17, 2023
9 checks passed
@Brendonovich Brendonovich deleted the eng-1436-store-search-state-in-url branch November 17, 2023 21:10
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