t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Keybindings using '+' render two blank keycap pills in Settings > Keybindings

Open AymanKhan9 opened this issue 2 weeks ago • 0 comments

Before submitting

  • [x] I searched existing issues and did not find a duplicate.
  • [x] I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Start T3 Code and open Settings → Keybindings.
  2. Scroll to Preview & diff (or search for preview.zoom).
  3. Look at the first Preview: Zoom In row (whose default binding is mod++ in packages/shared/src/keybindings.ts).

Expected behavior

The shortcut renders two keycap pills: Ctrl and + (or ⌘ and + on macOS).

Actual behavior

KeybindingPill in apps/web/src/components/settings/KeybindingsSettings.tsx splits the serialized row.key string ("mod++") on "+", producing ["mod", "", ""], which renders Ctrl followed by two empty keycap boxes instead of +. Any custom binding using + (such as + or mod+shift++) is affected the same way.

Impact

Minor bug or occasional failure

Version or commit

main @ 5fc2eb2f47

Environment

Linux, Chromium (web client via vp run dev)

Screenshots

Preview: Zoom In rendering two empty keycap pills

Settings > Keybindings full view before fix

AymanKhan9 avatar Nov 22 '26 11:11 AymanKhan9