Repository navigation
fix(ui): keep progress refresh loading feedback in the button - #154193
Conversation
|
🦞👀 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. |
|
Codex review: needs maintainer review before merge. Reviewed September 21, 2026, 12:10 AM ET / 04:10 UTC (Revision 5). ClawSweeper reviewWhat this changesThe 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 Review scores
Verification
How this fits togetherThe 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]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +1, Tests +47. Total +48 across 5 files. View PR surface stats
Review metrics
Technical reviewBest 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. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
0de0630 to
fba633b
Compare
|
The reduced-motion finding is addressed in 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 Before — reduced motionAfter — 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]>
0c475eb to
081caad
Compare
…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]>



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
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.mdat894fb140a22246bc1574d5b29fe61e10f77036deexplicitly 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-sparkplugargument. 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
After
Errors remain visible
View the OpenClaw team session