Repository navigation
fix(ui): keep chat footer controls clear of messages and notices - #152608
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: blocked before merge. Reviewed September 19, 2026, 5:05 AM ET / 09:05 UTC (Revision 6). ClawSweeper reviewWhat this changesThe PR separates chat messages from a bounded footer and makes model selection wait for concurrent OAuth refresh settlement before retrying. Merge readiness⛔ Blocked before merge - 1 item remains The PR remains useful and has no blocking findings. Earlier selector findings are resolved; the previous migration-proof blocker is unsupported because this diff changes in-memory coordination, not stored formats. Priority: P2 Review scores
Verification
How this fits togetherThe Control UI combines conversation messages, notices, and session controls into the chat pane. Separately, model selection reads authentication profiles whose credentials may be undergoing an OAuth refresh. flowchart TD
A[Messages and session updates] --> B[Chat layout]
B --> C[Scrollable transcript]
B --> D[Bounded footer context]
D --> E[Reachable editor and controls]
F[Model selection] --> G[Wait for active refresh]
G --> H[Fresh credential profile read]
Before merge
Agent review detailsSecurityNone. PR surfaceSource -160, Tests +851, Docs +10. Total +701 across 58 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Technical reviewBest possible solution: Keep one bounded footer layout and let model selection join the existing OAuth settlement owner without changing credential persistence or authorization. Do we have a high-confidence way to reproduce the issue? Yes: supplied captures demonstrate notice overlap, and focused source regressions establish the refresh claim/settlement race; this review did not rerun either scenario. Is this the best way to solve the issue? Yes: the patch consolidates footer geometry and reuses existing refresh, eligibility, and popup owners without introducing a competing public API or storage format. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 91dd566294db. LabelsLabel 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)
|
128e9ba to
0f9bf71
Compare
0f9bf71 to
b7e3c37
Compare
|
|
Merged via squash.
|
|
Maintainer disposition of the remaining compatibility checklist: this change adds process-local refresh coordination. It does not change credential serialization, persisted refresh markers, SQLite schemas, or upgrade paths. The existing OAuth owner retains persistence and exact-generation validation. The Required CI passed on the reviewed head: https://github.com/openclaw/openclaw/actions/runs/35432273842. The PR landed as |
Preserve main's landed OAuth settlement join and its real claim/settlement tests from #152608. Retire this branch's superseded extra-retry approach; the approved badge and fixture changes remain unchanged. Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
Retain the landed #152608 OAuth owner, its real settlement regressions, and the approved mention badge and fixture changes. Remove the superseded branch retry policy rather than layering two recovery mechanisms. Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
Simplify selected human mention badges with a borderless accent highlight, a 2px larger avatar, and no redundant visible @. Preserve original copied text, native selection, table TSV, accessible labels, profile-card interactions, and the keyboard focus ring. Correct the mock Gateway execution-model projection when starting the sole active run; retain known model data for an already-active run. Preserve main’s landed OAuth settlement owner without introducing a competing retry policy. Related: #152037, #152608. Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
…nclaw#152608) * fix(ui): keep chat footer controls clear of messages and notices * fix(ui): preserve synchronous chat measurement and complete footer cutover * fix(auth): join refresh settlement before retrying model selection
Simplify selected human mention badges with a borderless accent highlight, a 2px larger avatar, and no redundant visible @. Preserve original copied text, native selection, table TSV, accessible labels, profile-card interactions, and the keyboard focus ring. Correct the mock Gateway execution-model projection when starting the sole active run; retain known model data for an already-active run. Preserve main’s landed OAuth settlement owner without introducing a competing retry policy. Related: openclaw#152037, openclaw#152608. Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
What Problem This Solves
Persistent chat notices could cover pull request controls and the last reply. Dense footer content could also push the editor off screen. Related: #152386.
Validation exposed a separate chat-start race: one OAuth refresh could invalidate both model-selection reads before a reply. This PR also repairs that refresh ownership boundary.
User Impact
PRs, notices, questions, progress, and queued messages stay readable and actionable above the editor. Dense context scrolls within the footer; short panes preserve transcript space and reachable writing controls. CI menus remain usable outside the scrolling region.
Why This Change Was Made
The transcript and footer reserve separate space. One bounded footer context stack owns persistent content, while the editor and its menus stay outside that scroller. This removes negative offsets, overlay exceptions, duplicate widths, joined question framing, writing-status underlap, and unused PR expansion state. Gateway snapshots already contain at most three PRs.
Model selection joins matching refresh work before its existing single certified reread. The queue tracks durable settlement beyond caller timeout, and each waiting reader keeps the existing timeout budget. Explicit pins, credential ownership, read admission, and cleanup failures remain authoritative.
Evidence
The synthetic before capture reproduces a notice covering the entire PR row (32.8 px).
UI proof includes 85 focused end-to-end cases, 595 unit/browser owner tests, and follow-up scroll/geometry and retained-pane checks. Coverage exercises native touch and wheel boundaries, reader position, short panes, queue/question actions, and replacement plugin composers. Desktop and phone footer cases passed on Linux (Actions environment, Testbox lease stopped).
The auth race reproduced in CI and a traced Linux run. Its deterministic regression fails without the queue join and passes with it. Proof includes 64 focused auth cases, both preserved queue ownership/serialization tests, and 250 model-resolution sibling cases. All three unchanged quota scenarios passed on the final Linux candidate (Actions environment,
blacksmith-testboxleasetbx_01m2wc9wz7r4x4kccy2xz4qadm, stopped). Late durable settlement, waiter timeout, profile replacement/removal, failed refresh, and scope isolation are covered.Changed-file gates passed: types, lint, formatting, translations, dead exports, runtime cycles, and storage/auth guards. Independent P0–P2 review is clean. Three existing WebKit image-alignment cases were skipped locally because WebKit is unavailable.
Required CI passed on commit
768992065673f55d4d7dcfb0760c0a8eaae3ca4c: CI run.