Skip to content

fix(ui): keep progress refresh loading feedback in the button - #154193

Merged
roboclaw-bot merged 2 commits into
mainfrom
openclaw/quiet-progress-refresh-feedback
Sep 21, 2026
Merged

roboclaw-bot merged 2 commits into
mainfrom
openclaw/quiet-progress-refresh-feedback

Conversation

@roboclaw-bot

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

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Refreshing the work card adds a visible loading sentence even though its button already indicates loading. Error and timeout messages also repeat instructions to use that same button.

User Impact

Loading stays in the refresh button without adding a row or shifting the card. Real failures and timeouts remain visible with shorter text. Screen-reader live announcements, the busy state, and retry behavior are preserved. A distinct loading glyph remains visible even when reduced motion disables animation.

Why This Change Was Made

Use the existing visually hidden success-status treatment for pending status too, and remove only redundant retry instructions. This is presentation-only; it does not change Gateway requests, timeouts, authorization, or agent execution.

Worked on by

Work sessions

Evidence

  • 42 component/store tests passed; the changed component suite passed separately in 2.304 s command wall time with one worker.
  • Real Chromium E2E on the configured isolated Blacksmith Testbox: normal-motion desktop, reduced-motion 390px collapsed, and failure/retry scenarios passed. The reduced-motion regression fails on the preceding head with identical pending/idle glyphs, then passes after the correction. The current browser suite took 18.34 s (4.901 s test execution); it retains the existing three cases.
  • Pending state preserves header height and keeps its accessible status node; failures keep a visible row and the prior card.
  • UI production/test types, targeted lint, stylelint, i18n baseline/verification, formatting and line-cap checks passed. Independent AutoReview found no actionable issues through P2.
  • Inspected before/after captures are from the implemented app with synthetic Gateway data. They are cropped only for readability; no live-provider proof is claimed. The proof lease is stopped.

Reduced-motion correction

Pending now uses the existing loader glyph rather than the idle refresh arrows. Inspected before/after comparison and fail-before/pass-after proof are in the correction comment. The updated normal-motion capture below shows the same current glyph.

CI follow-up

The first CI run exposed shared-read-pool contamination, repaired by #154206 and now incorporated through a patch-identical rebase. All 42 focused tests pass again on the refreshed base.

The separate intermittent plugin Settings-navigation failure is not yet root-caused. The exact executed merge and actual 4/12 file set passed a controlled 51-file / 237-test replay, followed by bounded tracing and CPU-pressure trials. The navigation failure remains unexplained, not repaired. Current main AGENTS.md at 894fb140a22246bc1574d5b29fe61e10f77036de explicitly allows bounded, documented investigation to continue under normal CI and review gates; the unresolved failure alone is no longer an additional landing or approval gate. The original failure, reproductions, and uncertainty remain recorded in #154275.

Release-check CI repair incorporated

The prior head’s required CI failed when the release-check fixture exceeded 120 seconds. The landed repair in #154307 (cdd01a194422f61525bf910d8eb7d05231b1866f) now applies the existing Node shutdown policy to its CLI children and asserts the actual --no-concurrent-sparkplug argument. This is incorporated through a patch-identical UI rebase; 14 release-check tests and all 42 UI component/store tests pass on the refreshed candidate (56 total, 20.27 s wall). The missing runtime-policy defect was reproduced by that owner; the precise historical timeout remains unconfirmed, and no passing replay is presented as proof of its cause.

The separate in-process matrix optimization #154335 remains its owner’s work, not a prerequisite for this PR. Fresh enforced checks apply to the new head. The current native workflow hands pending checks to GitHub auto-merge without treating them as passed or bypassing required checks/reviews.

Before

Before loading

After

After loading

Errors remain visible

Failure remains visible


View the OpenClaw team session

@clawsweeper

clawsweeper Bot commented Sep 21, 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 app: web-ui App: web-ui size: XS maintainer Maintainer-authored PR labels Sep 21, 2026
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review September 21, 2026 00:12
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. 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 21, 2026
@clawsweeper

clawsweeper Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 21, 2026, 12:10 AM ET / 04:10 UTC (Revision 5).

ClawSweeper review

What this changes

The Control UI keeps progress-refresh loading feedback inside the refresh button, shortens error messages, and extends browser coverage for layout stability and reduced motion.

Merge readiness

✅ Ready for maintainer review

