Skip to content

feat: add per-key notes with keyboard tooltips - #3050

Merged
mondalaci merged 3 commits into
masterfrom
feat/per-key-tooltips-2289
Aug 8, 2026
Merged

feat: add per-key notes with keyboard tooltips#3050
mondalaci merged 3 commits into
masterfrom
feat/per-key-tooltips-2289

Conversation

@mondalaci

Copy link
Copy Markdown
Member

Summary

  • Add per-key notes in the remap popover (sticky-note toggle, auto-growing textarea) and persist them via trailing KeyLabelAction serialization
  • Show a top-right corner marker on keys that have notes, with an optional SVG data-note-marker-transform for non-rectangular keys
  • Display a compact hover tooltip with the note text on the keymap editor

Closes #2289

Test plan

  • Open a key remap popover, toggle the note button, confirm the textarea appears focused and the button tooltip switches between “Add a note to this key.” / “Remove note.”
  • Enter a multi-line note, remap the key, reopen the popover and confirm the note is restored
  • Confirm keys with notes show a rounded corner marker and hovering shows a centered tooltip with an upward arrow
  • Toggle the note off, remap, and confirm the marker/tooltip disappear
  • Save config to the device (or export/import) and verify notes survive round-trip
  • Check Modifiers ↔ Secondary role spacing matches Scancode ↔ Modifiers spacing

Made with Cursor

Allow adding notes to key mappings in the remap popover, persist them via KeyLabelAction, and show a corner marker plus hover tooltip on the keymap.

Co-authored-by: Cursor <cursoragent@cursor.com>
mondalaci and others added 2 commits August 9, 2026 00:21
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@mondalaci
mondalaci merged commit 5088d9d into master Aug 8, 2026
6 checks passed
@mondalaci
mondalaci deleted the feat/per-key-tooltips-2289 branch August 8, 2026 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Per-key tooltips

1 participant