BioDrop icon indicating copy to clipboard operation
BioDrop copied to clipboard

[FEATURE] Keyboard Shortcut for search page

Open Mohith234 opened this issue 3 years ago • 12 comments

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

Mohith234 avatar Jun 03 '23 15:06 Mohith234

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

github-actions[bot] avatar Jun 03 '23 15:06 github-actions[bot]

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

github-actions[bot] avatar Jul 16 '23 19:07 github-actions[bot]

I would like to work on this

Mohith234 avatar Jul 16 '23 19:07 Mohith234

I would like to work on this

@Mohith234 I have assigned this to you

SaraJaoude avatar Jul 18 '23 07:07 SaraJaoude

@Mohith234 how are you getting on?

SaraJaoude avatar Jul 28 '23 08:07 SaraJaoude

@Mohith234, On which page/route should this feature be added?

Ashish-simpleCoder avatar Jul 30 '23 07:07 Ashish-simpleCoder

@Mohith234 due to lack of activity for two weeks I have unassigned this from you

SaraJaoude avatar Aug 14 '23 07:08 SaraJaoude

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

hankadev avatar Aug 15 '23 13:08 hankadev

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.

SaraJaoude avatar Aug 16 '23 16:08 SaraJaoude

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.

EmmaDawsonDev avatar Aug 16 '23 19:08 EmmaDawsonDev

@SaraJaoude @EmmaDawsonDev Thanks for the clarification :+1:

hankadev avatar Aug 17 '23 06:08 hankadev

Thank you @EmmaDawsonDev 👍

@hankadev I have updated the title and description

eddiejaoude avatar Aug 17 '23 08:08 eddiejaoude