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

Đang mở
#410 1 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ó
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ệ
electron, github, typescript
Lĩnh vực
desktop, devtools

Hướng nghiên cứu

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.

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

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
3
Fork
0
Merge trung bình
17 giờ 33 phút
Pull request đã merge (30 ngày)
163

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

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 musterhq/muster-code

Tất cả issue của musterhq/muster-code

Issue tương tự

Thêm issue về TypeScript

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.