Repository navigation
Prevent handled title events from submitting through the dialog shortcut - #3389
Merged
Merged
Conversation
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚨 SLOP COP 🚨 ·
new-issue-autopilotHuman comments
What was wrong
The new-task title input submits an Enter event that bubbles to the dialog's Ctrl/Meta+Enter handler. Both handlers see the same render-time submission state and send a createTask request. Reproduction report.
What changed
Stop propagation after the title input handles Enter. Add four regression cases covering Ctrl+Enter, Meta+Enter, plain Enter, and Ctrl+Enter in the due-date field. The change stays within Tasks: 60 changed text lines (60 additions, 0 deletions), two files.
How you verified
04f4e6a21c1efa6d82d9d62a094b87796c36439c: the two modified-Enter title cases failed with 2 requests instead of 1; both controls passed.pnpm exec turbo run test typecheck --filter=bb-plugin-tasks: all 368 tests in 35 files passed, along with typecheck.git diff --checkand working-tree/push-range EAP scans were clean. No binary, dependency, generated, or stored-data changes.Fixes #3385