Skip to content

fix(control-ui): open owner submenus immediately on click - #174292

Merged
steipete merged 1 commit into
mainfrom
steipete/coldload-owner-menu-open
Oct 16, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/coldload-owner-menu-open

Conversation

@steipete

@steipete steipete commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Related: #173867

What Problem This Solves

Clicking Assign to… while moving into the submenu waits for the hover delay instead of opening immediately. The cold-load campaign still measured 297–314 ms owner-menu opens after idle roster preparation.

User Impact

A 126-owner menu now has its body ready in 16.9 ms and reaches its first rendering opportunity in 33.7 ms. All owners, avatars, search, keyboard navigation, and the existing opening animation remain available. No configuration or migration is needed.

Why This Change Was Made

Zag's pending-hover state ignores TRIGGER_CLICK but accepts OPEN. The shared menu adapter now routes accepted submenu clicks through its existing open command. The native overlay still owns visibility, focus, cancellation, and sibling dismissal. Hover keeps its existing delay; root-menu clicks keep their toggle behavior. Idle roster preparation is unchanged.

Runtime delta: +5 lines (6 added, 1 removed). This replaces the ignored submenu click-forwarding path; the small branch preserves root-toggle versus submenu-open semantics. No virtualizer, new state, dependency, or server change. The requested diff-stat glob also counts the TSX regression test: +19 lines including that test, excluding docs.

Evidence

One quiet AWS c7a.4xlarge lease, cbx_a0d28533c6b5 (16 CPUs, 30 GiB RAM), repository Playwright Chromium 156, Team-scale production-bundle bench and campaign LoAF/mutation/RPC probes. Seven interleaved pairs per size: 28 untraced reloads, 56 measured opens. Separate traced opens supply CPU/layout attribution. Baseline reverses only this production patch in the same pinned checkout; both bundles use head d60183716333047497cb94c12d5a57466ebaeb2f as build identity.

Milliseconds: median (IQR width, inclusive quartiles), baseline → candidate.

Owners, open Body ready Rendering opportunity Animation complete
30, first 204.6 (0.20) → 10.1 (0.20) 213.8 (0.15) → 19.1 (0.45) 292.3 (0.25) → 95.1 (15.35)
30, second 204.4 (1.10) → 6.9 (0.05) 216.3 (1.15) → 15.9 (0.20) 295.9 (1.10) → 95.8 (0.10)
126, first 207.2 (0.40) → 16.9 (1.05) 223.6 (0.30) → 33.7 (2.15) 305.2 (0.35) → 120.2 (8.50)
126, second 206.6 (0.25) → 13.3 (0.10) 220.8 (0.40) → 27.9 (0.45) 308.0 (0.35) → 108.2 (0.25)

The rendering-opportunity metric is a task posted after the first ready animation frame, an upper bound rather than a compositor presentation timestamp. Every roster was fully prepared before pointerdown; every open retained exactly 30 or 126 owner rows. No measured open produced a long animation frame. The fixed ~200 ms admission wait, not roster construction, dominates the baseline. Timings were not measured on the shared Mac.

Opening attribution

The dominant delay is the pending-hover state, which ignores click activation. For 126 owners, pointerdown → overlay-show falls from 191.5 ms (IQR 0.30) to 1.6 ms (IQR 0.10), across the seven untraced pairs.

Separate 126-owner first-open CPU/trace captures, restricted to pointerdown through animation completion:

Owner/work Baseline Candidate
Browser layout 12.66 ms 13.34 ms
Browser style update 12.71 ms 12.09 ms
Menu/Zag JavaScript self time 5.30 ms 2.50 ms
Overlay/focus JavaScript self time 1.07 ms 0.32 ms
Solid JavaScript self time 2.13 ms 1.07 ms
Prebuilt owner rows 126 126
Long animation frames during untraced opens 0 0

