Skip to content

Prevent handled title events from submitting through the dialog shortcut - #3389

Merged
SawyerHood merged 1 commit into
mainfrom
slopcop/issue-3385
Sep 10, 2026
Merged

SawyerHood merged 1 commit into
mainfrom
slopcop/issue-3385

Conversation

@bb-slop-cop

@bb-slop-cop bb-slop-cop Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

🚨 SLOP COP 🚨 · new-issue-autopilot

Human 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

  • Two clean checkouts of trusted main at 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.
  • After formatting, the management suite passed all 31 tests.
  • Full base build passed; git diff --check and working-tree/push-range EAP scans were clean. No binary, dependency, generated, or stored-data changes.
  • Reproduction uses the real plugin UI harness with RPC fixtures; live browser persistence was not tested.

Fixes #3385

AGENT GENERATED

@bb-slop-cop bb-slop-cop Bot mentioned this pull request Sep 10, 2026
3 tasks done
@SawyerHood
SawyerHood merged commit be0e155 into main Sep 10, 2026
16 checks passed
@SawyerHood
SawyerHood deleted the slopcop/issue-3385 branch September 10, 2026 15:26
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.

Tasks: Ctrl+Enter creates duplicate tasks

1 participant