Show Caps Lock indicator in SSH password prompt - #2840
Conversation
WalkthroughThis pull request adds Caps Lock detection functionality to the user input modal component. A new state variable tracks whether Caps Lock is active, with event handlers on onKeyDown and onKeyUp that detect the Caps Lock status. When Caps Lock is detected and the input is not in public text mode, a warning message displays below the input field. The changes also include minor formatting adjustments to the checkbox label element and updated useEffect dependencies to include the new handler function. Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
- wavetermdev#3421: ssh agent forwarding (ForwardAgent / ssh:forwardagent) 005-ssh-agent-forwarding.patch — 7 files - wavetermdev#3460: recover durable SSH sessions stuck falsely-attached 006-ssh-durable-session-recovery.patch — 6 files - wavetermdev#3401: wrap agent signers for identity failover on signing failure 007-ssh-agent-signer-failover.patch — 2 files - wavetermdev#2840: caps lock indicator in SSH password prompt 008-ssh-capslock-indicator.patch — 1 file All 4 patches apply cleanly in sequence (005-008) on top of existing patches (001-004). Go build, Go tests, and frontend build all pass. Idempotency verified for all patches. Updated PATCHED_FILES (16 → 28 files), ALREADY_INTEGRATED, workflow commit message, and FORK-STRATEGY.md. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Update ALREADY_INTEGRATED and PATCHED_FILES for: - wavetermdev#3421 ssh agent forwarding - wavetermdev#3460 durable SSH session recovery - wavetermdev#3401 ssh agent signer failover - wavetermdev#2840 caps lock indicator Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
When entering an SSH password, there is no indication if Caps Lock is enabled, which can lead to failed attempts.
This adds a small Caps Lock indicator to the SSH password input.
The change is scoped only to the password prompt and does not affect behavior.