mirror of
https://github.com/multica-ai/multica.git
synced 2026-08-03 11:10:23 +02:00
Review blocker: CommentInput passed a literal `afterAccepted: "blur"`, but its stale-submit guard declines to clear when the user typed during the request. Posting comment A on a slow connection while typing comment B therefore dropped the caret out of B mid-sentence — the guard kept the text, and the blur fired anyway. Both issue composers now resolve the mode from a ref set only on the branch that really wipes the editor, matching what ChatInput and quick-create already do. ReplyInput gets the same treatment: refocusing a box the user is typing in happens to be harmless, but leaving one surface on the unsafe shape invites the next one to copy it. The rule is now stated on the option itself: a surface whose `onAccepted` can decline to clear must pass a function and resolve to "none" on those paths. Both regressions are mutation-verified — reverting either binding fails the new assertions. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>