CPU rows are diagnostic single captures, not the seven-pair timing comparison, and are not additive. Profiling inflates absolute work. All eligible bundle frames mapped successfully (zero unmapped). Roster construction/sort/filter and avatar construction had no opening-interval samples; this standard fixture uses initial avatars and makes no owner-avatar image requests during opening. Existing assignment E2E also covers actual avatar images, search and 1,000-person directories.

  • Regression fails on the original code at the native open assertion, passes after this change with no hover-timer advance.
  • Menu lifecycle: 15/15 passed locally (3.13 s wall).
  • Owner-assignment UI E2E: 12/12 passed (44.16 s wall), including 1,000-person directories, header/sidebar, keyboard, offline owners, and failure recovery.
  • Native menu suites: 118/118, Chromium and WebKit, 12 project files (8.95 s).
  • Autoreview: clean through P2.
  • All ten affected test type graphs and the UI typecheck passed. Changed-file lint (zero errors), formatting, i18n, and the other scoped guards passed.
  • The aggregate changed-file command exits 1 on inherited max-lines suppressions and dead exports in untouched files. All finding files are byte-for-byte unchanged from the branch base. Current main already removes the dead exports in fix(ci): repair auth wrapper and unused helper exports #174296 and refactor(ui): derive view lifetimes and retire unused controllers #174263; no guard was skipped or weakened.
  • Full UI E2E completed on the measured head: 813/814 files passed; 3,530 tests passed, 1 failed, 1 skipped (91.29 minutes). The skipped case requires a configured desktop worker carrier.
  • The only full-suite failure is extensions/qa-lab/src/control-ui-automation-management.real-gateway.e2e.test.ts, case “configured owners and admin chat manage a Telegram-created job while a non-owner cannot.” Crabline rejects the AWS lease’s group-writable artifact ancestry with Private mutation boundary is writable by another POSIX principal. It fails during transport setup, before this case starts its Gateway or browser. The same case reproduces with the identical stack on current main ec90dc1ef23d, in a separate checkout with its own frozen-lockfile install on the same lease. No permissions, tests, or guards were weakened.
  • Exact-head CI run 38917995902 completed successfully at d60183716333047497cb94c12d5a57466ebaeb2f. The campaign lead owns review and landing; no automatic merge is requested.
Full-suite and main-comparison commands
node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --reporter=default --reporter=json --outputFile=.local/l103/full-ui.json

# Separate current-main checkout; same AWS lease, frozen-lockfile install.
node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts extensions/qa-lab/src/control-ui-automation-management.real-gateway.e2e.test.ts --testNamePattern 'configured owners and admin chat manage' --maxWorkers=1 --reporter=default --reporter=json --outputFile=.local/l103/main-repro.json

The main comparison selects only the failing case: it failed identically; its sibling was filtered out. Results and complete logs are retained locally with the campaign evidence.

Harness setup attempts are excluded from the sample set: the stock fixture omitted the assignment capability; the final fixture advertises the real method, uses native pointer input, and verifies enabled state and complete rosters. No application guard was bypassed.

The inspected screenshots contain only synthetic fixture data. They show the unchanged full menu after opening.

Before After
Before: synthetic 126-owner menu After: synthetic 126-owner menu

@clawsweeper

clawsweeper Bot commented Oct 16, 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.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: XS labels Oct 16, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. 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-repro Preliminary submission classification; full source review pending. labels Oct 16, 2026
@clawsweeper

clawsweeper Bot commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Make clicked submenus open immediately while preserving delayed hover opening.

Example: Click Assign to… while its hover delay is pending.

  • Before: The click is ignored and the submenu waits for the hover delay.
  • After: The submenu opens immediately and focuses its first available entry.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A small, source-supported repair with a meaningful browser regression; supplied validation remains harness-based and the experiment is intentionally awaiting measurement.
Proof confidence 🦐 gold shrimp (3/6) The ordinary contributor-proof gate is exempt for this maintainer-authored PR; supplied evidence reports browser regression and owner-assignment E2E results, while the changed dashboard click path and campaign comparison have no attached runtime output yet.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Clicking Assign to… while its hover timer is pending does not immediately open the owner choices.
Reason: Immediate response to an explicit click has clear value, the repair uses the existing shared owner, and the maintainer-authored experiment already establishes direction while reserving promotion to its campaign.

Merge readiness

✅ Ready for maintainer review

Keep this PR open under its explicit experimental hold; the focused fix addresses a source-confirmed click failure, and no introduced correctness or security defect was found.

Priority: P2
Reviewed head: d60183716333047497cb94c12d5a57466ebaeb2f

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: The planned dashboard deep-link comparison has not yet supplied an after-fix runtime artifact for immediate owner-submenu opening.
Agent review details

How this fits together

The shared Control UI menu binding translates pointer and keyboard input into Zag commands, while the existing overlay lifecycle owns popup admission, visibility, dismissal, and focus.

flowchart LR
  A[Submenu click] --> B[Shared menu binding]
  B --> C[Zag OPEN command]
  C --> D[Overlay lifecycle]
  D --> E[Native popup]
  E --> F[Owner choices and focus]
Loading

Technical review

Best possible solution:

