Skip to content

Add keyboard shortcuts to menu components #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from

Conversation

gabadi
Copy link
Contributor

@gabadi gabadi commented Jun 23, 2025

Summary

Add keyboard shortcuts to Menu and Configuration components to reduce navigation keystrokes.

Description

Problem

Current menu navigation requires arrow keys + Enter for every action, making common operations slower than necessary.

Solution

Added single-key shortcuts to menu components:

  • Menu: N (New), M (Merge), D (Delete), C (Config), Q (Quit)
  • Configuration: S (Shortcuts), H (Hooks), W (Worktree), C (Command), B/Esc (Back)

Implementation

  • Added useInput hooks to existing components
  • Maintained full backward compatibility with arrow navigation
  • Added hotkey hints display at bottom of menus

Testing

  • Build and lint checks pass
  • Manual testing verified functionality
  • Arrow key navigation still works

This PR simplifies #22 by focusing only on essential menu hotkeys without additional complexity.

Reference: Replaces #22 with a minimal approach addressing the core navigation efficiency need.

gabadi and others added 7 commits June 22, 2025 03:46
Add comprehensive user story for implementing dual-mode terminal
functionality that allows switching between Claude Code and Bash
within CCManager sessions using Ctrl+T shortcut.

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

Co-Authored-By: Claude <[email protected]>
Add comprehensive BMAD (Business Modeling and Agent Development)
framework with agent definitions, workflows, and expansion packs for:

- Core agent framework (.bmad-core/)
- Claude Code integration (.claude/)
- Game development expansion pack
- Infrastructure/DevOps expansion pack
- Story implementation workflows
- Expansion pack creation tools

This provides structured AI agent workflows for software development,
project management, and specialized domains.

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

Co-Authored-By: Claude <[email protected]>
docs: add dual-mode terminal feature user story
Add single-key shortcuts to reduce navigation keystrokes:
- Menu: N-New, M-Merge, D-Delete, C-Config, Q-Quit
- Configuration: S-Shortcuts, H-Hooks, W-Worktree, C-Command, B/Esc-Back

Maintains full backward compatibility with existing arrow key navigation.

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

Co-Authored-By: Claude <[email protected]>
@gabadi gabadi closed this Jun 23, 2025
@gabadi gabadi deleted the feature/simple-menu-hotkeys branch June 23, 2025 18:01
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