Skip to content

Conversation

@DanielSchiavini
Copy link
Collaborator

  • move the filters from local storage to url
  • test the new behavior

@vercel
Copy link

vercel bot commented Nov 6, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
curve-dapp Ready Ready Preview Comment Nov 10, 2025 10:45am
curve-dapp-storybook Ready Ready Preview Comment Nov 10, 2025 10:45am

0xAlunara
0xAlunara previously approved these changes Nov 7, 2025
Copy link
Collaborator

@0xAlunara 0xAlunara left a 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 🧐

@DanielSchiavini
Copy link
Collaborator Author

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

it becomes ?deprecatedMessage=no&tvl=10000~

yeah this is a bug! Reset should just always make it []


const { Spacing } = SizesAndSpaces

export const UserPositionFilterChips = ({
Copy link
Collaborator Author

@DanielSchiavini DanielSchiavini Nov 10, 2025

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

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.

3 participants