Reduce task panel density: collapsible sections and title-bar badge consolidation

Đang mở
#204 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 4 ngày

@truongthinh1412 đang làm issue này rồi.

Từ ngày 28/11/2026.

  • #383 của @truongthinh1412 — đang mở

Đá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
48/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
react, typescript

Hướng nghiên cứu

Start in TaskPanel.tsx (zones ~430–494 and the shell collapse at ~346–351) and TaskTitleBar.tsx (~155–211 badges, ~262–325 CI overlay). Persist collapse via the existing panelUserSize store; ResizablePanel.tsx noPin already allows content-sized children. Width default (~400 px) is informed by TilingLayout.tsx ~242–243. Done when notes/changed-files/steps/shells toggle and persist per task, badges collapse to one chip plus overflow, and the coordinator line sits in SubTaskStrip instead of a banner.

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

Mô tả

enhancement ux

Problem

A task column (default 520 px, min 300 px — TilingLayout.tsx:242-243) stacks up to ~10 info zones, none of which the user can collapse, and the title bar alone can carry a status dot plus seven badge types plus 4–5 icon buttons.

Zones, top to bottom (TaskPanel.tsx): coordinator banner + staged-notification sub-banner + macOS/Docker warning banner (:430-494), SubTaskStrip, TaskTitleBar (~50 px), TaskBranchInfoBar (~28 px), notes + changed-files split, shell section, AI terminal, steps section, prompt input.

Title-bar badges (TaskTitleBar.tsx:155-211): direct-branch, no-git, docker, imported, review, landing, verification — plus a CI-status micro-overlay on the push button (:262-325).

The only "collapse" today is implicit: the shell section shrinks to its 28 px toolbar when empty (TaskPanel.tsx:346-351). Notes, changed files, and steps always consume header rows even when unused. The coordinator banner stack can consume ~150 px before any content.

Related: #57 (prioritize terminal space), #175 (collapsible panel groups) — this issue is about vertical sections within a panel and the badge crowding; the terminal is clearly the primary object and the IA should say so.

Proposed fix

  • Collapse toggle in each secondary section header (notes, changed files, steps, shells), persisted per task via the existing panelUserSize store — the flex-absorber tree already tolerates content-sized children (noPin in ResizablePanel.tsx:19-23).
  • Default notes/steps collapsed on panels narrower than ~400 px.
  • Consolidate the badge zoo into one status chip + an overflow ("+2") popover.
  • Merge the coordinator status line into the SubTaskStrip row instead of a separate banner.

From a full design/UX audit (2026-07-07); adversarially verified. Line numbers as of b342bbd (v1.12.0).

Ngôn ngữ chính
TypeScript
Star
1k
Fork
144
Merge trung bình
4 ngày 19 giờ
Pull request đã merge (30 ngày)
28

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 johannesjo/parallel-code

Tất cả issue của johannesjo/parallel-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.