Add number key toggle for output modal

When the output modal is open:
- Pressing the same number key closes the modal
- Pressing a different number key switches to that feature's output

Also adds test utilities for testing number key interactions and fixes
the setupMockProjectWithInProgressFeatures utility to properly set
__mockFeatures for the mock electron API.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Cody Seibert
2025-12-09 08:57:41 -05:00
parent 9a6e6ea594
commit 2d8f600209
4 changed files with 111 additions and 3 deletions

View File

@@ -32,8 +32,7 @@
"category": "Kanban",
"description": "When I edit a card, it's showing an input for the description refactor to also show a text area for description like we do on the add card, add feature card.",
"steps": [],
"status": "in_progress",
"startedAt": "2025-12-09T13:48:07.718Z"
"status": "in_progress"
},
{
"id": "feature-1765287613626-z01cksyg6",
@@ -55,5 +54,12 @@
"description": "Can you please add a shortcut for starting a new session?",
"steps": [],
"status": "verified"
},
{
"id": "feature-1765288315355-ihrm3jz83",
"category": "Kanban",
"description": "Can you please refactor it so if I were to press one of the number keys on my keyboard when the output modal is open, just go ahead and auto collapse it if it was the same number that I had open. If I were to press a different number on my number key, don't actually close it again.",
"steps": [],
"status": "verified"
}
]
]