[Design] Redesign Planner tool activity
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- 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
- accessibility, design, frontend
Hướng nghiên cứu
Start with the Planner transcript tool activity in apps/web, the existing Chat.Activity summary and disclosure model, and /design-audit#surfaces. Compare AI Elements Tool and related progress components, then produce the required audit specimens and reference comparison before considering migration. Done includes approval, accessibility and reduced-motion evidence, screenshots for required states, and passing bun run types, bun run ci, bun test apps/web/src/chat, and bun run design-audit:test.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Base branch: main
Branch: maggie/redesign-tool-activity
Depends on: None
Goal
Design a clear, compact tool-activity component for Planner messages using an established AI interface pattern.
Context From Planning
- The current “2 tools · 600ms” disclosure and running state feel unfinished and hard to parse.
- Evaluate AI Elements Tool first: https://elements.ai-sdk.dev/components/tool. Task and Chain of Thought may provide useful workflow-progress references.
- External components are candidates for presentation only; Chopin's transcript event model remains the source of truth.
Current Behavior
The transcript summarizes running tools as a loader, tool name, and completed count. Finished runs collapse into count, failure count, and elapsed time, with a simple list of tool names/status/durations when expanded.
Desired Behavior
Provide a polished tool-activity row and disclosure that communicates running, completed, failed, and denied/refused activity clearly without dominating the transcript.
Acceptance Criteria
- A library/reference evaluation documents what can be reused or adapted from AI Elements Tool and related progress components.
- The audit shows zero/one/many tools, running, mixed completed/running, completed, failed, denied/refused, long names, and missing-duration states.
- Summary and expanded rows have clear status icons, labels, elapsed time, and hierarchy.
- Disclosure is keyboard accessible, preserves reduced-motion behavior, and returns a useful accessible name/state.
- The implementation consumes existing
Chat.Activitydata and does not invent events or alter transcript persistence. - Maggie approves the audit specimen before production migration.
Verification Commands
bun run typesbun run cibun test apps/web/src/chatbun run design-audit:test
Primary Surfaces
/design-audit#surfaces- Planner transcript tool activity in
apps/web - Existing
Chat.Activitysummary and disclosure model
Expected PR Checks
- Repo required checks
Report Requirements
- Reference comparison and chosen pattern
- Before/after screenshots for running, completed, and failed states
- Accessibility and reduced-motion evidence
- Any event-model gaps discovered, kept as follow-ups
Implementation Notes
- Keep detailed tool names and status readable without exposing internal payloads or secrets.
- Adapt visual patterns to Chopin tokens and component primitives.
- Preserve current grouping of tool activity with the message that initiated it.
Stop Conditions
- The desired UI requires protocol states Chopin does not currently receive.
- A dependency would impose a conflicting transcript or AI SDK runtime model.
- Ngôn ngữ chính
- TypeScript
- Star
- 351
- Fork
- 20
- Merge trung bình
- 14 giờ 38 phút
- Pull request đã merge (30 ngày)
- 32
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của githubnext/chopin
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
githubnext/chopin#154 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
githubnext/chopin#149 ·
-
githubnext/chopin#181 · 1 người được giao ·
-
[Design] Style Mermaid diagrams Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
githubnext/chopin#165 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
githubnext/chopin#164 ·
Tất cả issue của githubnext/chopin
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
bcgov/bc-wallet-mobile#4761 · 1 bình luận ·
-
external-issue to-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
area-deployment area-integrations triage:bot-seen
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 86/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100