Skip to content

fix(ui): theme assignee submenu and people menu - #132383

Merged
roboclaw-bot merged 1 commit into
mainfrom
openclaw/fix-unthemed-submenu-people-menu-with-screenshots
Aug 29, 2026
Merged

roboclaw-bot merged 1 commit into
mainfrom
openclaw/fix-unthemed-submenu-people-menu-with-screenshots

Conversation

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

Closes #132382

What Problem This Solves

Fixes an issue where users selecting a non-default Control UI theme would see the session assignee submenu and Activity people menu painted with Web Awesome's default dark surfaces instead of the active palette.

Why This Change Was Made

Themes Web Awesome's exported popup parts at the existing shared transient-surface boundary: every popup receives the OpenClaw popover background, overlay border, and overlay shadow, including dropdown-item submenus. The regression coverage reads the rendered shadow surfaces in real Chromium flows, so feature-specific content geometry stays independent.

User Impact

Nested assignee menus and the Activity people picker now stay visually consistent with the selected Control UI theme.

Evidence

Assignee submenu

Before After
Assignee submenu using Web Awesome's blue default surface Assignee submenu using the active Dash surface

Activity people menu

Before After
People menu using Web Awesome's default dark surface People menu using the active Dash surface
  • Baseline browser failures: AWS Crabbox cbx_49a9637eae90, runs run_5c508816541e and run_1cbcb70622f3.
  • Fixed browser proof: run_f69afd147542 — 2 files and 4 scenarios passed.
  • UI typecheck, Oxlint, and stylelint: run_5b0cbd5b97b5 — passed.
  • Autoreview: clean, no accepted/actionable findings.
  • Generic changed-gate guards passed. The full changed gate stopped in the unrelated core-test typecheck because the clean remote checkout could not resolve the existing @openclaw/session-url-contract/parse workspace import, including after one frozen reinstall (run_a3eb2b76b703).

Production LOC: +2/-0 (the missing exported-part selector and background declaration). Tests/test support: +108/-1.

AI-assisted: yes.

Worked on by:

@clawsweeper

clawsweeper Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@roboclaw-bot
roboclaw-bot marked this pull request as ready for review August 29, 2026 05:08
@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: S maintainer Maintainer-authored PR labels Aug 29, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. 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 Aug 29, 2026
@clawsweeper

clawsweeper Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 29, 2026, 1:16 AM ET / 05:16 UTC.

ClawSweeper review

What this changes

The PR applies the active Control UI palette to Web Awesome submenu and popover surfaces and adds Chromium checks for the session assignee and Activity people menus.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

No blocking correctness finding. This maintainer-labeled PR remains open for normal owner review and exact-head CI completion; its two-line shared styling change addresses the current-main gap without duplicating feature CSS.

Priority: P3
Reviewed head: fc18f4fa1838c8674feca575fe5a911634b009fa

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused shared-boundary repair with rendered regression checks and no supported correctness finding.
Proof confidence 🌊 off-meta tidepool Not applicable: This member/bot-authored UI PR is exempt from the external-contributor proof gate; its captured body nonetheless supplies before/after browser screenshots and a claimed fixed Crabbox run, though attachment inspection was unavailable because GitHub DNS failed.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This member/bot-authored UI PR is exempt from the external-contributor proof gate; its captured body nonetheless supplies before/after browser screenshots and a claimed fixed Crabbox run, though attachment inspection was unavailable because GitHub DNS failed.
Evidence reviewed 6 items Introduced shared repair: The PR adds the missing submenu exported-part selector and the shared popover background token at the shadow-DOM styling boundary.
Affected owners and callers: Session-owner choices are slotted as submenu items, while the Activity picker is a Web Awesome popover; both consume the shared exported-part styling.
Current-main necessity: Fetched main is unchanged from the PR base for the shared CSS and the two owner modules; current main still has border and shadow only, omitting submenu and background styling.
Findings None None.
Security None None.

How this fits together

Control UI stores the selected theme and exposes palette tokens through its shared stylesheet. Web Awesome renders menu panels inside shadow DOM, so exported component parts bridge those tokens to assignee submenus and Activity popovers.

flowchart LR
  A[Saved Control UI theme] --> B[Palette tokens]
  B --> C[Shared stylesheet]
  C --> D[Web Awesome exported parts]
  D --> E[Assignee submenu]
  D --> F[Activity people menu]
Loading

Before merge

  • Resolve merge risk (P1) - The local checkout lacks the pinned Web Awesome source and could not reach GitHub, so its exported-part declarations were not independently inspected; this is a reviewer limitation, not missing contributor proof.
  • Complete next step (P2) - The protected maintainer label keeps this PR in ordinary owner review; no narrow automated repair is indicated.
Agent review details

Security

None.

PR surface

Source +41, Tests +68. Total +109 across 4 files.

View PR surface stats
Area Files Added Removed Net
Source 2 41 0 +41
Tests 2 69 1 +68
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 4 110 1 +109

Review metrics

