Repository navigation
refactor(ui): simplify collection config drafts - #171890
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
October 14, 2026 07:04
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 squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 15, 2026
* refactor(ui): render collection config drafts directly in Solid * test(ui): flush collection draft rejection assertions
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.
What Problem This Solves
Array and map drafts still used a custom-element bridge even though both callers render in Solid. Opening a draft searched the DOM, and accepting a value crossed a cancelable custom event.
User Impact
No intended behavior change. Drafts remain local until valid, rejected commits retain the entered value and validation message, and host tags, classes, labels, focus behavior, and lazy loading remain intact.
Why This Change Was Made
Render the draft directly with required props. Both callers use a component handle to open it and return the existing commit acceptance result directly. Validation, identity-based resets, native validity, and focus remain with their existing owners.
Production LOC across the three changed production files: 1,038 → 996 (−42). Seven files changed overall. No dependencies added.
The integration at
363121e00a9689d8c5e9aecdbaa2f064eff1a8d9resolves a real merge conflict against main3ee1b6d806cea2e21d837ece3aeec8c4b8575dd7. Main already contains the scalar numeric-handler simplification and new Advisor multiline controls, so its entire scalar implementation is retained unchanged and leaves this PR's diff. All seven remaining authored files are byte-identical to the independently reviewed and tested prior head683dec9b5c62.Evidence
68abee22151f; unchanged authored-file proof reused after integration363121e00a968:pnpm deadcode:knip, exit 0 (31m 29.4s)363121e00a968363121e00a968The browser tests exercise rejected writes, partial draft retention, source replacement, duplicate/reserved map keys, and scalar validity through real controls. The initial integrity run found a lifecycle callback returning its ref-assignment value; that callback was corrected and the affected file passed its targeted rerun. The other two files passed once each. The fourth rejection-integrity file replaces six removed bridge waits with the shared Solid flush helper; it is covered by full PR CI under the local test budget.
There is no visible markup or CSS change, so no screenshot comparison is needed for this internal cleanup. Startup modules and lazy imports are unchanged. Full UI CI is selected because the shared editor owns validation and focus behavior. No local E2E, parity run, or extra build was run.
Prior head
683dec9b5c62passed all nine UI E2E shards, both real-Gateway shards, UI unit shards 1/3 and 2/3, types, lint, and strict performance. Its UI unit shard 3/3 failed these two cases:browser sign-in recovery > verifies renewed website access using the current stored-password credentialmounted pane parent session > reconciles a pending parent when descriptor failsA single isolated run at the actual CI merge parent
091683974665a977a2e4c4f6688202a51a71902dpassed both files, 16 cases, under the same pinned Bun source revision. Local proof used Darwin arm64; CI used Linux x64. Latest compared scheduled main run38543352664also passed both cases under Node. Passing replays establish neither inheritance nor a repair. Those prior failures remain documented; the integrated head has now passed its own full enforced CI, with both named cases passing in the Bun UI3 shard (102 ms and 299 ms). No inherited-failure exception or repaired-flake claim is made.