Skip to content

refactor(ui): retire chat Web Awesome menu seams - #172597

Merged
steipete merged 12 commits into
mainfrom
solid2/w-chat-menu-selector-tests
Oct 15, 2026
Merged

steipete merged 12 commits into
mainfrom
solid2/w-chat-menu-selector-tests

Conversation

@steipete

@steipete steipete commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The native chat menu migration is complete, but the chat bundle still registers Web Awesome and retains an unused quick-action renderer plus Web Awesome keyboard selectors. The sidebar filter test also assumes the phone sheet produces only one occlusion transition while sliding into view.

Changes

Remove the unused ChatQuickActionItem, its slot argument, the composer’s Web Awesome registration, and the legacy dropdown selector branches. Live menu entries continue through the existing native Menu owner, including status content, icons, shortcuts, disabled state, and focus/dismissal behavior. No host tags or live CSS classes change.

The sidebar test still asserts an initially unoccluded viewport and every close/reopen transition. It starts the subsequent exact history after the opening animation settles, where geometry is stable.

All earlier selector edits were absorbed by main’s native-menu ports. This final diff contains four files against main 9eb0dbacda3e3c8b1b714670906bc3e9c6d57d84; the chat-pane lane overlap check is empty.

Evidence

Check Result
Source census No Web Awesome elements/registration or deleted quick-action adapter remain in scoped chat components/shared code
Independent review Final P0–P2 autoreview scoped-clean; independent root source inspection found no actionable issue
Focused tests Sidebar filter and native menu shortcut files: 19/19 passed with the exact frozen-lockfile dependency set (Vitest 5.0.3)
UI types pnpm install --frozen-lockfile and pnpm tsgo:ui passed. The first attempt exposed a stale local install (mediabunny missing); fixed by installing the existing lockfile, with no dependency or lockfile edits
Scoped lint/format Passed; existing structured-class warnings in untouched composer expressions
Full CI Exact head 940c1f6f707b65d4eb9983897adb15222ab97480, run 38816529518: 38 jobs passed, 26 skipped, zero failures; full UI/E2E and real-Gateway shards green
Startup Strict performance passed: 350,724 B gzip JS / 8 requests; 45,871 B gzip CSS / 1 request
Route boot comparison Same-machine base/head CI: chat 1,695,440 → 1,671,374 B (−24,066 B); new-session 1,387,204 → 1,363,214 B (−23,990 B). CSS unchanged

The removal affects only unused code and fallback branches. It adds no eager import or new lazy boundary. No local broad suite, E2E battery, parity run, or new visual build was run. The already inspected native menu before/after proof from the prerequisite is retained here; this cleanup changes none of that visible output:

Synthetic native menu before and after

LOC Before After Delta
Production 1,062 1,012 −50
Tests 672 678 +6
Total 1,734 1,690 −44

@steipete steipete added the ci:full Keep ordinary native-locale CI selection on the next PR run. label Oct 14, 2026
@clawsweeper

clawsweeper Bot commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper reviews are opt-in for maintainers. If a review is required, finish the work and validation first, then comment @clawsweeper review. Please avoid repeated requests while a review is queued or running; agents should not request reviews automatically.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 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-15T22:23:52.571447Z 940c1f6 New commits
ℹ️ 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 changed the title test: select chat menus through accessible roles refactor(ui): retire chat Web Awesome menu seams Oct 15, 2026
@steipete
steipete merged commit 87e282b into main Oct 15, 2026
111 of 113 checks passed
@steipete
steipete deleted the solid2/w-chat-menu-selector-tests branch October 15, 2026 23:00
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 16, 2026
* test(chat): decouple menu checks from Web Awesome

* test(ui): sample sidebar overlap after entry settles

* test(ui): target workspace clipboard menu actions by role

* test(ui): label active composer progress as commentary

* refactor(ui): retire chat Web Awesome menu seams
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 ci:full Keep ordinary native-locale CI selection on the next PR run. size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant