Skip to content

feat: enable Cmd+K shortcut when caps lock is on#1590

Merged
shortcuts merged 3 commits into
algolia:mainfrom
lex111:patch-2
Oct 23, 2022
Merged

feat: enable Cmd+K shortcut when caps lock is on#1590
shortcuts merged 3 commits into
algolia:mainfrom
lex111:patch-2

Conversation

@lex111

@lex111 lex111 commented Oct 6, 2022

Copy link
Copy Markdown
Contributor

The search shortcut should be work if even caps lock is on

cc @shortcuts

@netlify

netlify Bot commented Oct 6, 2022

Copy link
Copy Markdown

Deploy Preview for docsearch ready!

Name Link
🔨 Latest commit cc8688b
🔍 Latest deploy log https://app.netlify.com/sites/docsearch/deploys/6354eeb5707bb600097c53ba
😎 Deploy Preview https://deploy-preview-1590--docsearch.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@lex111

lex111 commented Oct 22, 2022

Copy link
Copy Markdown
Contributor Author

friendly ping for @francoischalifour @shortcuts

@shortcuts shortcuts left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! It make sense to me, plus it's also how it works for websites that offers command palette (e.g. GitHub).

Would you mind adding a test here? https://github.com/algolia/docsearch/blob/main/cypress/integration/search/actions.spec.ts#L18

@lex111

lex111 commented Oct 23, 2022

Copy link
Copy Markdown
Contributor Author

Oh yes, just added them.

@shortcuts shortcuts changed the title fix: enable Cmd+K shortcut when caps lock is on feat: enable Cmd+K shortcut when caps lock is on Oct 23, 2022
@shortcuts

Copy link
Copy Markdown
Member

Oh yes, just added them.

Thanks!! Will release the new version on Monday!

@shortcuts shortcuts merged commit d13ded1 into algolia:main Oct 23, 2022
@lex111

lex111 commented Oct 25, 2022

Copy link
Copy Markdown
Contributor Author

@shortcuts you didn't forget about the new release?

@shortcuts

Copy link
Copy Markdown
Member

@shortcuts you didn't forget about the new release?

image

.... no @lex111

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