Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Design] Redesign Planner tool activity

未关闭
#162 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.Activity data and does not invent events or alter transcript persistence.
  • Maggie approves the audit specimen before production migration.

Verification Commands

  • bun run types
  • bun run ci
  • bun test apps/web/src/chat
  • bun run design-audit:test

Primary Surfaces

  • /design-audit#surfaces
  • Planner transcript tool activity in apps/web
  • Existing Chat.Activity summary 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.
主要语言
TypeScript
星标
351
派生
20
平均合并
14 小时 38 分钟
30 天内合并 PR
32

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

githubnext/chopin 的其他 Issue

查看 githubnext/chopin 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。