Repository navigation
refactor(ui): remove redundant component rendering layers - #177607
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
steipete
enabled auto-merge (squash)
October 19, 2026 19:08
steipete
disabled auto-merge
October 19, 2026 19:16
Contributor
Author
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
vincentkoc
added a commit
that referenced
this pull request
Oct 19, 2026
* commit '08e32fdb4df002c9d4eea158b855d6521dd1e916': (52 commits) test(gateway): restore local probe deferred import fix(agents): release prompt diagnostics for retired sessions (#177614) fix(release): tag restart plugin cohorts consistently (#177725) refactor(ui): inline single-caller detail requests (#177705) chore(i18n): refresh native locales (#177721) refactor(codex): drop unread private runtime reports (#177689) refactor(ui): consolidate static artwork registries (#177692) refactor(ui): derive settings schema analysis in the view (#177624) refactor(media): consolidate capability defaults and compression grids (#177665) refactor(auth): bind OAuth managers to native provider operations (#177676) refactor(ui): remove redundant component rendering layers (#177607) fix(ios): model sign-in is a permanent row under the composer instead of an item in the model menu (#166082) fix(agents): report failed secret input prompt delivery (#177688) refactor(ui): share chat message render contracts (#177668) fix(ui): settle model status after overlapping publication (#177667) refactor(gateway): reuse native workspace and lifecycle facts (#177670) refactor(runtime): rely on canonical async lifecycle owners (#177635) refactor: fold private operation helpers into their callers (#177655) refactor(ui): remove unused chat leaf element adapters (#177582) perf(talk): use published authority for foreign voice writes (#177533) ...
vincentkoc
added a commit
that referenced
this pull request
Oct 19, 2026
#167350) * fix(pr): retain the admitted workflow across maintainer commands * fix: refresh the reviewed correction baseline Baseline-Refresh: a89bd166b79d54b343b93ad374f8ebfa4f3d1163 * fix(pr): preserve cold workflow admission and repository identity * chore(pr): integrate canonical main CI repair * commit '08e32fdb4df002c9d4eea158b855d6521dd1e916': (52 commits) test(gateway): restore local probe deferred import fix(agents): release prompt diagnostics for retired sessions (#177614) fix(release): tag restart plugin cohorts consistently (#177725) refactor(ui): inline single-caller detail requests (#177705) chore(i18n): refresh native locales (#177721) refactor(codex): drop unread private runtime reports (#177689) refactor(ui): consolidate static artwork registries (#177692) refactor(ui): derive settings schema analysis in the view (#177624) refactor(media): consolidate capability defaults and compression grids (#177665) refactor(auth): bind OAuth managers to native provider operations (#177676) refactor(ui): remove redundant component rendering layers (#177607) fix(ios): model sign-in is a permanent row under the composer instead of an item in the model menu (#166082) fix(agents): report failed secret input prompt delivery (#177688) refactor(ui): share chat message render contracts (#177668) fix(ui): settle model status after overlapping publication (#177667) refactor(gateway): reuse native workspace and lifecycle facts (#177670) refactor(runtime): rely on canonical async lifecycle owners (#177635) refactor: fold private operation helpers into their callers (#177655) refactor(ui): remove unused chat leaf element adapters (#177582) perf(talk): use published authority for foreign voice writes (#177533) ... Co-authored-by: Vincent Koc <[email protected]>
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 20, 2026
…77607) * refactor(ui): remove redundant component rendering layers * test(ui): align sidebar assertions with owned hosts
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 20, 2026
openclaw#167350) * fix(pr): retain the admitted workflow across maintainer commands * fix: refresh the reviewed correction baseline Baseline-Refresh: a89bd166b79d54b343b93ad374f8ebfa4f3d1163 * fix(pr): preserve cold workflow admission and repository identity * chore(pr): integrate canonical main CI repair * commit '4f8617589b6c71d754171052b603fe534901bfa1': (52 commits) test(gateway): restore local probe deferred import fix(agents): release prompt diagnostics for retired sessions (openclaw#177614) fix(release): tag restart plugin cohorts consistently (openclaw#177725) refactor(ui): inline single-caller detail requests (openclaw#177705) chore(i18n): refresh native locales (openclaw#177721) refactor(codex): drop unread private runtime reports (openclaw#177689) refactor(ui): consolidate static artwork registries (openclaw#177692) refactor(ui): derive settings schema analysis in the view (openclaw#177624) refactor(media): consolidate capability defaults and compression grids (openclaw#177665) refactor(auth): bind OAuth managers to native provider operations (openclaw#177676) refactor(ui): remove redundant component rendering layers (openclaw#177607) fix(ios): model sign-in is a permanent row under the composer instead of an item in the model menu (openclaw#166082) fix(agents): report failed secret input prompt delivery (openclaw#177688) refactor(ui): share chat message render contracts (openclaw#177668) fix(ui): settle model status after overlapping publication (openclaw#177667) refactor(gateway): reuse native workspace and lifecycle facts (openclaw#177670) refactor(runtime): rely on canonical async lifecycle owners (openclaw#177635) refactor: fold private operation helpers into their callers (openclaw#177655) refactor(ui): remove unused chat leaf element adapters (openclaw#177582) perf(talk): use published authority for foreign voice writes (openclaw#177533) ... Co-authored-by: Vincent Koc <[email protected]>
This was referenced Oct 20, 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.
What Problem This Solves
The completed Solid migration left several extra rendering layers: native bridges for sidebar controls already rendered only from JSX, panel wrappers around owned primitives, copied board presentation state, and fixed SVG geometry rebuilt as JSX. Remove these layers and use the existing component/data owners. Keep host tags, classes, lazy loading, action authority, MCP teardown, and dynamic artwork behavior.
This is a behavior-preserving reduction. Browser operations now share their existing invocation constructor; config inputs share one dynamic element; the board renderer reads its existing lifecycle snapshot directly; fixed artwork uses the existing static-sprite renderer. No new dependencies or shared utility framework.
Evidence
Net −447 production lines (0.39% of the refreshed 115,187-line scope). The normalized 6–10-line duplicate-window scan and owner/caller audit selected these reductions. The earlier 115,422 preliminary count included fixture/test-support files; the table uses the repository's production exclusions. No component entry remains in the max-lines baseline.
Refactor checklist on touched production files: controllers 0→0, effects 4→4, render effects 0→0, untrack 3→3, direct listeners 0→0, DOM queries 0→0, flush 0→0, owner escapes 2→2. No ratchet increases. One directly coupled test-helper assertion now checks the rendered menu role instead of the retired bridge property.
Builds used the same machine and base
4d2504ccb5b. No lazy registration was pulled into startup. Chat boot gzip changes by +1,768 B (within its existing budget), with CSS requests 9→8; New Session boot changes by +229 B. Static SVG parsing trades a little compressed route code for deleting repeated construction code; startup shrinks by 351 B.Broad proof runs in PR CI (
ci:full). Local validation follows the campaign budget: one run of the three selected test files, typecheck, builds for the two sides, and targeted visual captures.Visual proof
Synthetic fixtures only; locally inspected. Config string/integer/JSON/nullable drafts and sidebar controls preserve rendering, text, and the collapse action.
Twenty-five artwork cases, including open/closed eyes, hats, checkerboard, book, and bottle, have identical SVG attributes/tree order before and after the eye toggle. The two PNGs are byte-identical.
CI repair
The first full CI run (39307186806) caught two directly caused test issues: the projection-memo fixture still typed the mounted host as only its domain owner, and the identity-menu test implicitly depended on non-release build metadata. The fixture now includes
HTMLElement; the menu test supplies and restores synthetic non-release metadata while retaining the menu role assertion. No production behavior changed. Both affected test files passed (104 tests), and the exact UI-components test typecheck passed. Independent review found no actionable P0–P2 issues.Exact-head CI run 39310198580 has one root failure:
quota-reset-status.real-gateway.e2e.test.ts > Running Gateway quota status: automatic-during-catalog > serves the same account and shows ready status after recovery without restarting(Checking models… instead of Ready). The identical named test fails in the latest completed scheduled main run 39311481040; 43 other jobs passed, 24 skipped, and security-fast passed. The earlier CI attribution table compared an older main run that passed, so the newer exact-name evidence supersedes that classification. Landing uses the native inherited-failure exception, without claiming the failed check is green.