mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-04 21:23:07 +00:00
- Added a new keyboard shortcut 'P' to open the project picker dropdown.
- Implemented functionality to select projects using number keys, allowing users to quickly switch between projects.
- Updated the feature list to include a new feature for project selection via keyboard shortcuts.
- Removed obsolete coding_prompt.md and added initializer_prompt.md for better session management.
- Introduced context management for features, enabling reading, writing, and deleting context files.
- Updated package dependencies to include @radix-ui/react-checkbox for enhanced UI components.
This commit enhances user experience by streamlining project selection and improves the overall feature management process.
🤖 Generated with Claude Code
86 lines
2.7 KiB
Markdown
86 lines
2.7 KiB
Markdown
📋 Planning implementation for: I want the ability to press P which will automatically select my projects drop down and show all my projects. And then for each one, put a hotkey in the left that says 12345 and selecting one of those with my keyboard should automatically select that project.
|
|
|
|
⚡ Executing implementation for: I want the ability to press P which will automatically select my projects drop down and show all my projects. And then for each one, put a hotkey in the left that says 12345 and selecting one of those with my keyboard should automatically select that project.
|
|
|
|
Starting code implementation...
|
|
|
|
🔧 Tool: Glob
|
|
Let me search for more specific project files:
|
|
🔧 Tool: Glob
|
|
|
|
🔧 Tool: Read
|
|
|
|
🔧 Tool: Read
|
|
|
|
🔧 Tool: Read
|
|
Now let me read the keyboard shortcuts hook to understand the current shortcut system:
|
|
🔧 Tool: Read
|
|
|
|
🔧 Tool: Read
|
|
Now I have a good understanding of the codebase. Let me check if there are existing tests to understand the testing pattern:
|
|
🔧 Tool: Glob
|
|
|
|
🔧 Tool: Glob
|
|
|
|
🔧 Tool: Bash
|
|
|
|
🔧 Tool: Bash
|
|
|
|
🔧 Tool: Read
|
|
|
|
🔧 Tool: Bash
|
|
|
|
🔧 Tool: Read
|
|
Now I have a good understanding of the codebase. Let me implement the feature:
|
|
|
|
1. Press "P" to open the project selector dropdown
|
|
2. Show hotkeys (1-5 or up to available projects) next to each project option
|
|
3. Pressing a number key selects that project
|
|
|
|
Let me first add the necessary shortcut and then update the sidebar component:
|
|
🔧 Tool: TodoWrite
|
|
|
|
🔧 Tool: Edit
|
|
|
|
🔧 Tool: TodoWrite
|
|
Now let me update the sidebar to implement the full functionality. I need to:
|
|
1. Add state to control the dropdown open state
|
|
2. Add keyboard shortcut for "P" to open the dropdown
|
|
3. Handle number key selection when dropdown is open
|
|
4. Display hotkey indicators in the dropdown items
|
|
🔧 Tool: Edit
|
|
Now let me add the state for the dropdown and the keyboard handling:
|
|
🔧 Tool: Edit
|
|
Now I need to add the keyboard event handler for when the dropdown is open to handle number keys, and add the 'P' key shortcut:
|
|
🔧 Tool: Edit
|
|
Now I need to update the DropdownMenu to use controlled state and add hotkey indicators:
|
|
🔧 Tool: Edit
|
|
|
|
🔧 Tool: TodoWrite
|
|
Now let me update the utils.ts file to add helpers for testing this feature and then write the tests:
|
|
🔧 Tool: Edit
|
|
Now let me write the Playwright tests:
|
|
🔧 Tool: Write
|
|
Now let me run the tests to verify the feature works:
|
|
🔧 Tool: Bash
|
|
The server seems to be blocked. Let me try a different port or reuse existing server:
|
|
🔧 Tool: Bash
|
|
|
|
🔧 Tool: Bash
|
|
The server is already running. Let me use the reuse flag:
|
|
🔧 Tool: Bash
|
|
|
|
🔧 Tool: BashOutput
|
|
|
|
🔧 Tool: BashOutput
|
|
|
|
🔧 Tool: Bash
|
|
|
|
🔧 Tool: BashOutput
|
|
|
|
🔧 Tool: Bash
|
|
|
|
🔧 Tool: BashOutput
|
|
|
|
🔧 Tool: Bash
|