New request
#2481: Add ChatGPT-style selected text replies with multiple selections
We'll provision a sandbox, run an agent against the issue, and open a draft PR. You can pull the branch and iterate from there.
Hi! I’d love to see a feature similar to ChatGPT’s selected-text reply.
The idea: when I highlight part of a message in the conversation, a small popup appears letting me add that selection to my next message as context.
One extra thing that would make this especially useful: allow adding multiple separate selections before sending the next message. For example, I could select two different parts of an earlier response, add both to context, then ask a single follow-up about them.
This would make it much easier to ask about specific lines, paragraphs, code snippets, or claims without manually copying and pasting everything.
Related but not identical to #1255, since this is about adding selected chat text to the next message rather than editing/regenerating a selected region.
New frontend interaction pattern requiring chat canvas selection handling, floating popup UI, and composer context management.
- static/js/chat/canvas.js
- static/js/composer/footer.js
- static/css/chat.css
- static/js/ui/popup.js
- api/routes/messages.py
- static/js/services/selection.js