[FEATURE] Show when each chat message was sent

Đang mở
#3,746 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả


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)

Ngôn ngữ chính
Go
Star
4.5k
Fork
937
Merge trung bình
1 ngày 10 giờ
Pull request đã merge (30 ngày)
150

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của kagent-dev/kagent

Tất cả issue của kagent-dev/kagent

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.