Skip to content

improve(ui): make Tasks easier to scan - #128853

Merged
roboclaw-bot merged 1 commit into
mainfrom
openclaw/standalone-page-consistency-audit
Aug 24, 2026
Merged

roboclaw-bot merged 1 commit into
mainfrom
openclaw/standalone-page-consistency-audit

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Aug 24, 2026 •

Copy link
Copy Markdown
Collaborator

Follow-up to #127793.

AI-assisted: yes. The implementation and final diff were reviewed with the repository's autoreview workflow; no actionable findings remained.

What Problem This Solves

The Control UI Tasks page is harder to scan than the current Automations and Sessions pages. A separate summary card, nested section and row cards, repeated subtitles, and status/runtime/agent chips consume substantial vertical space—especially on mobile—without adding task information or capability.

Why This Change Was Made

This change applies the existing settings/list design language to Tasks: compact facts live in section headings, rows share flat divided groups, and task status uses the canonical colored dot with plain metadata. It preserves task loading, pagination, event updates, session navigation, cancellation, copy/retry/dismiss actions, disabled states, warnings, permissions, and Gateway behavior.

Search and filtering remain out of scope. tasks.list currently lacks authoritative pre-pagination text filtering, so a client-only search over the newest terminal tasks could incorrectly report no matches.

User Impact

Operators can scan more task state at once with clearer hierarchy and less visual nesting. In the matched fixture:

  • desktop task rows shrink from 105px to 83px;
  • mobile task rows shrink from 199px to 135px;
  • the mobile Active section shrinks from 504px to 302px;
  • Recent begins at y=458 instead of y=769;
  • mobile task actions retain a 44px touch target.

No workflow, control, state, permission boundary, or API behavior changes.

Evidence

Matched browser captures use the same seven-task fixture, timestamps, dark theme, and reduced-motion setting. Desktop is 1440×1000; mobile is 390×844. Before/after screenshots and separate desktop/mobile comparison videos are attached below.

Exceptional-state browser proof also covered blocked delivery, retry/dismiss, read-only retained results, copy failure, paging, pushed completion, and cancellation.

Validation on exact rebased head:

  • node scripts/run-vitest.mjs ui/src/pages/tasks/tasks-page.test.ts — 19 passed
  • node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/pages/tasks/tasks.e2e.test.ts — 4 passed
  • node scripts/check-changed.mjs -- ui/src/lib/tasks/data.ts ui/src/pages/tasks/tasks-page.ts ui/src/pages/tasks/view.ts ui/src/styles/components.css — passed
  • pnpm ui:build — passed; existing unrelated ineffective-import warnings only
  • git diff origin/main...HEAD --check — passed
  • final autoreview --mode uncommitted before commit — no accepted/actionable findings; correctness 0.98

The broader repository build compiled through its TypeScript phases but could not finish in this linked worktree because the reused dependency tree lacked current @openclaw/ai build artifacts after the large main fast-forward. Per worktree policy, dependencies were not reconciled here; the proportional Control UI production build passed.

Desktop before and after

Before After
Tasks desktop before Tasks desktop after

Desktop comparison video:

tasks-desktop-comparison.webm

Mobile before and after

Before After
Tasks mobile before Tasks mobile after

Mobile comparison video:

tasks-mobile-comparison.webm

@clawsweeper

clawsweeper Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: L maintainer Maintainer-authored PR labels Aug 24, 2026
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review August 24, 2026 20:25
@roboclaw-bot
roboclaw-bot force-pushed the openclaw/standalone-page-consistency-audit branch 2 times, most recently from ff744e0 to 6da9ba9 Compare August 24, 2026 20:41
@clawsweeper clawsweeper Bot added merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 24, 2026
@clawsweeper

clawsweeper Bot commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 24, 2026, 5:08 PM ET / 21:08 UTC.

ClawSweeper review

What this changes

This PR changes the Control UI Tasks page to a denser shared settings-list layout and adds a mobile regression check for recovery actions.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep open for maintainer review. The revised head addresses the prior narrow-phone blocker by wrapping recovery controls and asserting all three remain within a 320px viewport; no new correctness finding was identified.

Priority: P2
Reviewed head: 24aebe40b0666edaeaec44eea4817c9f905025f3

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The revised patch is a focused, net-negative UI refactor with the prior mobile overflow concern addressed by responsive source and targeted browser coverage.
Proof confidence 🌊 off-meta tidepool Not applicable: This member/bot-authored PR is exempt from the external-contributor proof gate; its body nevertheless supplies after-fix desktop and mobile captures plus browser E2E evidence.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This member/bot-authored PR is exempt from the external-contributor proof gate; its body nevertheless supplies after-fix desktop and mobile captures plus browser E2E evidence.
Evidence reviewed 5 items Updated mobile fix: The revised stylesheet makes the task action cluster wrap at the 640px mobile breakpoint, and the new E2E assertion verifies every recovery button remains inside a 320px viewport.
Owner boundary retained: The Tasks page still passes its existing Gateway-derived state and action callbacks into the renderer; the change replaces presentation markup rather than task loading, authorization, or action ownership.
Current-main provenance: Available blame attributes the pre-change Tasks rendering and action wiring at the current-main boundary to Peter Steinberger; the shallow checkout limits older feature-history resolution.
Findings None None.
Security None None.

