Skip to content

Conversation

@yomete
Copy link
Contributor

@yomete yomete commented Jan 7, 2026

This PR refactors the URL state hooks to export raw setters that external wrapper hooks can use.

Changes:

  • useQueryState: Exports raw URL setters (setExpressionParam, setSumByParam, setGroupByParam) for external wrapper hooks
  • useProfileFilters: Exports setAppliedFilters for wrapper hooks

@yomete yomete requested a review from a team as a code owner January 7, 2026 18:52
@alwaysmeticulous
Copy link

alwaysmeticulous bot commented Jan 7, 2026

✅ Meticulous spotted 0 visual differences across 328 screens tested: view results.

Meticulous evaluated ~4 hours of user flows against your PR.

Expected differences? Click here. Last updated for commit 1babb57. This comment will update as new commits are pushed.

const result = encodeProfileFilters(value);
return result;
},
mergeStrategy: 'preserve-existing',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to apply the mergeStrategy in this component and pass the final value into the URLState?

Adding that functionality into the URL State might complicate things a lot.

This PR refactors the URL state hooks to export raw setters that external wrapper hooks can use.

Changes:

- useQueryState: Exports raw URL setters (setExpressionParam, setSumByParam, setGroupByParam) for external wrapper hooks
- useProfileFilters: Exports setAppliedFilters for wrapper hooks
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