Thanks to visit codestin.com
Credit goes to github.com

Skip to content

add debounced search on type to the search bar #2703

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

Merged
merged 7 commits into from
Jun 29, 2022

Conversation

Kira-Pilot
Copy link
Member

This is part of #2608.

Previously we were only querying on Enter or page refresh; now we have debounced search on keystroke. Query params in URL should still update accordingly.

Kapture 2022-06-28 at 10 36 50

@Kira-Pilot Kira-Pilot requested a review from a team as a code owner June 28, 2022 14:42
Copy link
Contributor

@AbhineetJain AbhineetJain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feature and the tests are absolute ❤️

@Kira-Pilot Kira-Pilot requested a review from jsjoeio June 29, 2022 16:42
Copy link
Contributor

@jsjoeio jsjoeio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

Comment on lines -47 to +48
"react-helmet": "^6.1.0",
"react-helmet": "6.1.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ Was this intentional?

Copy link
Member Author

@Kira-Pilot Kira-Pilot Jun 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jsjoeio Yeah, Grey requested that I always pin dependencies. I'm down to revisit this rule in the future, but figured I'd clean up while I was in there.

@@ -74,7 +75,7 @@
"@types/node": "14.18.16",
"@types/react": "17.0.44",
"@types/react-dom": "17.0.16",
"@types/react-helmet": "^6.1.5",
"@types/react-helmet": "6.1.5",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ Was this intentional?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

@Kira-Pilot Kira-Pilot merged commit d9668f7 into main Jun 29, 2022
@Kira-Pilot Kira-Pilot deleted the search-bar-improvements/kira-pilot branch June 29, 2022 17:43
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