Skip to content

add keyboard search feature - #63

Open
iamrahulrnair wants to merge 8 commits into
Sparsh1212:masterfrom
iamrahulrnair:new_branch
Open

iamrahulrnair wants to merge 8 commits into
Sparsh1212:masterfrom
iamrahulrnair:new_branch

Conversation

@iamrahulrnair

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

Comment thread src/components/AdvancedSearch.js Outdated
Comment on lines +48 to +49
const [new_array,setNew_array]=useState([])
let [counter,setCounter]=useState(0)

Copy link
Copy Markdown
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

@Sparsh1212 Sparsh1212 left a comment

Copy link
Copy Markdown
Owner

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
Copy Markdown
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

@Sparsh1212 Sparsh1212 left a comment

Copy link
Copy Markdown
Owner

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

iamrahulrnair commented Dec 15, 2021

Copy link
Copy Markdown
Contributor Author

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

@Sparsh1212 Sparsh1212 left a comment

Copy link
Copy Markdown
Owner

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.

This branch has not been deployed

No deployments
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.

2 participants