Skip to content

[Task] UI rewrite v2 Area B: right panel modular rollout #602

@Astro-Han

Description

@Astro-Han

Goal

Rewrite the session right-side detail panel in smaller steps that can be measured and reverted independently.

Scope

In scope (remaining):

  • File chip expanded view / Files tab body rewrite (beyond inactive-tab unmount).
  • Terminal panel lifecycle boundaries (mount/measure/scroll on toggle).
  • Session review surface lifecycle boundaries.
  • Area B audit / checklist closeout: mark which slices are done, which are dropped.

Dropped from scope:

  • Tool output detail view. Never implemented in the right panel; tool calls expand inline in the message flow and the right panel intentionally does not duplicate them. Recorded here so future readers don't reopen it.

Out of scope:

Delivered so far

Relevant files or context

Parent: #599
Audit: docs/research/2026-05-23-area-b-right-panel-audit.md (landed).

File set under active review:

  • packages/ui/src/components/file.tsx
  • packages/app/src/components/terminal.tsx
  • packages/ui/src/components/session-review.tsx
  • packages/app/src/pages/session/session-side-panel.tsx
  • packages/app/src/pages/session/file-tabs.tsx
  • packages/app/src/pages/session/terminal-panel.tsx
  • packages/app/src/components/file-tree.tsx
  • packages/app/src/components/session/session-context-tab.tsx
  • packages/app/src/pages/session/use-session-review-state.ts

Constraints:

  • Same PR0 gate and soft file-size rule as other areas.
  • No regression of already-delivered surfaces.

Verification

Execution mode

Agent should investigate and propose a plan first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium priorityappApplication behavior and product flowstaskNarrow execution, audit, spike, migration, tracking, or upstream follow-up workuiDesign system and user interface

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions