-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Improve letterpress shortcuts #12716
Comments
Is this Windows? (The keybindings display better on OSX, will need to check why.)
We picked the commands by looking at which are used the most, yet not trivial like clipboard actions. |
Also on OS X it looks odd as the format is something like: this or that or these. It would look much better if each shortcut is isolated visually instead of grammatically.
|
@joaomoreno you mentioned style; what would you like to see different? |
For new users, it would be nice to have the most essential commands only. Chances are they are not going to remember about the moving lines up/down right away and stuff. It would be cool if down the road we could progressively introduce more advanced commands that may keep this area fresh and useful. |
@bgashler1 Notice the screenshot in the first post. Something like Ctrl Shift P F1 is so much better than something like Ctrl+Shift+P, F1. |
@joaomoreno ah, I see. I personally like the kbd tag as well. We had something kind of like that an earlier draft. Not sure what you think... But I think some of the team preferred just the text. Maybe your darker approach would be more appealing to them, though. On a side note, shouldn't it be Ctrl+Shift+P or F1 instead of each keybinding appearing together in one whole |
I really don't think it should. I would save separation for chording. |
|
Please don't keep it as is. At least use a monospace font. |
@joaomoreno IMO, I don't think the monospaced font looks quite right. Also we are using Segoe UI font in the command palette Which also is partly why we ended up not including the block background behind the keys in the initial implementation of this (even though it was originally designed as such, as shown in above comment). However, here's what it looks like with the block decorations. You'll notice the decorations had to be darker than the empty workspace (for accessibility reasons we cannot afford any less contrast on the text, or else it's not compliant). This color is actually the same color as the letterpress. Do we want to go forward with this? @chrisdias, if I remember right, I think you originally wanted just the plain text. @bpasero care to chime in? If we do want to do this, I would need @chrmarti to put in some logic that puts spans around each keybinding (not the "/"s) and the spans' class could be named say "keybinding-block". Then the decoration CSS is
And we would adjust the table's border spacing to |
Right about monospace! Love your last screenshot! |
The contrast between block decorations and keybindings is too low for me to be useful. If we want to add these, I'd suggest to find a way to increase that. |
Fixed the letter-spacing on Windows and Linux. No further action planned for September. Thanks. |
First:
Open File in Folder
mean? Why notQuick Open
?Move Lines Up/Down
in there? As a matter of fact, why areAdd Cursors
andOpen Terminal
too? We should just give the user the essential to get started, not random commands that make us look cool.Finally, a little bit of styling care goes a long way:
The text was updated successfully, but these errors were encountered: