Replies: 6 comments 29 replies
-
Beta Was this translation helpful? Give feedback.
-
@samejr none of the above examples have a clear way that shows how we can change shortcuts and I think that's less than desirable from a UX perspective |
Beta Was this translation helpful? Give feedback.
-
@samejr This is how the app is looking currently with the panel open (ignore the blue line around the panel, i just need to add outline:none in the CSS) it closes when you press escape or when you click outside of the modal |
Beta Was this translation helpful? Give feedback.
-
@samejr This is the all new shortcut panel in dark mode! |
Beta Was this translation helpful? Give feedback.
-
@samejr @ericallam this is the PR for the Custom keyboard shortcuts #68 |
Beta Was this translation helpful? Give feedback.
-
Keyboard shortcuts – design and functionality
I want to start a discussion about how we could implement nice keyboard shortcuts UI into JSON Hero. Below are some of the considerations so far and it'd be great to get some more input from people who use them regularly, on both PC and Mac platforms.
How should the list of shortcuts look?
There seems to be a convention in a lot of products that show a clean, clear list of actions alongside the shortcut keys presented as key icons. Here are a few examples from various apps:
Invision's Freehand tool:
Linear:
Figma:
Slack app:
Evernote app:
How would you access the list of shortcuts?
There a bunch of places a shortcuts panel could be accessed from. Here are the 2 of the more sensible spots IMO. Option 2. below is my favourite. Accessing the shortcuts panel would itself be accessed with a shortcut key of course.
Customising shortcuts
This seems to be typically a very nice but pro-feature not included in many popular web apps but I've included it here as some users might like to consider it as more of a priority. The functionality for editing is typically embedded into shortcuts panel itself. Here are some examples:
Cleanshot:
Xcode:
https://user-images.githubusercontent.com/7555566/167253430-2694fb4c-b2f0-4b77-ac4a-3a110ee2c647.mp4
VS Code:
https://user-images.githubusercontent.com/7555566/167253452-33652868-6071-4161-a678-83e28994b5f2.mp4
If anyone would like to take a look at a UI design or contribute to the UX discussion here, we are open to suggestions and contributions. 😄
Beta Was this translation helpful? Give feedback.
All reactions