[FEATURE] Show when each chat message was sent

Aperta
#3,746 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
frontend

Direzione di ricerca

Start in ui/src/api/chat/a2aGrpcChatClient.ts at statusTime, the fallback that stamps every message in a turn with the task status time or "now", and trace where individual message events are parsed before that point. Read issue #502 for the earlier attempt on the older UI, and check whether the A2A/gRPC message payload already carries a per-message timestamp or whether one must be added on the agent side. Done means each message renders its own sent time, with a day divider between days, and no fallback to the current time.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione


Written by 🤖 (start)

📋 Prerequisites
📝 Feature Summary

Show when each chat message was sent, for both the user's messages and the agent's replies.

❓ Problem Statement / Motivation

A transcript gives no sense of time. You can't tell whether a reply came seconds or days after the question, or where yesterday's chat ends and today's begins.

The UI can't show this accurately today. A reloaded transcript has no sent time per message. The only time available is the task status timestamp, so every message in a turn gets the same time, and the UI falls back to "now" when a status has no timestamp (statusTime in ui/src/api/chat/a2aGrpcChatClient.ts).

#502 asked for timestamps on the chat boxes against the older UI. This is the same need on the current gRPC and A2A path, where the per-message time is the missing piece.

💡 Proposed Solution

Readers can see when each message was sent, for example as a small time next to the sender and a day label between days. Where that time should come from is open for discussion.

🎯 Affected Service(s)

UI Service


Written by 🤖 (end)

Lingua principale
Go
Stelle
4.5k
Fork
937
Merge medio
1g 10h
PR unite (30g)
150

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di kagent-dev/kagent

Tutte le issue di kagent-dev/kagent

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.