Repository navigation
refactor(ui): split app sidebar responsibilities - #108422
Merged
Merged
Conversation
steipete
force-pushed
the
codex/refactor-app-sidebar
branch
from
July 15, 2026 22:44
81463fa to
8f9d41c
Compare
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 16, 2026
* refactor(ui): split app sidebar responsibilities * fix(ui): keep sidebar menu action type private
zooqueen
pushed a commit
to zooqueen/openclaw
that referenced
this pull request
Sep 11, 2026
* refactor(ui): split app sidebar responsibilities * fix(ui): keep sidebar menu action type private
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
The Control UI sidebar had grown into a 3,000-line component that mixed stable element inputs, session data synchronization, navigation, mutations, grouping, popup ownership, and presentation. That made routine sidebar changes harder to review and kept the file on the max-lines grandfather list.
Why This Change Was Made
Split the sidebar into focused abstract layers for its stable contract, session data, navigation, mutations, grouping, and menus, leaving the custom element as the presentation shell. Existing behavior remains on the same custom element, including the newly landed cloud-worker reclaim flow; no compatibility shim or duplicate path was added.
User Impact
No user-visible or visual change. Maintainers get smaller ownership surfaces, clearer lifecycle and mutation boundaries, and removal of the sidebar's max-lines exemption.
Evidence
pnpm test ui/src/components/app-sidebar.test.ts— 78 passed, including cloud-worker reclaim.pnpm test ui/src/e2e/sidebar-customization.e2e.test.ts— 8 passed in Chromium.tsgo, targetedoxlint,oxfmt --check, and max-lines ratchet passed.pnpm buildpassed, including Control UI build and performance budgets.AI-assisted: yes.