fix(editor): use compact mode switches across input controls - #7552
Draft
j15z wants to merge 5 commits into
Draft
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Restore the two-choice icon switch with smaller geometry and consistent label-row spacing. Use it for canonical subblocks, Start file inputs, boolean assignments, and knowledge connector fields. Keep connector radio controls outside field labels and preserve disabled and selected-state behavior.
j15z
force-pushed
the
fix/compact-mode-switches
branch
from
September 6, 2026 01:13
26af09f to
f8470a4
Compare
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.
Summary
Use compact two-choice switches consistently for canonical subblocks, Start file inputs, boolean variable assignments, and knowledge connector fields. The smaller controls keep the existing label-to-input spacing and show the active mode directly.
This draft restores the switch after the merged revert in #7550 and targets staging.
Connector switches render outside the field label so radio clicks work independently, and they disable during submission. The decorative HTTP method icon stays unchanged.
Related: #7527
Type of Change
Testing
bun run check:api-validationpassed.Checklist
Screenshots/Videos
Pending visual review.