Retain the focused shared-menu repair as a draft until the campaign lead evaluates the planned comparison and decides whether to promote it.

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

The current-main click binding and pinned Zag state machine establish the pending-hover failure directly; the PR reports a failing-before/passing-after regression, but no execution was performed during this review.

Is this the best way to solve the issue?

Using the existing OPEN command fixes the ignored input at the shared binding without adding a visibility owner or changing hover preparation.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 67b7402dc5e5.

Provenance checked

  • Shared submenu click dispatch changes intended behavior with a stated reason (b68c44c: The native Solid overlay migration delegated menu commands to Zag while preserving lifecycle, keyboard, focus, and cancellation ownership.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit b68c44c adds ui/src/components/solid/menu-machine.ts:250 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: b68c44ca8f3c; files: ui/src/components/solid/menu-machine.ts)

PR surface

Source +5, Tests +14, Docs +3. Total +22 across 3 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 6 1 +5
Tests 1 14 0 +14
Docs 1 3 0 +3
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 23 1 +22

Labels

Label changes:

  • add P2: An explicit submenu click can be ignored during hover admission, creating limited Control UI interaction friction.
  • 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:

  • P2: An explicit submenu click can be ignored during hover admission, creating limited Control UI interaction friction.
  • 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.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Attach the planned baseline/candidate comparison showing immediate submenu opening and its rendering cost before campaign promotion.

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 October 16, 2026, 10:26 AM ET / 14:26 UTC.

