mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4785] [GUI] quote a turn or a selected passage into the composer and keep the quote chain visible, so an earlier message can be answered without retyping it #2199
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2199
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xvcezrqpbxtpzblrt on GitHub (Oct 31, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4785
2026-11-06 核对结果:装机 0.2.11 与 main@9f7d977d2 已存在该修复——引用格式 Quoting: … 「…」Reply:,选区右键/悬浮按钮 "Quote",最多 8 段、每段 4000 字符(quotes.ts,注释含 #4785;Chat.tsx 选区 "Quote" 按钮、sendMessage 走 composeQuoted)。未做 GUI 实测。可关单;如仍无引用请带场景。
Area
[GUI] (the desktop app)
What do you want to do?
In a long chat, let me point at something that is already on the screen and answer that, instead of retyping it.
Concretely:
apps/host/src/screens/Chat.tsx:677-690). Add Quote there. It puts that turn above the composer as a small quoted block while I write my answer.i.e. corner brackets for the quoted text and an arrow before my own words. In English copy that could read
Quoting: "…" → Reply:. The exact wording is yours; the point is that the quote and the reply are visually and textually separate, in the transcript as well as in what the model receives.5. The quote must survive being sent. In the transcript afterwards, my message shows the quoted block (collapsed to one or two lines, expandable) and the reply under it, so a chat scrolled back to next week still shows what each answer was about.
Why I want it: chats here run 100–300K tokens, so "the thing I am answering" is often 100+ messages up. Today I re-state it in my own words, which loses what the model actually said — and with a small local model, my re-statement is usually what makes the next answer drift further away. There is also no way to point at an earlier question that was never answered.
This is about answering something already in the conversation. The separate case of the agent asking me to choose an option is already tracked as #4244.
What do you do today instead?
Duplicate search
Searched open and closed issues for
quote,quoting,quote message,reply to message,reference a message,jump to message,引用,context mention. Nothing asks for a quote / reply-target affordance. The nearest, all different features that happen to sit in the same area:ask_user_question(clicking an option instead of typing); different direction: the agent asks, I click.Strata version
Strata 0.2.8 · app
0.2.8, Control and engine0.1.54Graphics card, memory and system
NVIDIA GeForce RTX 3080 Ti Laptop GPU 16 GB · 64 GB RAM · Windows 11 Pro build 26300
Suggested shape (not tested, not a spec)
Nothing here needs an engine change: a quote is ordinary message text, and the app already composes message text on the client (the queued-message card
apps/host/src/components/PlanCard.tsx:93-97and the.queuedstyles inapps/host/src/styles/app.css:7379-7383are the same idea — a client-side block attached to a turn that is not sent yet).Quoteitem in the existing message menu (Chat.tsx:683-688) and one in the selection popup for a passage.>blockquotes —apps/host/src/components/Markdown.tsx:127— so a distinct quote block is a small step from what exists).Logs
None: no request is involved, this is a composer and transcript change.