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

add keyboard search feature #63

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

iamrahulrnair
Copy link
Contributor

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.

@iamrahulrnair
Copy link
Contributor Author

Hi can i get a review on this please :-^

Comment on lines 48 to 49
const [new_array,setNew_array]=useState([])
let [counter,setCounter]=useState(0)
Copy link
Owner

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

Copy link
Owner

@Sparsh1212 Sparsh1212 left a 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?

@iamrahulrnair
Copy link
Contributor Author

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.mp4

l

Copy link
Owner

@Sparsh1212 Sparsh1212 left a 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.

@iamrahulrnair
Copy link
Contributor Author

iamrahulrnair commented Dec 15, 2021

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

Copy link
Owner

@Sparsh1212 Sparsh1212 left a 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.

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.

None yet

2 participants