-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
Show key bindings on hover #438
Comments
Also, if you like the idea I'd love to try it out myself, though I don't have much experience with webdev myself. |
I started toying with this and is this along the lines of what you're thinking? 2022-12-06_13-16-34.mp4I added a |
@bennettscience thanks for picking up this one :) I do think it is a pretty good idea to have the keybindings presented close to the function itself. But I also share your worries about a direct hover being too intrusive. In my opinion it is, especially if there is no delay between entering the button with your mouse and showing the hover box. Also a simple N as the content is not self explanatory in my opinion. In fact I think we should stick to the standard here, which is an actual tool tip, set by the We also should continue sticking to present the actual action behind the button and adding the shortcut in brackets, like Google does it in Drive. It takes roughly a second before it appears, so users can avoid seeing it, if they already know what's behind the function. In your example that would be What do you think? |
I could go either way. I think the animated tips look more like a native
app and electron just provides the wrapper. The `title` tags can still be
included and help with the accessibility piece. I'll look at some more
samples and see if we can find a middle ground.
That said, I've never used Electron and while I was adding bindings to the
menu UI, it would double-fire the event (keybindings worked fine without
the `accelerator` key set. When I set that key, the event would trigger
multiple times). I might take a look at event handling to see if that could
be handled a little different to allow for the menus to include the
keybindings as well.
…On Tue, Dec 6, 2022, 2:17 PM ransome ***@***.***> wrote:
Assigned #438 <#438> to
@bennettscience <https://github.com/bennettscience>.
—
Reply to this email directly, view it on GitHub
<#438 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA5SY6SF7M6IQA2FKRAS4E3WL6GNVANCNFSM6AAAAAARYPSYMQ>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
Here's another idea I had this morning. Leaving the 2022-12-07_09-39-31.mp4This allows for:
|
@bennettscience I like that, it's helpful and not intrusive :) We can reuse this on another thing that came up some time ago. Somebody was asking for a feature which would help him or her to create several todos in a row without the modal being closed. We could achieve this with the I also like the idea of using Electrons I still believe we should add the keybinding to the title tag somehow. But that would need to happen dynamically, as it all comes out the translation files. And I don't think we should put the shortcuts into those files. In general the keyboard cuts are an essential feature of sleek, which help users significantly. And I need to admit, I have not give those shortcuts the most attention recently. Really glad you're working on it. |
This is an automated response. We acknowledge your report, and we appreciate your engagement. However, as there has been no recent activity in this thread, it has been marked as stale. If you have any further feedback or if the matter is still relevant, please do not hesitate to respond. Otherwise, this thread will be automatically closed in 15 days from now. |
Did you check if a similar feature request has already been reported?
Please do so first: https://github.com/ransome1/sleek/issues
(hope I haven't missed it xoxo)
Is your feature request related to a problem? Please describe.
I currently start to migrate from paper todos to this tool and love it so far. But I am sometimes still unsure whether a key binding exist as an alternative for a specific action.
Describe the solution you'd like
That, on hovering a button, it shows the equivalent binding, i.e. showing
n
when hovering over adding a new item.Describe alternatives you've considered
None, think this the canonical way.
The text was updated successfully, but these errors were encountered: