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

reset all filters functionality added #236 #238

Closed
wants to merge 5 commits into from

Conversation

BearerOP
Copy link

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

@aakash2330
Copy link
Contributor

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

@BearerOP
Copy link
Author

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

@VineeTagarwaL-code
Copy link
Collaborator

nice this is good

Copy link
Collaborator

@VineeTagarwaL-code VineeTagarwaL-code left a 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

@VineeTagarwaL-code
Copy link
Collaborator

the workflow fails + doesn't updates the url
image

@BearerOP
Copy link
Author

BearerOP commented Aug 25, 2024

I forget to commit the latest modification, I guess it's fine after 92e7a2e commit. @VineeTagarwaL-code

@VineeTagarwaL-code
Copy link
Collaborator

fix the conflicts will merge

@BearerOP
Copy link
Author

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(
Copy link
Contributor

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);

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