Conversation
Select words in an agent's message: the comment-only toolbar (Comment, 👍) and the file-comment composer. The comment is stored like file comments (POST /api/inbox/messages/:id/annotations, an additive message target on the annotation record), waits in the reply box's annotations chip, and rides the next Send under "Feedback on your message from <time> (<id>)". Phone door 7.59. Approval: .product/approved/inbox-message-comments.
- Words that span lines are quoted in a fence sized with codeFenceFor under 'Feedback on:' (one-line words stay inline), so a quote never cuts or injects a heading or leaves a fence open; the intro says the words are as shown on screen. The export is the Inbox's own (the parser seam is gone). - A comment on another session's message rides a reply to that message (routeSendAnnotations, with sendTargetsOf in sendTargets.ts), never the last session's reply; a test where sessions A and B both wrote. - A paste that moves to the reply box closes the message's pending mark and toolbar. - saveMessageAnnotation: text required, at most 10,000 characters; no images, elementContext, pageUrl or inReplyTo. - Unanchored marks go once a comment is sent or removed. - e2e: a real mouse drag on the 390 px window too (the misses were the pane still sliding in; measure once finite animations finish).
1 task
DuongCoder04
pushed a commit
to DuongCoder04/plannotator
that referenced
this pull request
Nov 7, 2026
Selecting words in an agent's message opened a comment-only toolbar (Copy, Comment, 👍, close): it was built in backnotprop#1997 as "the same toolbar as on attached files (Comment, 👍)", so Delete was never offered there, and the store refused a DELETION on a message. The owner asked for it back (approval .product/approved/inbox-toolbar-delete). - ui (additive): Viewer `textDeletions` (with `textComments`) and AnnotationToolbar `showDelete` bring Delete back on a comment-only toolbar, before Comment as in plan review; the label picker and Alt+digit keys stay off. Hosts that pass neither see no change. - Inbox: agent messages pass `textDeletions`. The store takes a DELETION on a message's words (no text needed); the phone door passes it through. - The Send's feedback reads it as plan review's export: `Remove this: "<words>"` then `> I don't want this in your message.` - Tests: ui Viewer, an Inbox MessageBody DOM test (toolbar order, the DELETION saved, the feedback text), the export, the store route and the phone door.
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.
Approval:
.product/approved/inbox-message-comments/approval.md(2026-10-19, "Build it now, the file-comment way, and send screenshots before it merges"). Do not merge until the owner has seen the screenshots.What it does
Run this once after you pull:
Feedback on the attached files
echo ```hi
Nothing needs you