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

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

Merged
merged 3 commits into from Oct 23, 2022

Conversation

lex111
Copy link
Contributor

@lex111 lex111 commented Oct 6, 2022

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

cc @shortcuts

@netlify
Copy link

netlify bot commented Oct 6, 2022

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

lex111 commented Oct 22, 2022

friendly ping for @francoischalifour @shortcuts

Copy link
Member

@shortcuts shortcuts left a comment

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

lex111 commented Oct 23, 2022

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

lex111 commented Oct 25, 2022

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

@shortcuts
Copy link
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.

None yet

2 participants