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

Per-key tooltips #2289

Open
rpnfan opened this issue May 29, 2024 · 7 comments
Open

Per-key tooltips #2289

rpnfan opened this issue May 29, 2024 · 7 comments

Comments

@rpnfan
Copy link

rpnfan commented May 29, 2024

Add option to allow entering a tooltip in the Agent GUI for mapped keys and as well for macros, to be displayed in Agent. See the forum post https://forum.ultimatehackingkeyboard.com/t/feature-request-allow-adding-notes-to-key-mappings-in-agent/744/6?u=rpnfan

@mondalaci
Copy link
Member

I think this feature is too niche and isn't worth the effort and the extra UI space, but I keep it open so others can see and upvote it.

@kriker97
Copy link

I vote for this feature in the agent. It would it be nice to have something like that, I tend to forget what the purpose was being for, when I create a macro after certain time. It could work very well to keep our macros in order.

@ubuntudroid
Copy link

Oh yes, please please please add something like this!!! ❤️ I configure my keyboard only once every few months and when deciding which rarely used mapping to replace with a new one or how to re-order existing mappings such notes would help a ton!

@mondalaci mondalaci changed the title Add option for tooltips Per-key tooltips Jun 27, 2024
@mondalaci
Copy link
Member

I'm ready with the specification.

image

Notice the button leftward of Cancel. It's a toggle button containing the note Font Awesome icon. When toggling it on, the note field appears:

image

  • Make the note field two rows large by default and enlarge it as the user adds more lines.
  • Display a tooltip when hovering over the note button containing "Add a note to this key." vs "Remove note." according to its state.
  • Make the toggled/untoggled state of the note button visible.
  • Reduce the vertical space between the Modifiers and Secondary role rows so it's the same as between the Scancode and Modifiers rows.

dde844825204feeeece92f8ad7013e0b5751c88e

  • Place the triangle marker underneath the rendered key mapping so it won't cover the mapping.
  • Rendering the triangle on non-rectangular keys will be tricky. I suggest specifying an (x,y) translation and rotation for the affected keys in the SVGs to be used by Agent.
  • When hovering a key that contains a note, show its note in a tooltip.

Related firmware issue: UltimateHackingKeyboard/firmware#788

@rpnfan
Copy link
Author

rpnfan commented Jun 28, 2024

Thanks a lot. That looks great :-)

@ajh3
Copy link

ajh3 commented Oct 16, 2024

I would also like tooltips on the keymap screen, mainly for macros. My suggestion was going to be tooltips with the full macro name, since right now it's truncated to what can be displayed on each key icon. If you don't think this would overcomplicate things, maybe there could be a checkbox that makes the note equal to the macro title? Just a note would be a lot better than nothing, though. Thank you!

@mondalaci
Copy link
Member

Maybe we can add a general option that'd expand actions, such as macros in tooltips upon hover, but I'm unsure how widely it'd be used as it hasn't been requested yet. In any case, I wouldn't mix the suggested feature with this one.

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

No branches or pull requests

5 participants