Live Verification

Command: node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/pages/tasks/tasks.e2e.test.ts

Result: FAIL (failed) — step 1 run node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/pages/tasks/tasks.e2e.test.ts: terminal command did not produce output within 20 seconds: "node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/pages/tasks/tasks.e2e.test.ts"

node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/pages/tasks/tasks.e2e.test.ts
runner@runnervm76f27:/tmp/clawsweeper-live-proof-128853-rf14i1/target$ node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoad
er runner ui/src/pages/tasks/tasks.e2e.test.ts

 RUN  v4.1.10 /tmp/clawsweeper-live-proof-128853-rf14i1/target

node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/pages/tasks/tasks.e2e.test.ts












































Assertions:

  • FAIL expect_output: 4 passed

How this fits together

The Control UI turns Gateway task summaries into operator-facing task rows and invokes existing task actions from those rows. This PR changes that browser presentation while retaining the established Gateway data and action paths.

flowchart LR
  A[Gateway task summaries] --> B[Tasks page state]
  B --> C[Settings-style task rows]
  C --> D[Responsive controls]
  D --> E[Operator task actions]
  E --> F[Gateway task commands]
Loading

Before merge

  • Resolve merge risk (P1) - Exact-head CI is still in progress; merge only after the required checks complete successfully.
  • Complete next step (P2) - No automatable repair remains; await exact-head CI and the protected maintainer review.
Agent review details

Security

None.

PR surface

Source -17, Tests +13. Total -4 across 6 files.

View PR surface stats
Area Files Added Removed Net
Source 5 290 307 -17
Tests 1 13 0 +13
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 6 303 307 -4

Review metrics

Metric Value Why it matters
Production versus test delta production +290/-307 (net -17); tests +13/-0 The UI refactor removes more production code than it adds while adding targeted narrow-mobile behavior coverage.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Retain the shared settings primitives and wrapped mobile action group, then merge after exact-head CI and the protected maintainer review complete.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Retain the shared settings primitives and wrapped mobile action group, then merge after exact-head CI and the protected maintainer review complete.

Do we have a high-confidence way to reproduce the issue?

Not applicable: this PR is an intentional presentation improvement rather than a report of broken existing behavior.

Is this the best way to solve the issue?

Yes. It reuses the existing Settings design primitives and preserves the established Tasks data and action owners instead of creating a parallel workflow.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against d48166515ef6.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This member/bot-authored PR is exempt from the external-contributor proof gate; its body nevertheless supplies after-fix desktop and mobile captures plus browser E2E evidence.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.
  • remove merge-risk: 🚨 other: Current PR review selected no merge-risk labels.

Label justifications:

  • P2: This is a bounded operator-facing UI improvement with no demonstrated task-protocol or authorization change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This member/bot-authored PR is exempt from the external-contributor proof gate; its body nevertheless supplies after-fix desktop and mobile captures plus browser E2E evidence.

Evidence

What I checked:

  • Updated mobile fix: The revised stylesheet makes the task action cluster wrap at the 640px mobile breakpoint, and the new E2E assertion verifies every recovery button remains inside a 320px viewport. (ui/src/styles/tasks.css:111, 24aebe40b066)
  • Owner boundary retained: The Tasks page still passes its existing Gateway-derived state and action callbacks into the renderer; the change replaces presentation markup rather than task loading, authorization, or action ownership. (ui/src/pages/tasks/tasks-page.ts:420, 24aebe40b066)
  • Current-main provenance: Available blame attributes the pre-change Tasks rendering and action wiring at the current-main boundary to Peter Steinberger; the shallow checkout limits older feature-history resolution. (ui/src/pages/tasks/view.ts:77, 2b8fe12f0bb4)
  • Scope and LOC: The exact tree diff contains the six stated UI files: production is +290/-307 (net -17) and the browser E2E gains 13 lines. (ui/src/pages/tasks/view.ts:77, 24aebe40b066)
  • Dependency boundary: The changed renderer imports existing local Settings and task helpers only; no affirmative dependency signal establishes a Codex runtime or protocol contract for this presentation-only change. (ui/src/pages/tasks/view.ts:1, 24aebe40b066)

Likely related people:

  • Peter Steinberger: Current-main blame ties the existing Tasks renderer and page action wiring to this available history boundary; older history is unavailable in the shallow checkout. (role: nearest available current-main Tasks UI contributor; confidence: medium; commits: 2b8fe12f0bb4; files: ui/src/pages/tasks/view.ts, ui/src/pages/tasks/tasks-page.ts)

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-08-24T20:48:34.544Z sha 6da9ba9 :: needs changes before merge. :: [P2] Wrap recovery actions on narrow screens

@roboclaw-bot
roboclaw-bot force-pushed the openclaw/standalone-page-consistency-audit branch from 6da9ba9 to 24aebe4 Compare August 24, 2026 21:02
@clawsweeper clawsweeper Bot added 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. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. labels Aug 24, 2026
@roboclaw-bot
roboclaw-bot merged commit 94bd567 into main Aug 24, 2026
154 checks passed
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

@roboclaw-bot
roboclaw-bot deleted the openclaw/standalone-page-consistency-audit branch August 24, 2026 21:45
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 25, 2026
Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: Tak Hoffman <[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 maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: L 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