Skip to content

fix(ui): restore Settings navigation browser checks - #197156

Merged
Patrick-Erichsen merged 1 commit into
mainfrom
fix-settings-retained-rail-tests
Nov 11, 2026
Merged

Patrick-Erichsen merged 1 commit into
mainfrom
fix-settings-retained-rail-tests

Conversation

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor

What Problem This Solves

Settings browser checks fail after the intentional desktop navigation-rail retention in #196919 because six cases still expect the entire sidebar or Inbox to disappear.

User Impact

No user-visible behavior changes. The checks now protect the retained rail, hidden session panel, and uninterrupted admin access requests across Settings navigation.

Why This Change Was Made

Migrate the three missed browser-test consumers together and correct the stale Inbox-lifetime comment. Pending request identity, one request/wait, dismissal recurrence, approval, rotated token/scopes and Escape navigation assertions remain. The direct red-main repair push was rejected by the required-PR rule, so this submits the same tested patch through the protected workflow.

Evidence

Settings keeps the desktop navigation rail and Inbox while replacing the session panel. Update the missed browser assertions and preserve pending admin-request, recurrence, approval and Escape navigation checks.

Reproduced six failures on main 8830ff6. All 29 cases across the three affected files pass after the fixture migration (45.92s). Scoped lint, UI and UI E2E types, formatting and ratchets pass; net test-line growth is zero. Independent review found no actionable issues.
@clawsweeper

clawsweeper Bot commented Nov 11, 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.

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

@clawsweeper autofix

@clawsweeper

clawsweeper Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

@clawsweeper autofix is retired; ClawSweeper now only reviews.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 11, 2026
@clawsweeper

clawsweeper Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR updates Settings browser tests for the retained desktop navigation rail and corrects an outdated Inbox-lifetime comment.

Example: Open Settings while admin request upgrade-1 is pending.

  • Before: The browser test incorrectly requires the Inbox to disappear.
  • After: The test opens the retained Inbox, verifies the pending request, and preserves approval and Escape-navigation checks.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A correct, minimal test repair supported by source inspection and successful CI; inspected media belongs to the earlier navigation change.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored test-and-comment repair changes no shipped behavior; reported browser runs and successful current-head UI E2E checks support the assertion migration.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes · Fix scope: Complete
User problem: Browser checks reject the intended Settings navigation layout.
Reason: The repair restores useful coverage for the approved layout without changing production behavior or weakening admin-request outcomes.

Merge readiness

✅ Ready for maintainer review

Keep open: this PR narrowly repairs obsolete browser assertions while preserving the intended Settings layout and admin-request coverage; no actionable defect was found, and the reviewed head's CI gate passes.

Priority: P3
Reviewed head: 5ee0b71dabbacbf87e8f6923d7435e61f6ecc37d

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Control UI shell presents Settings beside the desktop navigation rail; browser tests drive navigation and inspect Inbox state using a mocked Gateway.

flowchart LR
  A[Browser test] --> B[Control UI shell]
  B --> C[Desktop navigation rail]
  B --> D[Settings sidebar]
  C --> E[Shared Inbox store]
  E --> F[Mock Gateway]
Loading

Technical review

Best possible solution:

Merge the focused assertion migration while retaining the existing shell and Inbox owners.

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

Current main retains the desktop rail but the affected tests still require its Inbox or entire sidebar to disappear; the author reports six baseline failures, and no tests were run during this read-only review.

Is this the best way to solve the issue?

Updating the existing assertions is the smallest complete fix because the retained rail is intentional and the surrounding lifecycle checks remain intact.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Settings rail and Inbox visibility assertions changes intended behavior with a stated reason (cabe4ba: The earlier layout deliberately excluded Inbox from Settings; the merged navigation change improve(macos): organize navigation in a compact dashboard header #196919 later retained the desktop rail.)
  • Ask OpenClaw Settings navigation assertion keeps the original intent (413d2fc: The existing scenario protects Settings navigation and non-onboarding behavior; the replacement assertions preserve those checks while distinguishing the session panel from the permanent rail.)
  • Pending-request screenshot capture keeps the original intent (08324bb: The capture path preserves viewport recordings when producing screenshots; this PR retains that capture owner and updates the scenario name.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vyctor H. Brzezowski: Raw commit cabe4ba adds ui/src/app/sidebar-attention-store.ts:52 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: cabe4bade07a; files: ui/src/app/sidebar-attention-store.ts)
  • Peter Steinberger: Raw commit 250e390 adds ui/src/app/sidebar-attention-store.ts:42 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 250e39005a41; files: ui/src/app/sidebar-attention-store.ts)

PR surface

Source 0, Tests 0. Total 0 across 4 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 1 1 0
Tests 3 13 13 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 4 14 14 0

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P3: This is a focused browser-test maintenance repair with no user-visible runtime change.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This is a focused browser-test maintenance repair with no user-visible runtime change.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 11, 2026, 4:30 AM ET / 09:30 UTC.

@Patrick-Erichsen
Patrick-Erichsen merged commit 147d041 into main Nov 11, 2026
98 of 100 checks passed
@Patrick-Erichsen
Patrick-Erichsen deleted the fix-settings-retained-rail-tests branch November 11, 2026 09:33
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 12, 2026
…claw#197156)

Settings keeps the desktop navigation rail and Inbox while replacing the session panel. Update the missed browser assertions and preserve pending admin-request, recurrence, approval and Escape navigation checks.

Reproduced six failures on main 53dfe7c. All 29 cases across the three affected files pass after the fixture migration (45.92s). Scoped lint, UI and UI E2E types, formatting and ratchets pass; net test-line growth is zero. Independent review found no actionable issues.
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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XS 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