[FEATURE] Keyboard Shortcut for search page
Description
Adding a Keyboard Shortcut in order to directly go to the search box
When focused on something else (not input box) on the search page then pressing Ctrl + K on windows and Cmd + K on mac should move the focus to the search box.
Screenshots
No response
Additional information
- I would like to work on this issue
To reduce notifications, issues are locked until they are https://github.com/EddieHubCommunity/LinkFree/labels/%F0%9F%8F%81%20status%3A%20ready%20for%20dev and to be assigned. You can learn more in our contributing guide https://github.com/EddieHubCommunity/LinkFree/blob/main/CONTRIBUTING.md
The issue has been unlocked and is now ready for dev. If you would like to work on this issue, you can comment to have it assigned to you. You can learn more in our contributing guide https://github.com/EddieHubCommunity/LinkFree/blob/main/CONTRIBUTING.md
I would like to work on this
I would like to work on this
@Mohith234 I have assigned this to you
@Mohith234 how are you getting on?
@Mohith234, On which page/route should this feature be added?
@Mohith234 due to lack of activity for two weeks I have unassigned this from you
@SaraJaoude I this is still for grabs, I would like to work on this.
I guess the "Ctrl + K" should work whenever the "Search" in navigation is shown and it should trigger going to /search route? :thinking:
Yes absolutely @hankadev I will assign this to you.
As to your question - thanks for raising - I think it is when you are on the search page already it changes focus to the search box. @EmmaDawsonDev what do you think?
Once we have a better understanding we can also update the title and description as it is not clear at the moment.
Yes, I'd say it's weird to be on a page without a search and control + K triggers a page redirect. That could be super confusing to users that might not be able to see the screen. I agree with Sara that this should just be on the /search page and if you are focused on something else then pressing Ctrl + K on windows and Cmd + K on mac should move the focus to the search box.
@SaraJaoude @EmmaDawsonDev Thanks for the clarification :+1:
Thank you @EmmaDawsonDev 👍
@hankadev I have updated the title and description