Repository navigation
fix(ui): open subagent details in Tasks instead of Review - #153260
Conversation
Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: ed2dd80e-46bf-4995-9ebb-46b103abd9b6
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
UI proofInspected screenshots from the actual Control UI with synthetic Gateway data. BeforeTask details appeared in Review. AfterThe existing Tasks tab owns inspection and offers Back to tasks. Reload restorationA selected completed task outside the recent list remains selected after browser reload. Keyboard-focus preservation after CI repairThe existing focus-driven row-containment rule reproduced a Chromium context-menu crash on unchanged main. The fix draws the ring inside the control instead. Real keyboard expansion/collapse passed on desktop and mobile; both images below show the expanded mobile control. These are screenshots from the production Control UI with synthetic Gateway data. Before (main CSS at After (inset ring; row containment stays stable): |
|
Codex review: needs maintainer review before merge. Reviewed September 19, 2026, 8:38 PM ET / September 20, 2026, 00:38 UTC (Revision 2). ClawSweeper reviewWhat this changesThe PR moves background-task inspection into Tasks, preserves saved selections and independent Review content, and stabilizes keyboard-focus styling and a responsive browser check. Merge readiness✅ Ready for maintainer review This remains a useful, maintainer-requested fix: current main and the latest release still open task details in Review. No blocking correctness or security finding emerged, and the inspected browser evidence supports the changed behavior. Priority: P2 Review scores
Verification
How this fits togetherThe Control UI receives task snapshots, events, and transcripts from the Gateway. Its chat panel manages which task is inspected alongside the conversation, files, and workspace diff. flowchart LR
A[Task rows and inline activity] --> B[Tasks selection]
C[Saved browser layout] --> D[Layout normalization]
D --> B
B --> E[Task list or detail]
F[Gateway task data] --> E
E --> G[Status and transcript]
H[Review and Files] --> I[Independent selections]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +54, Tests +690, Docs 0. Total +744 across 40 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep Tasks responsible for list/detail navigation and saved task identity, with Review and Files retaining independent content and lifecycle. Do we have a high-confidence way to reproduce the issue? Yes, source inspection establishes that selecting a task on current main routes its details into Review; the supplied before screenshot shows that result. This review did not execute a reproduction. Is this the best way to solve the issue? Yes. Reusing the existing Tasks panel and transcript loader, with saved-layout normalization and removal of Review's competing task selection, is a coherent repair. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 877c93793f95. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
Co-authored-by: steipete <[email protected]>
Keep transcript containment stable during focus transfer while drawing tool-summary focus rings inside their controls. Wait for responsive shell readiness before measuring the native-folder field. Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 6c35ba22-75b9-42a4-8c13-871b1c69135b
|
Merged via squash.
|
Adopt the authoritative fix landed in #153260 instead of restoring the superseded focus/hover containment rules from the earlier CI prerequisite. Co-authored-by: vyctorbrzezowski <[email protected]>
…53260) * fix(ui): keep subagent inspection in Tasks Co-authored-by: steipete <[email protected]> * fix(ui): open subagent details in Tasks instead of Review Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: ed2dd80e-46bf-4995-9ebb-46b103abd9b6 * fix(ui): stabilize keyboard focus and responsive browser checks Keep transcript containment stable during focus transfer while drawing tool-summary focus rings inside their controls. Wait for responsive shell readiness before measuring the native-folder field. Co-authored-by: steipete <[email protected]> * fix(ui): open subagent details in Tasks instead of Review Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 6c35ba22-75b9-42a4-8c13-871b1c69135b --------- Co-authored-by: steipete <[email protected]>





What Problem This Solves
Fixes subagent and background-task details opening under Review instead of Tasks.
User Impact
Task rows and inline subagent activity open status and transcripts in the existing Tasks tab, with Back to tasks. Review and Files keep their own selections. Expanded layouts stay expanded, cancellation failures remain visible, and selected tasks still restore after reload.
Why This Change Was Made
Tasks now owns the persisted selection and its list/detail navigation rather than sharing Review's document slot. Existing saved task selections normalize into Tasks, and the selected-task lookup, retry, and scope protections from #153185 remain intact. No new panel, setting, backend API, or database schema is introduced.
Validation against refreshed main also exposed two CI regressions. The mobile folder test now waits for the responsive shell and stable click geometry before its unchanged bounds assertions. Tool-summary focus rings now paint inside their controls instead of changing transcript-row containment, preserving the ring while avoiding a reproducible Chromium context-menu crash.
Evidence
node scripts/check-changed.mjs --stagedpassed for the original patch; scoped changed checks, formatting, and stylelint also passed for the subsequent CI repairs.Before/after screenshots and reload proof
Requested and reported by @steipete.
Worked on by
Work sessions
View the OpenClaw team session