This remains a useful, focused presentation improvement. The prior reduced-motion finding is resolved, the supplied visual proof supports the change, and no blocking correctness or security findings remain.

Priority: P3
Reviewed head: 081caad88afecc3ebe34f443a84b8abdd8677c8b

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, maintainable patch with strong visual evidence and a resolved reduced-motion regression.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected before/after captures from the implemented Control UI with synthetic Gateway data show the changed work-card presentation and retained error row; reported Chromium coverage exercises refresh, reduced motion, and retry through the UI. This sufficiently covers the visual change without claiming live-provider behavior.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): Inspected before/after captures from the implemented Control UI with synthetic Gateway data show the changed work-card presentation and retained error row; reported Chromium coverage exercises refresh, reduced motion, and retry through the UI. This sufficiently covers the visual change without claiming live-provider behavior.
Evidence reviewed 8 items Introduced patch and merge ownership: Reviewed the merge-base-to-head patch. The verified test merge has the pinned base followed by the exact PR head as parents and contains only the five UI changes; the unrelated authorization changes belong to the base.
Presentation preserves the existing refresh owner: Pending selects the shared loader icon; button disabling, busy state, click handling, and the status node remain intact. CSS visually hides only pending and updated announcements. Failure and timeout rows remain visible, and the Gateway-backed store's request and retry behavior is unchanged.
Still necessary on current main: Fetched main still uses refresh arrows for pending and hides only the updated status text, leaving the additional loading row visible. The merged refresh feature at #154044 establishes the existing capability but does not supersede this presentation improvement.
Findings None None.
Security None None.

How this fits together

The chat work card displays progress received through the Gateway-backed progress store. Refresh state drives its button, accessible announcements, and visible failure messages.

flowchart LR
  A[Refresh button click] --> B[Progress store]
  B --> C[Gateway refresh request]
  C --> B
  B --> D[Work card presentation]
  D --> E[Loading or success icon]
  D --> F[Accessible status announcement]
  D --> G[Visible failure message]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +1, Tests +47. Total +48 across 5 files.

View PR surface stats
Area Files Added Removed Net
Source 3 5 4 +1
Tests 2 52 5 +47
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 5 57 9 +48

Review metrics

Metric Value Why it matters
Browser regression coverage 3 existing cases retained; 4.901 s reported test execution The existing matrix now checks normal motion, reduced motion, stable header height, and visible failure feedback without adding cases.

Technical review

Best possible solution:

Keep refresh feedback within the existing card presentation while preserving accessible announcements, visible failures, and the store's retry semantics.

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

Not applicable as a new functional defect: this is presentation polish, and current-main source plus the before screenshot establish the extra loading row.

Is this the best way to solve the issue?

Yes. Reusing the existing hidden-status styling and shared loader keeps the change within the presentation owner without duplicating refresh behavior.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against fa1640994c43.

Labels

Label justifications:

  • P3: This is bounded visual and copy polish with unchanged refresh requests, state ownership, and retry behavior.
  • 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 before/after captures from the implemented Control UI with synthetic Gateway data show the changed work-card presentation and retained error row; reported Chromium coverage exercises refresh, reduced motion, and retry through the UI. This sufficiently covers the visual change without claiming live-provider behavior.
  • proof: sufficient: Contributor real behavior proof is sufficient. Inspected before/after captures from the implemented Control UI with synthetic Gateway data show the changed work-card presentation and retained error row; reported Chromium coverage exercises refresh, reduced motion, and retry through the UI. This sufficiently covers the visual change without claiming live-provider behavior.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. Inspected before/after captures from the implemented Control UI with synthetic Gateway data show the changed work-card presentation and retained error row; reported Chromium coverage exercises refresh, reduced motion, and retry through the UI. This sufficiently covers the visual change without claiming live-provider behavior.

Evidence

