[FEATURE] Show when each chat message was sent

Abierto
#3,746 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
frontend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción


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)

Lenguaje dominante
Go
Estrellas
4.5k
Forks
937
Merge medio
1 d 10 h
PR fusionados (30 d)
150

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de kagent-dev/kagent

Todos los issues de kagent-dev/kagent

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.