@steipete steipete changed the title experiment(control-ui): open owner menu on click [do not merge] fix(control-ui): open owner submenus immediately on click Oct 16, 2026
@steipete
steipete marked this pull request as ready for review October 16, 2026 14:42
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T14:46:47.665280Z d601837 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@steipete
steipete merged commit fdbc6aa into main Oct 16, 2026
185 of 188 checks passed
@steipete
steipete deleted the steipete/coldload-owner-menu-open branch October 16, 2026 16:40
vincentkoc added a commit that referenced this pull request Oct 16, 2026
* commit 'a4c73619a5c': (29 commits)
  test: align model and Discord fixtures with runtime owners
  perf(sessions): reuse startup deletion discovery (#174408)
  fix(gateway): attribute ephemeral connections in normal logs (#174406)
  test(telegram): consolidate duplicate coverage (batch d117) (#173112)
  perf(doctor): avoid redundant backup and transcript reads (#174416)
  fix(update): avoid redundant reads for closed SQLite generations (#174426)
  fix(ui): Activity page tabs collapse to a few pixels on desktop (#173856)
  fix(decisions): skip prefilter for empty tool surfaces (#174269)
  perf(sqlite): retain unchanged database proofs across schema updates (#174409)
  refactor(test): remove duplicate export collision checks (#174391)
  fix: clear unused MCP and identity helper exports (#174421)
  fix(test): supply SQLite reliability fixture catalog
  refactor(mattermost): use the guarded transport directly (#174419)
  refactor(agents): trust prepared provider facts (#174388)
  fix(control-ui): open submenus immediately on click (#174292)
  test(anthropic): synchronize the late-send fixture with initialization
  refactor(ui): scope Plugins page state to Solid owners (#174281)
  perf(chat): pace board history refreshes and reuse cursors (#174407)
  perf(sqlite): bound session receipt scope publication (#174395)
  refactor(openrouter): share key budget test fixtures (#174340)
  ...
vincentkoc added a commit that referenced this pull request Oct 16, 2026
…157433

* commit '2e8bfec53fc1cf06c9e438f42b027a82e04ace9a': (29 commits)
  test: align model and Discord fixtures with runtime owners
  perf(sessions): reuse startup deletion discovery (#174408)
  fix(gateway): attribute ephemeral connections in normal logs (#174406)
  test(telegram): consolidate duplicate coverage (batch d117) (#173112)
  perf(doctor): avoid redundant backup and transcript reads (#174416)
  fix(update): avoid redundant reads for closed SQLite generations (#174426)
  fix(ui): Activity page tabs collapse to a few pixels on desktop (#173856)
  fix(decisions): skip prefilter for empty tool surfaces (#174269)
  perf(sqlite): retain unchanged database proofs across schema updates (#174409)
  refactor(test): remove duplicate export collision checks (#174391)
  fix: clear unused MCP and identity helper exports (#174421)
  fix(test): supply SQLite reliability fixture catalog
  refactor(mattermost): use the guarded transport directly (#174419)
  refactor(agents): trust prepared provider facts (#174388)
  fix(control-ui): open submenus immediately on click (#174292)
  test(anthropic): synchronize the late-send fixture with initialization
  refactor(ui): scope Plugins page state to Solid owners (#174281)
  perf(chat): pace board history refreshes and reuse cursors (#174407)
  perf(sqlite): bound session receipt scope publication (#174395)
  refactor(openrouter): share key budget test fixtures (#174340)
  ...
vincentkoc added a commit that referenced this pull request Oct 16, 2026
…/decision-onnx-v2-proof-20261016

* commit '2e8bfec53fc1cf06c9e438f42b027a82e04ace9a': (29 commits)
  test: align model and Discord fixtures with runtime owners
  perf(sessions): reuse startup deletion discovery (#174408)
  fix(gateway): attribute ephemeral connections in normal logs (#174406)
  test(telegram): consolidate duplicate coverage (batch d117) (#173112)
  perf(doctor): avoid redundant backup and transcript reads (#174416)
  fix(update): avoid redundant reads for closed SQLite generations (#174426)
  fix(ui): Activity page tabs collapse to a few pixels on desktop (#173856)
  fix(decisions): skip prefilter for empty tool surfaces (#174269)
  perf(sqlite): retain unchanged database proofs across schema updates (#174409)
  refactor(test): remove duplicate export collision checks (#174391)
  fix: clear unused MCP and identity helper exports (#174421)
  fix(test): supply SQLite reliability fixture catalog
  refactor(mattermost): use the guarded transport directly (#174419)
  refactor(agents): trust prepared provider facts (#174388)
  fix(control-ui): open submenus immediately on click (#174292)
  test(anthropic): synchronize the late-send fixture with initialization
  refactor(ui): scope Plugins page state to Solid owners (#174281)
  perf(chat): pace board history refreshes and reuse cursors (#174407)
  perf(sqlite): bound session receipt scope publication (#174395)
  refactor(openrouter): share key budget test fixtures (#174340)
  ...
vincentkoc added a commit that referenced this pull request Oct 16, 2026
…ision-accounting-native

* commit '2e8bfec53fc1cf06c9e438f42b027a82e04ace9a': (29 commits)
  test: align model and Discord fixtures with runtime owners
  perf(sessions): reuse startup deletion discovery (#174408)
  fix(gateway): attribute ephemeral connections in normal logs (#174406)
  test(telegram): consolidate duplicate coverage (batch d117) (#173112)
  perf(doctor): avoid redundant backup and transcript reads (#174416)
  fix(update): avoid redundant reads for closed SQLite generations (#174426)
  fix(ui): Activity page tabs collapse to a few pixels on desktop (#173856)
  fix(decisions): skip prefilter for empty tool surfaces (#174269)
  perf(sqlite): retain unchanged database proofs across schema updates (#174409)
  refactor(test): remove duplicate export collision checks (#174391)
  fix: clear unused MCP and identity helper exports (#174421)
  fix(test): supply SQLite reliability fixture catalog
  refactor(mattermost): use the guarded transport directly (#174419)
  refactor(agents): trust prepared provider facts (#174388)
  fix(control-ui): open submenus immediately on click (#174292)
  test(anthropic): synchronize the late-send fixture with initialization
  refactor(ui): scope Plugins page state to Solid owners (#174281)
  perf(chat): pace board history refreshes and reuse cursors (#174407)
  perf(sqlite): bound session receipt scope publication (#174395)
  refactor(openrouter): share key budget test fixtures (#174340)
  ...
vincentkoc added a commit that referenced this pull request Oct 16, 2026
…158510

* commit '26cbd409b9753a9318a6dc09f97b2f0b4b776a09': (29 commits)
  test: align model and Discord fixtures with runtime owners
  perf(sessions): reuse startup deletion discovery (#174408)
  fix(gateway): attribute ephemeral connections in normal logs (#174406)
  test(telegram): consolidate duplicate coverage (batch d117) (#173112)
  perf(doctor): avoid redundant backup and transcript reads (#174416)
  fix(update): avoid redundant reads for closed SQLite generations (#174426)
  fix(ui): Activity page tabs collapse to a few pixels on desktop (#173856)
  fix(decisions): skip prefilter for empty tool surfaces (#174269)
  perf(sqlite): retain unchanged database proofs across schema updates (#174409)
  refactor(test): remove duplicate export collision checks (#174391)
  fix: clear unused MCP and identity helper exports (#174421)
  fix(test): supply SQLite reliability fixture catalog
  refactor(mattermost): use the guarded transport directly (#174419)
  refactor(agents): trust prepared provider facts (#174388)
  fix(control-ui): open submenus immediately on click (#174292)
  test(anthropic): synchronize the late-send fixture with initialization
  refactor(ui): scope Plugins page state to Solid owners (#174281)
  perf(chat): pace board history refreshes and reuse cursors (#174407)
  perf(sqlite): bound session receipt scope publication (#174395)
  refactor(openrouter): share key budget test fixtures (#174340)
  ...
vincentkoc added a commit that referenced this pull request Oct 16, 2026
…esafe-decision-native

* commit '26cbd409b9753a9318a6dc09f97b2f0b4b776a09': (29 commits)
  test: align model and Discord fixtures with runtime owners
  perf(sessions): reuse startup deletion discovery (#174408)
  fix(gateway): attribute ephemeral connections in normal logs (#174406)
  test(telegram): consolidate duplicate coverage (batch d117) (#173112)
  perf(doctor): avoid redundant backup and transcript reads (#174416)
  fix(update): avoid redundant reads for closed SQLite generations (#174426)
  fix(ui): Activity page tabs collapse to a few pixels on desktop (#173856)
  fix(decisions): skip prefilter for empty tool surfaces (#174269)
  perf(sqlite): retain unchanged database proofs across schema updates (#174409)
  refactor(test): remove duplicate export collision checks (#174391)
  fix: clear unused MCP and identity helper exports (#174421)
  fix(test): supply SQLite reliability fixture catalog
  refactor(mattermost): use the guarded transport directly (#174419)
  refactor(agents): trust prepared provider facts (#174388)
  fix(control-ui): open submenus immediately on click (#174292)
  test(anthropic): synchronize the late-send fixture with initialization
  refactor(ui): scope Plugins page state to Solid owners (#174281)
  perf(chat): pace board history refreshes and reuse cursors (#174407)
  perf(sqlite): bound session receipt scope publication (#174395)
  refactor(openrouter): share key budget test fixtures (#174340)
  ...
vincentkoc added a commit that referenced this pull request Oct 16, 2026
…/decision-tool-v2-proof-20261016

* commit '26cbd409b9753a9318a6dc09f97b2f0b4b776a09': (29 commits)
  test: align model and Discord fixtures with runtime owners
  perf(sessions): reuse startup deletion discovery (#174408)
  fix(gateway): attribute ephemeral connections in normal logs (#174406)
  test(telegram): consolidate duplicate coverage (batch d117) (#173112)
  perf(doctor): avoid redundant backup and transcript reads (#174416)
  fix(update): avoid redundant reads for closed SQLite generations (#174426)
  fix(ui): Activity page tabs collapse to a few pixels on desktop (#173856)
  fix(decisions): skip prefilter for empty tool surfaces (#174269)
  perf(sqlite): retain unchanged database proofs across schema updates (#174409)
  refactor(test): remove duplicate export collision checks (#174391)
  fix: clear unused MCP and identity helper exports (#174421)
  fix(test): supply SQLite reliability fixture catalog
  refactor(mattermost): use the guarded transport directly (#174419)
  refactor(agents): trust prepared provider facts (#174388)
  fix(control-ui): open submenus immediately on click (#174292)
  test(anthropic): synchronize the late-send fixture with initialization
  refactor(ui): scope Plugins page state to Solid owners (#174281)
  perf(chat): pace board history refreshes and reuse cursors (#174407)
  perf(sqlite): bound session receipt scope publication (#174395)
  refactor(openrouter): share key budget test fixtures (#174340)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 17, 2026
Zag's menu machine ignores TRIGGER_CLICK on a submenu trigger while its 200 ms hover-open delay is pending, so clicking into a submenu (e.g. the chat header's assign-owner menu) always waited ~200 ms regardless of render cost. Submenu trigger clicks now open the submenu directly unless the event was prevented; keyboard navigation, hover behaviour and idle preparation (openclaw#173867) are unchanged.

Seven interleaved AWS pairs per size, pointerdown to rendering opportunity: 30 owners first open 214 -> 19 ms, second 216 -> 16 ms; 126 owners first 224 -> 34 ms, second 221 -> 28 ms; zero long frames across 56 opens. Runtime +5 LOC. Native menu tests 118/118, owner-assignment e2e 12/12; full UI e2e passes apart from a Crabline lease-permission failure reproduced on main. Exact-head CI green.
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 docs Improvements or additions to documentation P2 Normal backlog priority with limited blast radius. 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