Skip to content

fix(web): sending a citation comment sends only that citation - #359

Merged
adampeterhiggins merged 1 commit into
mainfrom
ah/fix-citation-comment-send
Oct 20, 2026
Merged

adampeterhiggins merged 1 commit into
mainfrom
ah/fix-citation-comment-send

Conversation

@adampeterhiggins

Copy link
Copy Markdown
Owner

Clicking Send on a citation comment sent the whole composer: any half-written message, attachments and other context went out with the quote.

Now Send (and Add to queue while a turn runs) sends just that quote and its comment as its own message, then removes the quote's chip from the composer. Everything else in the composer is left as it was. The comment is saved into the chip before sending, so if the send fails, the commented quote stays in the composer.

  • ChatView's standalone send (already used by /goal actions) now takes a dispatch mode and reports success. The composer's citation path calls it instead of submitComposer.
  • The editor finds the chip by its key after the send resolves and removes it along with one adjoining space.
  • Browser tests cover the success and failure paths. docs/fork-differences.md is updated.

Save as draft from the citation menu still saves the whole composer as a draft. That is unchanged.

Model: Claude Opus 5.5 via Claude Code (T3 Code)

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant