Repository navigation
feat(ui): add task progress disclosure preference - #132137
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 29, 2026, 5:39 PM ET / 21:39 UTC. ClawSweeper reviewWhat this changesThe branch adds a browser-local Control UI setting that starts an incomplete composer task-progress disclosure collapsed when enabled. Merge readinessKeep open for maintainer handling. The branch is a focused, default-off browser-local setting with no blocking correctness or security finding; the recorded sponsorship resolves the feature-direction concern, while member authorship and the protected Priority: P3 Review scores
Verification
How this fits togetherThe Control UI stores per-browser presentation preferences and passes them from the chat pane through the composer to the task-progress disclosure. This changes the disclosure’s initial state without changing Gateway-synced preferences or task execution. flowchart LR
A[Appearance setting] --> B[Browser-local settings]
B --> C[Chat pane]
C --> D[Chat composer]
D --> E[Task-progress disclosure]
E --> F[Operator view]
Decision needed
Why: The implementation is sound, but this PR intentionally adds a user-facing setting and carries the protected maintainer label. Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +41, Tests +185. Total +226 across 17 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Land the focused browser-only preference while retaining the existing expanded default and the native disclosure’s per-session manual-toggle ownership. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR adds a new optional presentation setting rather than fixing a reported failure. Is this the best way to solve the issue? Yes. It reuses the existing browser-local settings store and native disclosure lifecycle; syncing the preference through Gateway or adding runtime configuration would broaden scope without serving the stated per-browser use case. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against caec1885b7de. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (5 earlier review cycles)
|
fac4ddf to
a8175f4
Compare
a8175f4 to
e2cdfcd
Compare
Co-authored-by: VACInc <[email protected]>
e2cdfcd to
04850bd
Compare
|
Maintainer sponsorship is explicit: @VACInc requested this browser-local setting and is a co-author on the exact head. The setting remains default-off and outside Gateway-synced configuration. Exact-head CI is now fully green on @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Maintainer decision record (relayed by This records the operator decision; it is not a comment posted under or impersonating the VACInc GitHub identity. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Merged via squash.
|
Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: VACInc <[email protected]>
What Problem This Solves
Active task progress currently expands automatically in the Control UI composer, and operators have no preference for keeping the compact summary visible instead.
Why This Change Was Made
Adds a browser-local Collapse task progress by default toggle under Settings → Appearance → Chat. The toggle defaults off, preserving current
mainbehavior; when enabled, active task progress starts collapsed until the operator opens it. Native disclosure state still preserves later manual toggles across progress rerenders.The preference is presentation-only, so it stays out of
openclaw.jsonand synced Gateway preferences. This adds one default-off browser-local preference with no migration requirement.User Impact
Operators can choose between the existing automatically expanded task checklist and a compact task-progress summary. Existing users see no behavior change unless they enable the setting.
AI-assisted implementation; the behavior and proof were reviewed by the PR authoring agent.
Evidence
Default off (current
mainbehavior)Enabled
The screenshots come from the production-built Control UI connected to an isolated real Gateway. The live flow verified
defaultOff: trueandenabledAfterClick: true.Validation:
pnpm --dir ui test --run src/app/settings.preferences.node.test.ts src/components/session-progress-card.test.ts src/pages/config/settings-search.test.ts src/pages/config/view.browser.test.ts— 146 passedOPENCLAW_CAPTURE_UI_PROOF=1 pnpm exec vitest run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/session-progress-live-placement.e2e.test.ts ui/src/e2e/appearance-settings-defaults.e2e.test.ts— 12 passednode scripts/check-changed.mjs -- <17 changed UI paths>— passed formatting, i18n, dead-code, typecheck, and lint lanespnpm ui:build— passed, including Control UI performance budgets.agents/skills/autoreview/scripts/autoreview --mode uncommitted— clean, no accepted/actionable findingsgit diff --check— passedProduction LOC: +44/-2. Tests: +185/-0.