Repository navigation
refactor(ui): use Web Awesome controls throughout Control UI - #106865
Conversation
Dependency GuardThis PR changes dependency-related files. Maintainers should confirm these changes are intentional. Changed files:
Maintainer follow-up:
|
Dependency graph changes notedThis PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin or a member of
Security review is still recommended before merge when the dependency graph change is intentional. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 18ab0107e1
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| @wa-tab-show=${(event: CustomEvent<{ name: string }>) => | ||
| navigateToWorkspaceTab(event.detail.name)} |
There was a problem hiding this comment.
Guard same-tab workspace tab events
When the Workspaces view mounts, Web Awesome can emit wa-tab-show for the already active tab, but this handler unconditionally calls navigateToWorkspaceTab(), which always does history.pushState. Opening a workspace deep link such as /plugin?plugin=workspaces&id=workspaces&ws=main therefore adds a duplicate history entry before the user changes tabs, making Back appear to do nothing once. Skip the navigation when event.detail.name already matches state.activeSlug or the current ws param.
Useful? React with 👍 / 👎.
|
Land-ready at Proof:
Known proof gap: a broad UI E2E attempt passed 179/185. The six failures were in unchanged Talk, transcript-search, and usage assertions that did not match current-main behavior; all 46 migration-focused browser flows and the hosted Control UI suite passed. |
|
Merged via squash.
|
…w#106865) * refactor(ui): add Web Awesome foundation * refactor(ui): migrate shared menus and chat controls * refactor(ui): migrate page controls to Web Awesome * refactor(ui): migrate workboard controls to Web Awesome * fix(ui): harden Web Awesome interactions * test(ui): type Web Awesome dropdown state * fix(ui): preserve menu focus and selection * fix(ui): restore agent picker focus * fix(ui): track keyboard menu dismissal * fix(ui): ignore stale session menu closes * fix(ui): complete Web Awesome keyboard migration * fix(ui): repair Web Awesome lockfile graph * docs(ui): keep release note in PR body * fix(ui): satisfy Web Awesome migration gates * perf(ui): keep Web Awesome theme in startup stylesheet * fix(ui): replace reopened Web Awesome session menus * fix(ui): keep replacement session menus open
|
Post-merge full UI shard failure on current
The shard result is 2 failed / 3,840 passed / 11 skipped. |
Closes #106266
Follows #106320, which landed the keyboard and focus foundation used by this migration.
What Problem This Solves
Resolves a problem where Control UI dialogs, menus, tabs, selects, switches, and segmented controls used many separate homegrown interaction models, leaving keyboard navigation, focus restoration, and overlay behavior uneven across the app.
Why This Change Was Made
Migrates the complete targeted control surface to Web Awesome 3.10.0, with small OpenClaw adapters only where product state or event semantics need integration. Native text, date, file, and other browser-owned form inputs remain native.
The migration keeps component registration split by route surface, preserves the startup bundle budget, and adds a guard against reintroducing the retired homegrown control patterns.
User Impact
Users get consistent keyboard-operable dialogs, menus, tabs, selection controls, and switches throughout Control UI. Escape handling, focus return, responsive popover placement, reconnect state, and assistive semantics remain covered across the migrated workflows.
Evidence
git diff --check; hosted clean-install CI is https://github.com/openclaw/openclaw/actions/runs/29296303189.