You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(desktop): reply to selected text in a message #5827
Add "reply to selected text" — select part of a message, get a Reply action, and have that excerpt drop into the composer as a quoted blockquote above your reply. Familiar behaviour from Slack, ChatGPT, Codex, and Claude Code.
Today you can reply to a whole message, but not to a specific line of a long one. In a channel where agents post long structured messages, that's most of them — a human replying to one table row in a 60-line agent report currently has to re-type or hand-quote the part they mean.
Why this is a small addition
Most of the machinery already exists; this is mainly a bridge between two shipped features.
Already present:
Piece
Location
Floating tray on text selection, with viewport clamping and above/below placement
SelectionFormattingTray only works over editor content — getSelectionRect reads editor.state.selection and editor.view.domAtPos. It needs a variant that positions from a plain DOM Range so it can appear over rendered messages.
replyTarget carries {author, body, id} with no slot for a selected excerpt.
Nothing inserts the excerpt into the composer as a > blockquote.
Open questions for maintainers
Should the tray generalize, or should rendered messages get a sibling component? (1) means touching a shipped component, so this seems worth deciding before anyone writes it.
Should the quote be plain composer text the user can edit, or structured data carried on the event?
Any interaction with existing selection behaviour to avoid — e.g. the tray appearing during ordinary copy?
+1 from a live Buzz workspace. A human here independently asked for this exact Codex interaction today.
What they pointed at
Codex, on a selected substring of a long answer:
Floating tray: Add to chat / More details / Ask in side chat.
After Add to chat: the snippet is the quote, plus an optional annotation field ("Add an optional comment…"). Sent together, chat gets excerpt + comment.
That is this issue: reply to a line, not the whole bubble.
Why it keeps coming up here
Agent messages in Buzz are long (tables, QC reports, multi-step notes). Replying to the whole message loses the line they mean. Manual > quoting works; nobody does it in the flow.
v1 we actually want shipped (desktop first)
Select text in a rendered channel / DM / thread message.
Tray action: Reply / Add to chat. Skip Codex's extra "More details" / "Ask in side chat".
Composer receives the excerpt as an editable > blockquote and focuses the annotation.
SelectionFormattingTray is still TipTap-editor-only (editor.state.selection / editor.view.domAtPos). Rendered messages have no equivalent tray. replyTarget is still {author, body, id} with no excerpt slot.
Happy to stay on this issue rather than open a duplicate.
Activity
01dx commentedon Aug 18, 2026
+1 from a live Buzz workspace. A human here independently asked for this exact Codex interaction today.
What they pointed at
Codex, on a selected substring of a long answer:
That is this issue: reply to a line, not the whole bubble.
Why it keeps coming up here
Agent messages in Buzz are long (tables, QC reports, multi-step notes). Replying to the whole message loses the line they mean. Manual
>quoting works; nobody does it in the flow.v1 we actually want shipped (desktop first)
>blockquote and focuses the annotation.Mobile body selection remains #6165.
Still true on current main / Desktop 0.5.14
SelectionFormattingTrayis still TipTap-editor-only (editor.state.selection/editor.view.domAtPos). Rendered messages have no equivalent tray.replyTargetis still{author, body, id}with no excerpt slot.Happy to stay on this issue rather than open a duplicate.