Repository navigation
improve(ui): redesign suggested task cards - #125231
vyctorbrzezowski merged 18 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: found issues before merge. Reviewed August 17, 2026, 9:39 PM ET / August 18, 2026, 01:39 UTC. ClawSweeper reviewWhat this changesThis PR redesigns Control UI suggested-task cards into a one-card-at-a-time interface with inline instructions, grouped navigation, and a joined split start action. Regression provenancePossible regression — probable (reviewed change; failure trace). No predecessor PR is attributed. Merge readinessThis member-authored, maintainer-labeled UI redesign remains necessary, but the prior responsive-layout blocker is still present: an expanded task card can exceed its clipped conversation container on short viewports. The submitted screenshots provide useful normal-state visual proof; repair the tray bound and validate the expanded short-viewport path before merge. Priority: P2 Review scores
Verification
How this fits togetherSuggested tasks are model-proposed follow-up actions rendered in the Control UI chat transcript. The chat pane supplies task state and callbacks to the floating card tray, which lets an operator start, copy, dismiss, or navigate a suggested task. flowchart LR
A[Model task suggestions] --> B[Chat pane state]
B --> C[Suggested-task tray]
C --> D[Active card and navigation]
D --> E[Start copy or dismiss]
E --> F[Chat session workflow]
Decision needed
Why: The linked request is a deliberate presentation and interaction redesign rather than a repair to an established behavior contract, so product acceptance needs explicit maintainer intent. Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource +392, Tests +80. Total +472 across 9 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Restore a viewport-derived tray height bound with an internal scroll path, then extend the browser flow to open a tall instruction panel at a short viewport and prove the task controls and composer remain reachable. Do we have a high-confidence way to reproduce the issue? Yes—source-reproducible at high confidence: render a long task prompt at a short viewport, open instructions, and the unbounded absolute tray can extend beyond the overflow-hidden conversation owner. Is this the best way to solve the issue? No—the one-card design is plausible, but removing the existing responsive bound is not the best implementation because it can clip expanded controls; keep the design while restoring a bounded, scrollable tray. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 31a240c2b779. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (2 earlier review cycles)
|
check-lint is red on main independently of the max-lines cap: #125231 landed chat-pane-task-suggestions.ts and chat-task-suggestions.ts with format drift (oxfmt --check fails on a clean main checkout). Reformat both; also keep the new SidebarSlotControls type module-local so deadcode:dependencies stays green.
* improve(ui): redesign suggested task cards * fix(ui): preserve suggested task navigation * fix(ui): refine suggested task card surfaces * fix(ui): clarify suggested task instruction layers * fix(ui): normalize task instruction disclosure * fix(ui): keep split divider stable on hover * fix(ui): refine suggested task split shape * fix(ui): tighten task instruction underlap * fix(ui): smooth suggested task swaps * fix(ui): wrap suggested task project label * fix(ui): signal overflowing task paths * fix(ui): stabilize suggested task stack height * fix(ui): separate suggested task surface contrast * fix(ui): narrow suggested task cards * fix(ui): allow suggested task text selection * fix(ui): use restrained brand task action * fix(ui): align dark task action branding * fix(ui): deepen dark task action color












Closes #125226
What Problem This Solves
Suggested tasks currently appear as dense cards with fragmented instruction and action surfaces. Multiple suggestions occupy a full vertical list, which makes the transcript harder to scan and can crowd the composer.
Why This Change Was Made
This redesign treats suggested tasks as one focused surface across the single collapsed, single expanded, and multiple-task states. It widens the desktop card modestly, adds breathing room and restrained elevation, turns instructions into an inline disclosure with an underlapping workspace-path/instruction compound, and combines the worktree action and mode menu into one neutral split button. Multiple tasks now use one active card with grouped navigation, position, dismissal, a back-card blade, and short directional swaps that become immediate under reduced motion.
The change is limited to suggested-task presentation and local card navigation. Existing worktree, local, cloud, source-session, copy-prompt, busy, permission, and per-task dismissal semantics remain unchanged. Session suggestions, the composer, and task lifecycle behavior are intentionally out of scope.
User Impact
Suggested follow-ups are easier to scan and act on, especially when several are available. Users see one stable card at a time, can reveal workspace context without disconnected chips, and interact with a clearer primary split action without losing any existing start or dismissal choices.
Evidence