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

Store Stock List Filter state in URL #1637

Open
marvinruder opened this issue Oct 8, 2024 · 0 comments
Open

Store Stock List Filter state in URL #1637

marvinruder opened this issue Oct 8, 2024 · 0 comments
Assignees
Labels
feature New feature or request frontend Related to frontend package

Comments

@marvinruder
Copy link
Owner

Is your feature request related to a problem? Please describe.
When reloading a stock list page, all filter settings are reset.

Describe the solution you’d like
Filter settings are read from and written to URL parameters using

const [searchParams, setSearchParams] = useSearchParams();

searchParams will become the only source of truth wherever filter states are used, even across components.

@marvinruder marvinruder added feature New feature or request frontend Related to frontend package labels Oct 8, 2024
@marvinruder marvinruder self-assigned this Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request frontend Related to frontend package
Projects
None yet
Development

No branches or pull requests

1 participant