Metric Value Why it matters
Production versus test LOC production +2/-0; tests and test support +108/-1 The production growth is the shared submenu selector and background declaration; the remaining change is rendered Chromium coverage for both reported paths.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #132382
Summary: This PR is the explicit candidate fix for the linked Control UI visual regression.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Keep one shared exported-part rule for transient Web Awesome surfaces, retain the two rendered-menu assertions, and complete normal exact-head validation before landing.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Keep one shared exported-part rule for transient Web Awesome surfaces, retain the two rendered-menu assertions, and complete normal exact-head validation before landing.

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

Yes—source reproducible with high confidence: current main omits the submenu selector and shared background while the affected owners render those exact Web Awesome parts; the supplied issue also records the focused browser scenario.

Is this the best way to solve the issue?

Yes—the shared exported-part boundary is the narrowest maintainable fix because both affected menus are component-owned shadow surfaces and feature CSS continues to own only local geometry.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 5b7485fd4502.

Labels

Label changes:

  • add P3: This is a contained visual-consistency repair for non-default Control UI themes.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This member/bot-authored UI PR is exempt from the external-contributor proof gate; its captured body nonetheless supplies before/after browser screenshots and a claimed fixed Crabbox run, though attachment inspection was unavailable because GitHub DNS failed.

Label justifications:

  • P3: This is a contained visual-consistency repair for non-default Control UI themes.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This member/bot-authored UI PR is exempt from the external-contributor proof gate; its captured body nonetheless supplies before/after browser screenshots and a claimed fixed Crabbox run, though attachment inspection was unavailable because GitHub DNS failed.

Evidence

What I checked:

  • Introduced shared repair: The PR adds the missing submenu exported-part selector and the shared popover background token at the shadow-DOM styling boundary. (ui/src/styles/base.css:881, fc18f4fa1838)
  • Affected owners and callers: Session-owner choices are slotted as submenu items, while the Activity picker is a Web Awesome popover; both consume the shared exported-part styling. (ui/src/components/session-owner-menu.ts:35, fc18f4fa1838)
  • Current-main necessity: Fetched main is unchanged from the PR base for the shared CSS and the two owner modules; current main still has border and shadow only, omitting submenu and background styling. (ui/src/styles/base.css:880, 5b7485fd4502)
  • Behavioral regression coverage: The new Chromium flows wait for the real shadow part and compare its computed background, border, and shadow against active theme tokens for each reported menu. (ui/src/e2e/popup-theme.test-support.ts:9, fc18f4fa1838)
  • Styling-boundary provenance: Blame identifies the prior shared popup selector group as introduced in the Control UI picker/focus work; this patch extends that existing owner boundary rather than adding per-feature overrides. (ui/src/styles/base.css:878, a010ffeaf64c)
  • Dependency signal and inspection limit: The UI pins Web Awesome 3.11.0 and imports its dropdown, dropdown-item, and popover runtimes; its installed source was absent and GitHub DNS was unavailable, so upstream part declarations could not be independently read. (ui/package.json:12, fc18f4fa1838)

Likely related people:

  • Peter Steinberger: Git blame attributes the existing generic Web Awesome popup selector group to Peter Steinberger’s recent Control UI picker/focus commit. (role: introduced shared styling boundary; confidence: high; commits: a010ffeaf64c; files: ui/src/styles/base.css)

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.

@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Land-ready update for reviewed head fc18f4fa1838c8674feca575fe5a911634b009fa:

  • Direct inspection of the pinned Web Awesome 3.11.0 package confirms wa-dropdown-item exports part="submenu" and wa-popover exports part="body", satisfying the remaining dependency-contract rank-up move.
  • Baseline Crabbox runs run_5c508816541e and run_1cbcb70622f3 reproduced the rendered mismatch. Fixed run run_f69afd147542 passed four scenarios with:
    OPENCLAW_OWNER_ASSIGNMENT_PROOF_PHASE=after OPENCLAW_MENU_THEME_PROOF_PHASE=after node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/session-owner-assignment.e2e.test.ts ui/src/e2e/activity-session-feed.capture.e2e.test.ts
  • UI typecheck, Oxlint, and stylelint passed in run_5b0cbd5b97b5 using pnpm tsgo:ui, the targeted scripts/run-oxlint.mjs invocation, and scripts/run-stylelint.mts over the changed UI files.
  • The before/after screenshots in the PR body were individually inspected and show both corrected surfaces.
  • Fresh Autoreview is clean with no accepted/actionable findings.
  • Exact-head CI run 33235475443 is complete and green, including check-test-types and openclaw/ci-gate. The earlier clean-lease full changed-gate attempt had only a workspace-link resolver failure; hosted exact-head CI closes that infrastructure-only gap.

Production LOC: +2/-0. Tests and test support: +108/-1. No remaining proof gaps or actionable findings.

@roboclaw-bot
roboclaw-bot merged commit 9b1c4bb into main Aug 29, 2026
206 of 208 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/fix-unthemed-submenu-people-menu-with-screenshots branch August 29, 2026 05:42
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 30, 2026
Worked on by:
- @steipete

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: steipete <[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. 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.

Control UI assignee submenu and people popover ignore active theme

1 participant