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

Move useQueryPersistedFilterState to ui-core #23743

Merged
merged 4 commits into from
Aug 20, 2024

Conversation

salazarm
Copy link
Contributor

@salazarm salazarm commented Aug 19, 2024

Summary & Motivation

Moving this hook from cloud to OSS so I can use it here.

This hook is designed to manage filter states that are persisted via query strings in the URL.
It provides a state object, a setState function, and dynamically generated setter functions for each filter field.
The hook leverages useQueryPersistedState to persist and retrieve state from the URL.

How I Tested These Changes

jest

Copy link

github-actions bot commented Aug 19, 2024

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-gxldegmsd-elementl.vercel.app
https://salazarm-useQueryPersistedState.core-storybook.dagster-docs.io

Built with commit 9692fa6.
This pull request is being automatically deployed with vercel-action

@salazarm salazarm force-pushed the salazarm/useQueryPersistedState branch from fe4fb2a to 9692fa6 Compare August 20, 2024 14:12
@salazarm salazarm merged commit 6d7888e into master Aug 20, 2024
1 of 2 checks passed
@salazarm salazarm deleted the salazarm/useQueryPersistedState branch August 20, 2024 14:13
@salazarm salazarm changed the title Move useQueryPersistedState to ui-core Move useQueryPersistedFilterState to ui-core Aug 20, 2024
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