X7 Live status glyphs: pull requests, Paperclip tasks and providers

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

Start with issue #399 for the experience rework and #396 for the Paperclip live status source, then locate the chat rows, task rows, Inbox, summary card, and git panel that display these items. Implement a shared status store and refresh behavior across those surfaces, following the listed glyph, accessibility, and performance requirements. Done means the state mapping, refresh triggers, hidden-window behavior, and ETag reuse are covered by tests.

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

描述

Part of the experience rework (#399). Target branch: claude/experience-integration.

One glyph system that updates live, wherever an item appears: chat rows, task rows, the Inbox, the summary card and the git panel.

Pull requests

State Glyph
Draft grey
Open, checks passing green
Checks running amber ring with a stepped animation
Checks failing red dot
Review requested or changes requested amber or orange
Merged purple
Closed muted red

The tooltip summarises it, e.g. 'PR #124 · checks running · 2 of 5'.

Paperclip tasks

State Glyph
Todo grey circle
In progress blue half circle; animated only while an agent runs
In review / handed back purple
Needs you amber dot
Blocked red
Done green check
Cancelled grey strike
Checked out on this machine laptop badge

Providers
The provider logo on the chat row glows while working, shows a dot when there's an unseen completion, and turns red when failed.

Data

  • PR status (state, draft, review decision, combined check status) comes from GitHub with ETag-conditional requests, only for visible items.
  • It refreshes about every 60 s while the window is active, immediately on focus, and immediately after an agent pushes or opens a PR. It never polls while hidden.
  • Paperclip status reuses the live socket or badge poll (#396), with optimistic local updates.
  • One shared store keyed by repo#number and task id, so every surface stays in sync.

Accessibility
Each state has a distinct shape as well as a colour, plus a text label in the tooltip and aria.

Performance
No polling when hidden. One request batch per refresh. Animation only for running states, stepped and paused off screen.

Tests
State-to-glyph mapping, the refresh triggers (focus, push, interval, hidden), and ETag reuse.

主要语言
TypeScript
星标
3
派生
0
平均合并
17 小时 33 分钟
30 天内合并 PR
163

环境准备

从这里开始

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

musterhq/muster-code 的其他 Issue

查看 musterhq/muster-code 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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