What I checked:

  • Introduced patch and merge ownership: Reviewed the merge-base-to-head patch. The verified test merge has the pinned base followed by the exact PR head as parents and contains only the five UI changes; the unrelated authorization changes belong to the base. (081caad88afe)
  • Presentation preserves the existing refresh owner: Pending selects the shared loader icon; button disabling, busy state, click handling, and the status node remain intact. CSS visually hides only pending and updated announcements. Failure and timeout rows remain visible, and the Gateway-backed store's request and retry behavior is unchanged. (ui/src/components/session-progress-card.ts:62, 081caad88afe)
  • Still necessary on current main: Fetched main still uses refresh arrows for pending and hides only the updated status text, leaving the additional loading row visible. The merged refresh feature at feat(ui): refresh work progress without adding a chat message #154044 establishes the existing capability but does not supersede this presentation improvement. (ui/src/styles/chat/progress-card.css:207, fa1640994c43)
  • Latest release context: GitHub confirms v2026.9.5 was published September 19. Its progress-card stylesheet contains no refresh selectors, so that release does not already contain this refresh-feedback implementation. (ui/src/styles/chat/progress-card.css, ec9c1a13db89)
  • Inspected visual evidence: Inspected all four prepared images: desktop before, current desktop after, visible failure, and reduced-motion before. The after image shows a loader without the extra loading row; the failure image retains the shortened visible error. The correction comment reports three passing Chromium cases and a failing preceding-head reduced-motion regression. Its additional reduced-motion after image was absent from the prepared manifest and browser retrieval returned a cache miss; this reviewer limitation does not invalidate the inspected after image or recorded browser results. (081caad88afe)
  • Re-review continuity: GitHub content identities for the component and stylesheet at the preceding reviewed head exactly match the current blobs. Pending uses a distinct loader even when animation is disabled, resolving the earlier finding. Local comparison against that historical commit was unavailable; GitHub blob checks supplied the comparison instead. (ui/src/components/session-progress-card.ts:62, 081caad88afe)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • shakkernerd: 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 (4 earlier review cycles)
  • reviewed 2026-09-21T00:26:20.383Z sha 0de0630 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-21T02:00:23.354Z sha fba633b :: blocked before merge. :: [P2] Preserve visible pending feedback with reduced motion enabled
  • reviewed 2026-09-21T02:57:23.736Z sha 0c475eb :: needs maintainer review before merge. :: none
  • reviewed 2026-09-21T03:14:39.117Z sha 0c475eb :: needs maintainer review before merge. :: none

@roboclaw-bot
roboclaw-bot force-pushed the openclaw/quiet-progress-refresh-feedback branch from 0de0630 to fba633b Compare September 21, 2026 01:49
@clawsweeper clawsweeper Bot added 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. and removed 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 21, 2026
@roboclaw-bot

roboclaw-bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator Author

The reduced-motion finding is addressed in 0c475ebe70914ab0419560f9ae5dd114abd622ac. Pending state now uses the existing loading glyph instead of the idle refresh arrows. It rotates normally and remains a distinct static shape with reduced motion; the loading sentence stays visually hidden and live announcements remain intact.

The focused browser regression fails on the previous head because the pending and idle glyphs are identical (1 failure / 2 passes), then all 3 cases pass after the correction. The existing matrix now covers normal-motion desktop and reduced-motion narrow layouts; no extra test cases were added. The browser suite took 18.34 s, and all 42 component/store tests passed. UI types, test types, targeted lint, formatting, line caps, and independent P2 review also passed. The proof lease is stopped.

The navigation failure remains unexplained, not repaired. Current main AGENTS.md at 894fb140a22246bc1574d5b29fe61e10f77036de explicitly allows bounded, documented investigation to continue under normal CI and review gates; the unresolved failure alone is no longer an additional landing or approval gate. The original failure, reproductions, and uncertainty remain recorded in #154275.

Before — reduced motion

Before reduced motion

After — reduced motion

After reduced motion

Updated normal-motion pending state

Updated loading feedback

@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. labels Sep 21, 2026
@roboclaw-bot
roboclaw-bot force-pushed the openclaw/quiet-progress-refresh-feedback branch from 0c475eb to 081caad Compare September 21, 2026 03:53
@roboclaw-bot
roboclaw-bot enabled auto-merge (squash) September 21, 2026 03:56
@roboclaw-bot
roboclaw-bot merged commit a925e81 into main Sep 21, 2026
155 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/quiet-progress-refresh-feedback branch September 21, 2026 04:12
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 21, 2026
…aw#154193)

* fix(ui): keep progress refresh loading feedback in the button

Co-authored-by: steipete <[email protected]>
Co-authored-by: shakkernerd <[email protected]>

* fix(ui): keep refresh loading visible with reduced motion

Co-authored-by: steipete <[email protected]>
Co-authored-by: shakkernerd <[email protected]>

---------

Co-authored-by: steipete <[email protected]>
Co-authored-by: shakkernerd <[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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. 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: S 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