-
Notifications
You must be signed in to change notification settings - Fork 41
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
add keyboard search feature #63
base: master
Are you sure you want to change the base?
Conversation
Hi can i get a review on this please :-^ |
src/components/AdvancedSearch.js
Outdated
const [new_array,setNew_array]=useState([]) | ||
let [counter,setCounter]=useState(0) |
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.
Can we give more meaningful names to these states like: keyCounter
and something more apt for new_array
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.
Just some nit fixes are needed in naming the variables. Also, I need to take a proper look at your added comment. Rest everything seems fine to me.
Can you also add a demo video as a proof of working?
Hi, I have renamed the variables, and my prettier have added some auto formatting, that wont have impact on the application. changed single quote to double quote that is all, 9c819518-4870-4bd5-93fb-b4f32db959dc.mp4l |
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.
Although it won't have any effect on the application still we want the codebase to be consistent throughout. Please make sure you revert all the formatting changes from this PR. You can take your time, no rush.
changed the quotes, and semi colon. although its a good convention to include semi-colon and double quotes to strings and single quotes for jsx , thanks :-) |
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.
Some of the formatting changes are still not reverted like semicolons and commas. Please make sure those are reverted too.
Added Keyboard search functionality,User can search for a keyword and from the suggestion list user can fill the input with up and down arrow keys.