-
Notifications
You must be signed in to change notification settings - Fork 45
feat: keep filters in url #1615
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
base: main
Are you sure you want to change the base?
Conversation
DanielSchiavini
commented
Nov 6, 2025
- move the filters from local storage to url
- test the new behavior
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
0xAlunara
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you select any filter and then click "Reset filters" the URL doesn't remove the query like expected, but it becomes ?deprecatedMessage=no&tvl=10000~
Filters getting pretty complex 🧐
imo it should be simpler now, cause we don't need migration logic, we don't need to filter the default filters etc
yeah this is a bug! Reset should just always make it |
|
|
||
| const { Spacing } = SizesAndSpaces | ||
|
|
||
| export const UserPositionFilterChips = ({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I inlined this component, it was just adding complexity since it's so simple. In the end, only filterProps were used btw