You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(hotkeys): add toggle_telegram default, support modifier combos, and fix remapping #75
Multiple defects affect keyboard shortcut configuration and execution:
toggle_telegram is missing from DEFAULT_HOTKEYS (app/config.py:129-142) and DEFAULTS (web/js/settings.js:500-513). Focusing and blurring the toggle_telegram input in Settings -> Hotkeys writes literal "undefined" into the input (settings.js:596).
initHotkeys() (web/js/app.js:510) returns immediately whenever ctrlKey/altKey/metaKey is held and the recorder ignores modifiers, making documented shortcuts like Ctrl+Shift+T impossible.
web/js/app.js:525,603,639 and web/js/tape.js:81 hardcode || e.key === " ", || e.key === "Enter", and || e.key === "Escape", causing original keys to keep firing even after remapping.
Open Settings -> Hotkeys, click the Toggle Telegram Alerts shortcut box, then click outside -> box shows undefined.
Press Ctrl+Shift+T on the main window -> Telegram toggle is ignored.
Remap pause_tape to P, save, and press Space -> Tape still pauses.
Expected Behavior
Include toggle_telegram in default hotkeys (e.g. Ctrl+Shift+T), support recording and matching modifier combinations (Ctrl+, Alt+, Shift+), fix onblur fallback to "", and respect remapped keys without hardcoded Space/Enter/Escape bypasses.
Operating System & Version
OS: Windows 11 x64 / macOS arm64 / Linux x86_64
Version: v2.12.0
Display / Scale: Verified via live Chrome CDP (1600x960) & local unit/backend suite
Logs & Additional Context
Live Chrome CDP verified valAfterBlur: 'undefined' and Ctrl+Shift+T ignored.
Summary of Changes: Added toggle_telegram: 'Ctrl+Shift+T' to DEFAULT_HOTKEYS (app/config.py) and web/js/settings.js, fixed onblur'undefined' bug, implemented full modifier-combo recording & matching in web/js/app.js and web/js/tape.js, and removed hardcoded Space/Enter/Escape bypasses. Verified live in Chrome CDP.
Verification: compileall clean, 84/84 unit tests passing (including tests/test_audit_fixes.py), and live Chrome CDP verification passed.
This issue will automatically close upon PR #82 review and merge into main.
Activity
github-actions commentedon Dec 2, 2026
✅ Issue Validation Passed
fix(hotkeys))This issue is well-structured and ready for work according to the Issue-First Protocol.
mlgitdev commentedon Dec 2, 2026
🚀 Resolution In Progress
A fix for this issue has been implemented and submitted in Pull Request #82 (
v2.12.1).fix/audit-remediation-67toggle_telegram: 'Ctrl+Shift+T'toDEFAULT_HOTKEYS(app/config.py) andweb/js/settings.js, fixedonblur'undefined'bug, implemented full modifier-combo recording & matching inweb/js/app.jsandweb/js/tape.js, and removed hardcodedSpace/Enter/Escapebypasses. Verified live in Chrome CDP.compileallclean, 84/84 unit tests passing (includingtests/test_audit_fixes.py), and live Chrome CDP verification passed.This issue will automatically close upon PR #82 review and merge into
main.