fix(chat): list quote-only user messages in the prompt navigator

Context parts are marked synthetic, so a message made only of quoted
fragments was skipped as an injected message and could not be navigated
to. Such turns now appear with the same caption the bubble shows.
This commit is contained in:
Bohdan Triapitsyn
2026-08-29 02:02:30 +03:00
parent e26f647404
commit fb9e13a3a7
7 changed files with 182 additions and 10 deletions
@@ -301,7 +301,7 @@ export const TimelineDialog: React.FC<TimelineDialogProps> = ({
</div>
) : (
filteredMessages.map(({ message }, index) => {
const preview = getMessagePreview(message.parts);
const preview = getMessagePreview(message.parts, undefined, t);
const timestamp = message.info.time.created;
const dateGroup = formatDateGroup(timestamp);
const previous = filteredMessages[index - 1];