Skip to content

fix(ui): open subagent details in Tasks instead of Review - #153260

Merged
roboclaw-bot merged 5 commits into
mainfrom
openclaw/subagents-under-review-status
Sep 20, 2026
Merged

roboclaw-bot merged 5 commits into
mainfrom
openclaw/subagents-under-review-status

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Sep 19, 2026 •

Copy link
Copy Markdown
Collaborator

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

  • 223 focused unit/integration tests passed across task routing, transcript lifecycle, scope changes, reload restoration, and saved-layout normalization.
  • 24 existing Chromium browser scenarios passed on Blacksmith Testbox with a mocked Gateway, covering Tasks inspection/reload, message actions, and native-folder controls.
  • node scripts/check-changed.mjs --staged passed for the original patch; scoped changed checks, formatting, and stylelint also passed for the subsequent CI repairs.
  • Source-pinned before/after browser captures verified visible keyboard focus and expansion/collapse at desktop and mobile widths.
  • Independent P0–P2 autoreview found no actionable findings in the original patch or the subsequent CI repairs.
  • The context-menu crash also reproduced on unchanged main. Removing only the focus-driven containment rule passed all nine message-action scenarios; restoring it reproduced the same crash.
  • The original task-panel regression failed before the fix: expected Tasks, received Review's detail slot.

Before/after screenshots and reload proof

Requested and reported by @steipete.

Worked on by

Work sessions


View the OpenClaw team session

roboclaw-bot and others added 2 commits September 19, 2026 23:40
Worked on by:
- @steipete

Co-authored-by: steipete <[email protected]>
OpenClaw-Publication: ed2dd80e-46bf-4995-9ebb-46b103abd9b6
@clawsweeper

clawsweeper Bot commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: XL maintainer Maintainer-authored PR labels Sep 19, 2026
@roboclaw-bot

roboclaw-bot commented Sep 19, 2026 •

Copy link
Copy Markdown
Collaborator Author

UI proof

Inspected screenshots from the actual Control UI with synthetic Gateway data.

Before

Task details appeared in Review.

Before: subagent details under Review

After

The existing Tasks tab owns inspection and offers Back to tasks.

After: subagent details inside Tasks

Reload restoration

A selected completed task outside the recent list remains selected after browser reload.

Selected task restored in Tasks after reload

Keyboard-focus preservation after CI repair

The 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 db02d741e9dc):

Before: external keyboard-focus ring

After (inset ring; row containment stays stable):

After: complete inset keyboard-focus ring

@roboclaw-bot
roboclaw-bot marked this pull request as ready for review September 19, 2026 23:45
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 19, 2026
@clawsweeper

clawsweeper Bot commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 19, 2026, 8:38 PM ET / September 20, 2026, 00:38 UTC (Revision 2).

ClawSweeper review

What this changes

The 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
Reviewed head: 27ad5224508fd55910445083d3aa131aebb7cf2c

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A coherent ownership change with strong visual evidence, focused regression coverage, and no identified blocking defect.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected production Control UI captures with synthetic Gateway data show the Tasks renderer displaying the selected transcript, Back navigation, and restored task content; focus captures also show the inset ring. Reported browser checks supplement the directly visible results.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): Inspected production Control UI captures with synthetic Gateway data show the Tasks renderer displaying the selected transcript, Back navigation, and restored task content; focus captures also show the inset ring. Reported browser checks supplement the directly visible results.
Evidence reviewed 8 items Current main still needs the change: The current-main rail callback still opens task content through handleOpenSidebar, which routes it to Review; the proposed branch instead updates the Tasks panel selection.
Latest release retains the old routing: Inspection of the supplied v2026.9.5 release commit also shows task selection opening Review, so the requested behavior is not already present there.
Single selection owner: Task navigation changes the persisted Tasks panel identity while preserving visible layout geometry. The production task renderer consumes that identity; Review no longer carries a parallel task-content variant.
Findings None None.
Security None None.

How this fits together

The 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]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +54, Tests +690, Docs 0. Total +744 across 40 files.

View PR surface stats
Area Files Added Removed Net
Source 25 293 239 +54
Tests 13 1265 575 +690
Docs 2 5 5 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 40 1563 819 +744

Review metrics

Metric Value Why it matters
Production versus test growth production net +54; tests and test support net +690 Production growth supports separate Tasks ownership and lifecycle handling; most net growth covers navigation, restoration, and stale-response regressions.

Technical review

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

Labels

Label justifications:

  • P2: This fixes limited-scope chat navigation and selection behavior without evidence of an urgent core workflow outage.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): Inspected production Control UI captures with synthetic Gateway data show the Tasks renderer displaying the selected transcript, Back navigation, and restored task content; focus captures also show the inset ring. Reported browser checks supplement the directly visible results.
  • proof: sufficient: Contributor real behavior proof is sufficient. Inspected production Control UI captures with synthetic Gateway data show the Tasks renderer displaying the selected transcript, Back navigation, and restored task content; focus captures also show the inset ring. Reported browser checks supplement the directly visible results.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. Inspected production Control UI captures with synthetic Gateway data show the Tasks renderer displaying the selected transcript, Back navigation, and restored task content; focus captures also show the inset ring. Reported browser checks supplement the directly visible results.

Evidence

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vyctor H. Brzezowski: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-09-19T23:53:07.397Z sha 718d8f5 :: needs maintainer review before merge. :: none

roboclaw-bot and others added 3 commits September 20, 2026 00:30
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
@roboclaw-bot
roboclaw-bot merged commit 03328bc into main Sep 20, 2026
160 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/subagents-under-review-status branch September 20, 2026 00:54
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 20, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant