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

Abierto
#204 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 4 días

@truongthinh1412 ya está trabajando en esto.

Desde el 28/11/2026.

  • #383 de @truongthinh1412 — abierto

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Tranquilo
Stack tecnológico
react, typescript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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).

Lenguaje dominante
TypeScript
Estrellas
1k
Forks
144
Merge medio
4 d 19 h
PR fusionados (30 d)
28

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de johannesjo/parallel-code

Todos los issues de johannesjo/parallel-code

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.