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: add keyboard shortcut helper link or button #2365

Merged
merged 3 commits into from
Aug 28, 2023

Conversation

shuuji3
Copy link
Member

@shuuji3 shuuji3 commented Aug 25, 2023

This adds an explicit link/button to show the keyboard shortcut helper panel. I tried to implement both but that's just to evaluate which one is better (will revert one of the commits later).

I saw some people commented somewhere (sorry, couldn't find the original comment) that they didn't notice the keyboard shortcut is supported by Elk. This link/button can help to find the feature.

Screenshot 2023-08-26 at 2 15 03 Screenshot 2023-08-26 at 2 14 54

@stackblitz
Copy link

stackblitz bot commented Aug 25, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@netlify
Copy link

netlify bot commented Aug 25, 2023

Deploy Preview for elk-docs canceled.

Name Link
🔨 Latest commit 0924910
🔍 Latest deploy log https://app.netlify.com/sites/elk-docs/deploys/64ecb4e07b7db2000821663b

@netlify
Copy link

netlify bot commented Aug 25, 2023

Deploy Preview for elk-zone ready!

Name Link
🔨 Latest commit 0924910
🔍 Latest deploy log https://app.netlify.com/sites/elk-zone/deploys/64ecb4e0a46828000878d590
😎 Deploy Preview https://deploy-preview-2365--elk-zone.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 configuration.

@shuuji3 shuuji3 force-pushed the feat/keyboard-shortcut-helper-link branch from 3aabe44 to 2a24e1d Compare August 25, 2023 18:02
@antfu
Copy link
Member

antfu commented Aug 26, 2023

Could we put it between Zen Mode and Spsonsors? I'd prefer to have the light/dark switch always on the left

@shuuji3
Copy link
Member Author

shuuji3 commented Aug 28, 2023

Sure, that's also reasonable to place a more frequently used button on the sides. This button becomes used less frequently as the user becomes familiar with the shortcuts.

@antfu antfu added this pull request to the merge queue Aug 28, 2023
Merged via the queue into elk-zone:main with commit 5ef2996 Aug 28, 2023
14 checks passed
@shuuji3 shuuji3 deleted the feat/keyboard-shortcut-helper-link branch August 28, 2023 15:44
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

3 participants