Skip to content

improve(ui): tidy the account menu - #196688

Merged
vyctorbrzezowski merged 9 commits into
mainfrom
brzezowski/ocid-account-menu
Nov 11, 2026
Merged

vyctorbrzezowski merged 9 commits into
mainfrom
brzezowski/ocid-account-menu

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

The account menu scatters remote-access actions among app controls and separates sign-in from the claw’s connection state.

User Impact

Users get one claw card directly below their identity: sign in, turn on remote access, view Online/Offline status and copy the address, or see the tunnel connection context. When sign-in is unavailable, the same disabled card explains why. Identity names, email and fallbacks still come from the Gateway-verified connection.

State changes and controls animate and respect reduced motion.

Why This Change Was Made

Group the claw and its devices together, then Settings, Updates, Usage, System busyness and Help, with sign-out last. The footer retains the version line and color-mode control. Gateway switching, reconnect, pairing permissions, app links, Help submenus, shortcuts and update indication retain their existing commands. No configuration migration or user action is required.

Evidence

Before: the supplied, unedited main captures (d8bc345a7d1). Menu After captures: clean production builds of be017ce68b45 and a6c30f6ea6a (the three hovered cards), using synthetic Gateway responses and the same account, claw, session and model data. Every paired image uses a 1280 × 900 light viewport. These are UI-state checks, not live account-service or tunnel transport validation.

Scenario Before After
Signed out · menu open · 1280 light Before: Signed out · menu open · 1280 light After: Signed out · menu open · 1280 light
Sign-in blocked off this computer · card hovered · 1280 light Before: Sign-in blocked off this computer · card hovered · 1280 light After: Sign-in blocked off this computer · card hovered · 1280 light
Sign-in not configured · card hovered · 1280 light Before: Sign-in not configured · card hovered · 1280 light After: Sign-in not configured · card hovered · 1280 light
Signed in · remote access not enabled · menu open · 1280 light Before: Signed in · remote access not enabled · menu open · 1280 light After: Signed in · remote access not enabled · menu open · 1280 light
Remote access on · Online · menu open · 1280 light Before: Remote access on · Online · menu open · 1280 light After: Remote access on · Online · menu open · 1280 light
Remote access on · Offline · menu open · 1280 light Before: Remote access on · Offline · menu open · 1280 light After: Remote access on · Offline · menu open · 1280 light

The following states have no matching Before capture in the supplied set.

State Screenshot
Tunnel owner · account menu and navigation drawer open · 390 dark Tunnel owner · account menu and navigation drawer open · 390 dark
Remote access on · card hovered · 1280 light Remote access on · card hovered · 1280 light
Remote access on · touch controls · 390 dark Remote access on · touch controls · 390 dark

Validation: 81 focused component/unit tests, one Chromium keyboard test and two production-bundle E2E tests passed. UI typechecking, focused source and stylesheet lint, formatting and git diff --check passed. Repository-wide pnpm lint reports 22 pre-existing file-length violations outside this change. The production UI build passed. The report-only performance check reports CSS budget warnings.

Not shown: live sign-in, callback error toasts, member-role variants and native Gateway switching; the selected images focus on menu composition, with command and permission coverage in tests. Labs retains its existing feature toggle and account-menu guidance; there is no setup action to restyle. The entire linked card copies the address; hover and keyboard focus replace the state with the copy icon, followed by a check on success. Touch devices show state and copy together. Your devices has no count.

@clawsweeper

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

@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Nov 10, 2026
@clawsweeper

clawsweeper Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: stale review; fresh review needed.

Summary
The latest durable ClawSweeper review was for head 159e856b0cb6414bb37485a3f80117f7b420e1e5, but the PR head is now f65bbd5366e11888894ee6f190ffa0bb6a0b6032. Its old verdict and PR readiness labels are no longer current.

Next step
Comment @clawsweeper re-review when the current head is ready; pushes after the first review are not reviewed automatically.

Review history (1 earlier review cycle)
  • reviewed 2026-11-10T13:45:38.612Z sha 159e856 :: needs maintainer review before merge. :: none

@vyctorbrzezowski vyctorbrzezowski changed the title Regroup the account menu around the claw card improve(ui): Group the account menu around the claw card Nov 10, 2026
@clawsweeper clawsweeper Bot removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Nov 11, 2026
@vyctorbrzezowski vyctorbrzezowski changed the title improve(ui): Group the account menu around the claw card improve(ui): tidy the account menu Nov 11, 2026
@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review November 11, 2026 17:57
@vyctorbrzezowski
vyctorbrzezowski merged commit 5a371b7 into main Nov 11, 2026
79 of 82 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/ocid-account-menu branch November 11, 2026 18:31
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 12, 2026
Polish the account menu and keep the disabled sign-in explanation accessible. Update the existing browser expectation for the approved inline explanation.

Focused tests and functional CI passed. Retain the approved styling with the maintainer-authorized CSS size exception.

Co-authored-by: Vyctor H. Brzezowski <[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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant