Shortcuts with numpad keys show as "Ctrl+num1" and "⌃NUMADD"
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 88/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- electron, react, typescript
- Domain
- desktop, developer-experience
Research direction
Start with formatAccelerator in src/shared/accelerator.ts and the existing cases in tests/accelerator.test.ts; compare the macOS and Windows formatting paths for numpad names and longer keys. Add coverage for numpad keys on both platforms, preserve uppercase single letters and the case of longer names, then run pnpm test.
Written by the indexing model from the issue text.
Description
You can record a shortcut that uses the numeric keypad, but Settings, the tray menu and the empty shelf then show Electron's internal key names:
| Recorded | macOS shows | Windows and Linux show |
|---|---|---|
| Control + keypad 1 | ⌃NUM1 |
Ctrl+num1 |
| Control + keypad + | ⌃NUMADD |
Ctrl+numadd |
| Control + Insert | ⌃INSERT |
Ctrl+Insert |
Where to look
src/shared/accelerator.ts:formatAccelerator. On macOS it upper-cases any key it has no symbol for, which is meant for single letters (v→V) but also catchesnum1andInsert.keyFromCodeshows every numpad name it can record:num0–num9,numadd,numsub,nummult,numdivandnumdectests/accelerator.test.ts: theformatAcceleratortests
Done when
- Numpad keys read as something like
Num 1andNum +on every platform, so⌃Num 1andCtrl+Num +. If you prefer another readable form, explain it in the pull request - Longer key names keep their own case on macOS (
⌃Insert,⌃F13), while single letters are still upper-cased - Tests cover numpad keys on macOS and Windows, and
pnpm testpasses
Suggested pull request title: fix(settings): show numpad keys readably in shortcuts
New to OpenPaste? CONTRIBUTING.md covers setup, the code conventions and the checks to run before a pull request (pnpm typecheck, pnpm test, pnpm format, pnpm cleaner). Leave a comment if you're picking this up so nobody doubles up.
Generated by Claude Code
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from alexsilver8/openpaste
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
alexsilver8/openpaste#31 ·
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
alexsilver8/openpaste#32 ·
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
alexsilver8/openpaste#29 ·
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
alexsilver8/openpaste#27 ·
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
alexsilver8/openpaste#28 ·
All issues in alexsilver8/openpaste
Similar issues
-
e2e-failure ready-to-code
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
redhat-developer/rhdh-plugin-export-overlays#4391 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Luligu/matterbridge#655 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
software-mansion/argent#1457 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
schmayterling/hibi#245 ·
Maintainers usually reply within 1 day
-
After a failed save, the red error banner stays on every page until the app is reloadedPossibly taken A pull request linked to this issue is open or already merged. Openai-driven-qa bug claude Minor
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
linagora/twake-contacts-frontend#241 ·
Maintainers usually reply within 1 day