Skip to content

Conversation

sarub0b0
Copy link
Owner

@sarub0b0 sarub0b0 commented Oct 19, 2025

$(cat <<'EOF'

Summary

  • Fixed an issue where uppercase input (Shift+key combinations) was blocked in the InputForm widget
  • This regression was introduced in PR feat: add option to preserve namespaces when switching contexts #853 when adding Ctrl+Space support with strict modifier key checking
  • While Kubernetes resource names use lowercase only, this fix ensures the UI component behaves as expected for general text input

Changes

  • Changed key modifier check from key.modifiers == KeyModifiers::NONE to !key.modifiers.intersects(KeyModifiers::CONTROL | KeyModifiers::ALT)
  • This allows Shift key combinations while still blocking Control and Alt key shortcuts

Test plan

🤖 Generated with Claude Code

When PR #853 added modifier key checking for Ctrl+Space support,
it inadvertently blocked Shift key combinations, preventing uppercase
input. This change allows Shift key modifiers while still blocking
Control and Alt key combinations, enabling uppercase character input
while preserving existing keyboard shortcuts.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@sarub0b0 sarub0b0 merged commit 7c31c81 into main Oct 19, 2025
1 check passed
@sarub0b0 sarub0b0 deleted the fix-input-uppercase branch October 19, 2025 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant