René's URL Explorer Experiment


Title: fix(editor): use compact mode switches across input controls by j15z · Pull Request #7552 · simstudioai/sim · GitHub

Open Graph Title: fix(editor): use compact mode switches across input controls by j15z · Pull Request #7552 · simstudioai/sim

X Title: fix(editor): use compact mode switches across input controls by j15z · Pull Request #7552 · simstudioai/sim

Description: Summary Replaces the ⇄ arrow toggle with a compact two-choice IconSwitch wherever an input flips between two modes, so the active mode is visible directly instead of implied by the arrow's tint. This restores #7527, which was reverted in #7550, with smaller geometry that keeps the existing label-to-input spacing. Where it applies: Canonical subblocks: Selector / Variable, through a shared CanonicalModeToggle Start block file inputs: File uploader / JSON, still hidden when the uploader can't represent the value Variables block boolean assignments: Selector / Variable Knowledge connector fields: Selector / Manual input IconSwitch is a new emcn component: two 16px inset squares in a 1px-padded frame with concentric corner radii. It is built on native radios, so keyboard navigation and mutual exclusion come from the browser, and each option's label shows as a tooltip. On connector fields the switch sits in ChipModalField's titleActions slot (added on staging in #7761), outside the

Open Graph Description: Summary Replaces the ⇄ arrow toggle with a compact two-choice IconSwitch wherever an input flips between two modes, so the active mode is visible directly instead of implied by the arrow's tint...

X Description: Summary Replaces the ⇄ arrow toggle with a compact two-choice IconSwitch wherever an input flips between two modes, so the active mode is visible directly instead of implied by the arrow's ...

Opengraph URL: https://github.com/simstudioai/sim/pull/7552

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:7bf875fd-0a1b-b43b-2618-502bd544e637
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8C40:219171:92E17E:CF832A:6AFB5078
html-safe-noncef63264ba5197b0bcbde5e40347c36ef5fc554e3c7daf1c790eb47c1590e37206
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzQwOjIxOTE3MTo5MkUxN0U6Q0Y4MzJBOjZBRkI1MDc4IiwidmlzaXRvcl9pZCI6IjIwMTc2NDEyMzA3NDkwOTQwMDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf69a3b2c08dda3f400662c9dd73d60485c96c1676ca6ac9b58caae17118e8040
hovercard-subject-tagpull_request:4453836024
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/7552/files
twitter:imagehttps://avatars.githubusercontent.com/u/96924014?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/96924014?s=400&v=4
og:image:altSummary Replaces the ⇄ arrow toggle with a compact two-choice IconSwitch wherever an input flips between two modes, so the active mode is visible directly instead of implied by the arrow's tint...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecbf66c024bb6d10e6955baa7413c54cf13a201bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/7552/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7552%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7552%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/7552/files
Reloadhttps://github.com/simstudioai/sim/pull/7552/files
Reloadhttps://github.com/simstudioai/sim/pull/7552/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
j15zhttps://github.com/j15z
staginghttps://github.com/simstudioai/sim/tree/staging
fix/compact-mode-switcheshttps://github.com/simstudioai/sim/tree/fix/compact-mode-switches
Conversation 2 https://github.com/simstudioai/sim/pull/7552
Commits 5 https://github.com/simstudioai/sim/pull/7552/commits
Checks 32 https://github.com/simstudioai/sim/pull/7552/checks
Files changed https://github.com/simstudioai/sim/pull/7552/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7552/files
fix(editor): use compact mode switches across input controls https://github.com/simstudioai/sim/pull/7552/files#top
Show all changes 5 commits https://github.com/simstudioai/sim/pull/7552/files
cafad14 fix(editor): use compact mode switches across input controls j15z Sep 6, 2026 https://github.com/simstudioai/sim/pull/7552/commits/cafad14d36d55ad221abf3d686851aa150a856d7
b60c601 fix(emcn): align compact switch corner radii j15z Sep 6, 2026 https://github.com/simstudioai/sim/pull/7552/commits/b60c6014681e60ac7ee8db66285b827477a731c1
96f3188 fix(emcn): fill compact switch segments to the border j15z Sep 6, 2026 https://github.com/simstudioai/sim/pull/7552/commits/96f31887cf29b164876db560b4890b98eb1af349
58b430c fix(emcn): use white surface for unselected mode j15z Sep 6, 2026 https://github.com/simstudioai/sim/pull/7552/commits/58b430c80ea31fd87382ccca93ec10d238b36040
2d6799d fix(emcn): restore inset mode switch squares j15z Sep 6, 2026 https://github.com/simstudioai/sim/pull/7552/commits/2d6799dfcc0c2ae9e2bb912170d21d74e9a8f108
Clear filters https://github.com/simstudioai/sim/pull/7552/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7552/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7552/files
connector-config-fields.test.tsx https://github.com/simstudioai/sim/pull/7552/files#diff-07aef82f9ad50d239ca3c9e6a6a3ad879665cde10ba4f73963cc9df016c79774
connector-config-fields.tsx https://github.com/simstudioai/sim/pull/7552/files#diff-69c24d2f3d010f2c23aada9a1f84d0f130eac0b04fc69da8cf7a988bc0c60504
canonical-mode-toggle.tsx https://github.com/simstudioai/sim/pull/7552/files#diff-4e54e1a2e343b9ceb4ead3a1aecbc93945493993f1a03a70c828183eaaa53568
index.ts https://github.com/simstudioai/sim/pull/7552/files#diff-99c8012e8d1bee3bcc3a3bc64dae482ef62e3d2f2735ed3fadbc7400f3d5039f
input-format.tsx https://github.com/simstudioai/sim/pull/7552/files#diff-9742b1f9263ca74fa9c855582d336ab84a5472d80b354abfa94ff077d05c5483
variables-input.tsx https://github.com/simstudioai/sim/pull/7552/files#diff-36bfaa26ee837852ad7c0c6c34dcc9fa9e945fcf2dbfeae0a06c8865b423fe81
sub-block.tsx https://github.com/simstudioai/sim/pull/7552/files#diff-29f75e556b68e60ecf3fa5c7f7e66dade722d2d8ab3905fa896a0e185c410f37
icon-switch.test.tsx https://github.com/simstudioai/sim/pull/7552/files#diff-83cf8276622c03aa23493ab52be6833541e1189a6a2b37a5d1d0a7da7954db4e
icon-switch.tsx https://github.com/simstudioai/sim/pull/7552/files#diff-8a9d3038b3ae93017015711003568bc8460c93a5918ad36749f25ddf06975687
index.ts https://github.com/simstudioai/sim/pull/7552/files#diff-85e8dc45d20ed0821f684422d4e98d66a0ff6aa5ab8dc44237165078e6fa95e4
...aceId]/knowledge/[id]/components/connector-config-fields/connector-config-fields.test.tsxhttps://github.com/simstudioai/sim/pull/7552/files#diff-07aef82f9ad50d239ca3c9e6a6a3ad879665cde10ba4f73963cc9df016c79774
View file https://github.com/simstudioai/sim/blob/2d6799dfcc0c2ae9e2bb912170d21d74e9a8f108/apps/sim/app/workspace/%5BworkspaceId%5D/knowledge/%5Bid%5D/components/connector-config-fields/connector-config-fields.test.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7552/{{ revealButtonHref }}
...orkspaceId]/knowledge/[id]/components/connector-config-fields/connector-config-fields.tsxhttps://github.com/simstudioai/sim/pull/7552/files#diff-69c24d2f3d010f2c23aada9a1f84d0f130eac0b04fc69da8cf7a988bc0c60504
View file https://github.com/simstudioai/sim/blob/2d6799dfcc0c2ae9e2bb912170d21d74e9a8f108/apps/sim/app/workspace/%5BworkspaceId%5D/knowledge/%5Bid%5D/components/connector-config-fields/connector-config-fields.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7552/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7552/files#diff-69c24d2f3d010f2c23aada9a1f84d0f130eac0b04fc69da8cf7a988bc0c60504
https://github.com/simstudioai/sim/pull/7552/files#diff-69c24d2f3d010f2c23aada9a1f84d0f130eac0b04fc69da8cf7a988bc0c60504
https://github.com/simstudioai/sim/pull/7552/files#diff-69c24d2f3d010f2c23aada9a1f84d0f130eac0b04fc69da8cf7a988bc0c60504
https://github.com/simstudioai/sim/pull/7552/files#diff-69c24d2f3d010f2c23aada9a1f84d0f130eac0b04fc69da8cf7a988bc0c60504
...ponents/panel/components/editor/components/sub-block/components/canonical-mode-toggle.tsxhttps://github.com/simstudioai/sim/pull/7552/files#diff-4e54e1a2e343b9ceb4ead3a1aecbc93945493993f1a03a70c828183eaaa53568
View file https://github.com/simstudioai/sim/blob/2d6799dfcc0c2ae9e2bb912170d21d74e9a8f108/apps/sim/app/workspace/%5BworkspaceId%5D/w/%5BworkflowId%5D/components/panel/components/editor/components/sub-block/components/canonical-mode-toggle.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7552/{{ revealButtonHref }}
.../[workflowId]/components/panel/components/editor/components/sub-block/components/index.tshttps://github.com/simstudioai/sim/pull/7552/files#diff-99c8012e8d1bee3bcc3a3bc64dae482ef62e3d2f2735ed3fadbc7400f3d5039f
View file https://github.com/simstudioai/sim/blob/2d6799dfcc0c2ae9e2bb912170d21d74e9a8f108/apps/sim/app/workspace/%5BworkspaceId%5D/w/%5BworkflowId%5D/components/panel/components/editor/components/sub-block/components/index.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7552/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7552/files#diff-99c8012e8d1bee3bcc3a3bc64dae482ef62e3d2f2735ed3fadbc7400f3d5039f
...mponents/panel/components/editor/components/sub-block/components/starter/input-format.tsxhttps://github.com/simstudioai/sim/pull/7552/files#diff-9742b1f9263ca74fa9c855582d336ab84a5472d80b354abfa94ff077d05c5483
View file https://github.com/simstudioai/sim/blob/2d6799dfcc0c2ae9e2bb912170d21d74e9a8f108/apps/sim/app/workspace/%5BworkspaceId%5D/w/%5BworkflowId%5D/components/panel/components/editor/components/sub-block/components/starter/input-format.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7552/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7552/files#diff-9742b1f9263ca74fa9c855582d336ab84a5472d80b354abfa94ff077d05c5483
https://github.com/simstudioai/sim/pull/7552/files#diff-9742b1f9263ca74fa9c855582d336ab84a5472d80b354abfa94ff077d05c5483
https://github.com/simstudioai/sim/pull/7552/files#diff-9742b1f9263ca74fa9c855582d336ab84a5472d80b354abfa94ff077d05c5483
https://github.com/simstudioai/sim/pull/7552/files#diff-9742b1f9263ca74fa9c855582d336ab84a5472d80b354abfa94ff077d05c5483
https://github.com/simstudioai/sim/pull/7552/files#diff-9742b1f9263ca74fa9c855582d336ab84a5472d80b354abfa94ff077d05c5483
https://github.com/simstudioai/sim/pull/7552/files#diff-9742b1f9263ca74fa9c855582d336ab84a5472d80b354abfa94ff077d05c5483
Please reload this pagehttps://github.com/simstudioai/sim/pull/7552/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7552/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.