Repository navigation
refactor(ui): collapse sidebar inheritance tower to three classes - #112969
Merged
Merged
Conversation
steipete
marked this pull request as ready for review
July 23, 2026 08:14
Contributor
Author
|
ClawSweeper's immutable exact-head review artifact from run 29990653397 reports no findings and judges the patch correct. Its public comment publication is delayed by the currently critical publication backlog, so I reviewed the artifact directly before landing. Rank-up moves addressed:
No ClawSweeper finding or maintainer decision remains open. |
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 24, 2026
This was referenced Oct 9, 2026
This was referenced Oct 16, 2026
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.
PR 6, the finale of the sidebar-flattening series.
Prior stages:
What Problem This Solves
The Control UI sidebar still had seven inheritance levels after the controller extractions, leaving four shell classes whose remaining responsibility was field placement and forwarding rather than a distinct behavior boundary.
The full program now ends at three classes:
Why This Change Was Made
Projection and ownership now live directly on
AppSidebarSessionNavigationElement. Narration and list wiring now live directly onAppSidebar, while pure navigation and chrome-rendering work moved to free functions in sibling modules so neither surviving class needs a max-lines suppression.The merge preserves the old field-initializer order and lifecycle callback order. The narration controller remains behind its original dynamic import, and the organizer/menu controllers remain on the final element side of the boundary.
Across the full series, GitHub numstat is +4,731/-3,684. This finale is +1,273/-1,067 across eight files; the added lines are explicit host/free-function contracts replacing four inheritance layers.
User Impact
None. This is a behavior-neutral ownership refactor.
Evidence
check:changedpassed on Blacksmith Testbox, including the max-lines ratchet, formatting, i18n, typechecks, and lint.app-sidebar-session-narration-*.jschunk, and[INEFFECTIVE_DYNAMIC_IMPORT]was absent.AI-assisted change; implementation and proof were reviewed with the repository autoreview workflow.