-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Convert filters and search text into query params #5248
base: master
Are you sure you want to change the base?
Convert filters and search text into query params #5248
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work.
One thing that I noticed during testing is that if you "navigate away", the query is removed:
=> could you change the links to the parts of the UI that deal with editing,cloning, adding monitors, .. which keep you on the same page visually?
About the error handling:
I think this currently looks a bit weird as noted in your last comment.
Could you add a bit of error handing around this?
Imo just ignoring errors and logging them to the console log is likely fine for this, but having a toast prop up might be better..
Co-authored-by: Frank Elsinga <[email protected]>
…b.com/Suven-p/uptime-kuma into feat-3672-use_query_params_for_filter
Done. But I really don't like how this is implemented. Let me know if you have any suggestions. |
This reverts commit 2e18a19.
This comment was marked as outdated.
This comment was marked as outdated.
@CommanderStorm I have addressed all requested changes. |
@CommanderStorm Would you add hacktoberfest-accepted label to this PR? |
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
Tick the checkbox if you understand [x]:
Description
Fixes #3672
Type of change
Please delete any options that are not relevant.
Checklist
Screenshots (if any)