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

feat(mantine): add syncWithUrl option to table hook #3985

Merged
merged 2 commits into from
Dec 20, 2024

Conversation

gdostie
Copy link
Collaborator

@gdostie gdostie commented Dec 16, 2024

Proposed Changes

Add syncWithUrl option to useTable hook. When true, the table will sync its state with the url using search parameters.

Potential Breaking Changes

Acceptance Criteria

  • The proposed changes are covered by unit tests
  • The potential breaking changes are clearly identified
  • README.md is adjusted to reflect the proposed changes (if relevant)

Copy link

@gdostie gdostie force-pushed the ADUI-10406-table-url-sync branch from dce597f to aa7402e Compare December 16, 2024 20:16
@gdostie gdostie force-pushed the ADUI-10406-table-url-sync branch 2 times, most recently from 14da387 to 97ee8f7 Compare December 16, 2024 20:37
@gdostie gdostie force-pushed the ADUI-10406-table-url-sync branch 5 times, most recently from 791c5d0 to 1e2cfc4 Compare December 18, 2024 19:47
@gdostie gdostie marked this pull request as ready for review December 18, 2024 20:01
@gdostie gdostie requested a review from a team as a code owner December 18, 2024 20:01
@gdostie gdostie requested review from GermainBergeron and FelixBlaisThon and removed request for a team December 18, 2024 20:01
@gdostie gdostie force-pushed the ADUI-10406-table-url-sync branch from 1e2cfc4 to 77c6f6c Compare December 18, 2024 20:22
Copy link
Contributor

@FelixBlaisThon FelixBlaisThon left a comment

Choose a reason for hiding this comment

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

very wow, gg

@FelixBlaisThon
Copy link
Contributor

Demo works too from what I've tested

@gdostie gdostie enabled auto-merge (squash) December 20, 2024 19:01
@gdostie gdostie merged commit 71740c9 into master Dec 20, 2024
6 checks passed
@gdostie gdostie deleted the ADUI-10406-table-url-sync branch December 20, 2024 19:09
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