-
Notifications
You must be signed in to change notification settings - Fork 456
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
reset all filters functionality added #236 #238
Conversation
Please also make sure that the results reset too , it's not very ui friendly if the user have to also click on apply after resetting |
Noted and Completed! ✅ Screen.Recording.2024-08-23.at.08.12.47.mov |
nice this is good |
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.
looks good checking the pr in local right now
I forget to commit the latest modification, I guess it's fine after 92e7a2e commit. @VineeTagarwaL-code |
fix the conflicts will merge |
Done ✅ |
@@ -41,27 +41,39 @@ const JobFilters = ({ searchParams }: { searchParams: JobQuerySchemaType }) => { | |||
}, | |||
}); | |||
|
|||
const formValues = form.watch(); | |||
async function handleFormSubmit(data: JobQuerySchemaType) { | |||
await jobFilterQuery( |
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.
please use the new setQueryParams hook , or if you're just resetting the page you can just reload the page without query params , something like router.replace(pathname);
This pr resolves the issue #236 as there is no functionality of "Reset all filter" in Filters sections of View Jobs page.
Screen.Recording.2024-08-20.at.01.32.31.mov