Repository navigation
refactor(ui): simplify structured config drafts - #171635
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
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. |
Contributor
Author
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 15, 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
Structured config drafts still crossed a Lit compatibility bridge even though their config-form and plugin-settings callers both render with Solid. The boolean editor also expressed four mutually exclusive layouts as nested fallbacks.
User Impact
No intended user-visible change. Drafts remain local until valid, rejected saves retain their values and error message, and host tags, caller-specific classes, controls, and lazy loading stay unchanged.
Why This Change Was Made
Render structured drafts directly in their Solid owner, remove the optional legacy renderer/bridge contract, and cut over both callers together. Keep the existing identity-based reset behavior and validation owner. Use one
Switchfor the boolean layouts, preserving their precedence.Production LOC across the five changed production files: 1,060 → 1,007 (−53). No dependencies added.
Evidence
pnpm tsgo:uiui/src/components/web-awesome-tabs.tson both head and merge base72ccf6ff9293; no new findingsThe new plugin regression covers partial required input, an unrelated model refresh, and a rejected atomic save. The existing form proofs retain coverage for nested draft identity, row removal, validation, and rejected writes. The first plugin run selected an empty hidden field-validation alert; the corrected selector targets the draft's visible rejection message.
No screenshot comparison is needed for this internal rendering cleanup: the rendered host tags/classes and visible controls are preserved. No startup modules or lazy imports changed. CI built the base and head with the same runner/toolchain and passed the strict performance check; head startup JS is 348,391 B gzip against the 374,285 B committed budget, with 1 startup CSS request. Chat/New route boot gzip changed by only +28/+29 B. Full UI CI was selected because the config renderer is shared.
CI attribution
The only UI E2E failure in the completed PR run is
Control UI plugin lifecycle > retains uninstall feedback through during inspectionin PR run 38505869555. The same named test failed in scheduled main runs 38502084044 and 38507129576. Its test and uninstall controller blobs are identical between the actual CI base and tested PR merge. All other PR jobs passed or were skipped.Main subsequently hardened that fixture in
533feba7fd0d, keeping configuration reads unavailable through the feedback assertion. The newer scheduled main run38512319842passes this shard. The inherited attribution is to the exact historical CI base; it does not claim that current main still fails.