-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
Keyboard shortcuts & command menu #705
Conversation
β Deploy Preview for livecodes ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Deploying livecodes with Β
|
Latest commit: |
73cb1f4
|
Status: | Β β Β Deploy successful! |
Preview URL: | https://b640adc1.livecodes.pages.dev |
Branch Preview URL: | https://keyboard-shortcuts.livecodes.pages.dev |
A very useful feature! I believe this will be a great addition to the app π Here are some issues and suggestions on it: Potential Issues
Personal Suggestions
|
Thank you, @zyf722
I can reproduce that. I'll try to get a fix. Thank you.
I did not get that in my browser, but I can think of a reason. I'll try to fix.
That's a good suggestion. It was just easy to implement, without code duplication by filtering the commands based if they have shortcuts and put it in a single list.
I did not think of that.
I think I will leave it like this for now and revisit this suggestion later.
Good Idea! Thank you very much. |
This was a race condition with double event firing. Fixed.
This would be difficult to fix. The affected element is inside a web component with shadow DOM.
How about this? :)
I added that. In languages other than English, English text will be displayed beneath each command. It can be searched. I think this is much better. Thank you for the suggestions. |
I agree with not implementing this feature for now. It indeed needs extra effort and consideration to implement this feature.
It's fully acceptable. Tried with BrowserStack and it does have something to do with the browser version. I believe we can leave it as is for now. Thank you for your efforts to fix this.
Looks quite nice! Does the tip above change with other editors when selected by user, like CodeJar and CodeMirror?
Great! I think we could make it even more compact by removing the row gap and separator line between localized and English text. I believe the command palette will be more space-efficient this way. |
I use vscode key bindings extension for CodeMirror. So most of the shortcuts should also work.
The top border and top padding are removed (also using |
|
i18n ActionsSource PR has been merged into the default branch. Maintainers can comment |
.i18n-update-push |
i18n Actions:
|
Name | Description |
---|---|
New Branch for i18n | i18n/live-codes/keyboard-shortcuts |
Last Commit SHA | 4338676 |
Maintainers can comment .i18n-update-pull
after translation is done to trigger the i18n pull workflow and pull the changes back to Github.
.i18n-update-pull |
i18n Actions:
|
.i18n-update-pull |
i18n Actions:
|
Name | Description |
---|---|
i18n Branch | i18n/live-codes/keyboard-shortcuts |
Last Commit SHA | f90dbe9 |
i18n PR | #721 |
.i18n-update-pull |
This looks great. I'll try it asap. Well done ^_^/ |
Translation ES, FR, IT, JA, PT β Note TODO - Test if any < tag- > is missing or overriten that could break the layout! |
Welcome back @gigamaster :)
Thank you very much. That's great.
Could you notice any inconsistent behaviour?
It seems they are good. When I filter by "Inconsistent placeholders", I get no results. |
Obviously I'm still jetlagged and must have misread the +alt and +shift keyboard shortcuts |
What type of PR is this? (check all applicable)
Description
This PR adds
<kbd>
elements)Related Tickets & Documents
as discussed in #630
Mobile & Desktop Screenshots/Recordings
Added tests?
Added to documentations?
TODO: add to features section in docs[optional] Are there any post-merge tasks we need to perform?
translations
@zyf722 @gigamaster
Would you kindly have a look here at your convenience?
I'd like to know your general opinion, opinions about functionality, UI, selection of keyboard shortcuts and obviously if you find any issues.
Thank you.