René's URL Explorer Experiment


Title: improvement(editor): replace mode toggle buttons with a switch by j15z · Pull Request #7825 · simstudioai/sim · GitHub

Open Graph Title: improvement(editor): replace mode toggle buttons with a switch by j15z · Pull Request #7825 · simstudioai/sim

X Title: improvement(editor): replace mode toggle buttons with a switch by j15z · Pull Request #7825 · simstudioai/sim

Description: Summary Replaces the ⇄ toggle button with a two-option switch wherever an input can flip between two modes. The old button only hinted at the current mode through its tint. The switch shows both modes side by side with the active one selected, so it's clear which mode a field is in and the other mode is one click away. The switch is a new emcn component, IconSwitch: two 16px icon squares in a small frame, built on native radio buttons so arrow keys move between options, with each option's name shown as a tooltip. Where it changed: Selector-or-ID fields on blocks and on Agent block tools, such as Slack's Channel or the Jira tool's Project: Selector / Variable. The field header renders it through a shared CanonicalModeToggle. Start block Files inputs: File uploader / JSON. The switch still hides when the uploader can't represent the current value. Variables block boolean values: Selector / Variable Knowledge base connector fields, such as Gmail's Labels: Selector / Manual input. The switch sits in a new ChipModalField titleAdornment slot outside the

Open Graph Description: Summary Replaces the ⇄ toggle button with a two-option switch wherever an input can flip between two modes. The old button only hinted at the current mode through its tint. The switch shows both mo...

X Description: Summary Replaces the ⇄ toggle button with a two-option switch wherever an input can flip between two modes. The old button only hinted at the current mode through its tint. The switch shows both mo...

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

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:2fbbea61-c34a-703d-ccb8-2dbc345376db
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD7A8:72699:2A5B92:3BB617:6AFB52EE
html-safe-nonce2d24462ddce9201cbe1c65a91d0d800e28315138de8d5d8c0634186947c931e3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0E4OjcyNjk5OjJBNUI5MjozQkI2MTc6NkFGQjUyRUUiLCJ2aXNpdG9yX2lkIjoiNDc5MDcyOTU0Nzc3MDMxNDA2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac16900695542b7d3ae050870bb0edba8f70250f34ddb1c0e6d4958a8a1e9e8c14
hovercard-subject-tagpull_request:4531379407
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/7825/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 ⇄ toggle button with a two-option switch wherever an input can flip between two modes. The old button only hinted at the current mode through its tint. The switch shows both mo...
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/7825/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7825%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%2F7825%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/7825/files
Reloadhttps://github.com/simstudioai/sim/pull/7825/files
Reloadhttps://github.com/simstudioai/sim/pull/7825/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
improvement/editor-deploy-experiencehttps://github.com/simstudioai/sim/tree/improvement/editor-deploy-experience
fix/compact-mode-switches-editor-deployhttps://github.com/simstudioai/sim/tree/fix/compact-mode-switches-editor-deploy
Conversation 7 https://github.com/simstudioai/sim/pull/7825
Commits 8 https://github.com/simstudioai/sim/pull/7825/commits
Checks 5 https://github.com/simstudioai/sim/pull/7825/checks
Files changed https://github.com/simstudioai/sim/pull/7825/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7825/files
improvement(editor): replace mode toggle buttons with a switch https://github.com/simstudioai/sim/pull/7825/files#top
Show all changes 8 commits https://github.com/simstudioai/sim/pull/7825/files
e0101fe fix(editor): use compact mode switches across input controls j15z Sep 6, 2026 https://github.com/simstudioai/sim/pull/7825/commits/e0101fe8cb2f11ade62c9989d396935ab1705f23
56152f4 fix(emcn): align compact switch corner radii j15z Sep 6, 2026 https://github.com/simstudioai/sim/pull/7825/commits/56152f47086e3b8c98e042df0100f1f38b7431f9
6ddc1f9 fix(emcn): fill compact switch segments to the border j15z Sep 6, 2026 https://github.com/simstudioai/sim/pull/7825/commits/6ddc1f9194183212d4b60cd8d0706545a863a76d
f718af7 fix(emcn): use white surface for unselected mode j15z Sep 6, 2026 https://github.com/simstudioai/sim/pull/7825/commits/f718af7e69b54a98c049e4dd4b8a879e6ed1b697
a9ecadc fix(emcn): restore inset mode switch squares j15z Sep 6, 2026 https://github.com/simstudioai/sim/pull/7825/commits/a9ecadc5311e0ec52adbd338c8e93515d8061142
6fc9aa1 improvement(emcn): match mode switch corners and inset to chip fields j15z Sep 15, 2026 https://github.com/simstudioai/sim/pull/7825/commits/6fc9aa1d7fb93e6900d8cf500874ca04f78f28db
09cc11a fix(editor): keep mode switch rows at their original height j15z Sep 15, 2026 https://github.com/simstudioai/sim/pull/7825/commits/09cc11a6a89d67c59b474981116173a75b30b4dc
e733205 fix(knowledge): keep connector mode switch focused across mode changes j15z Sep 15, 2026 https://github.com/simstudioai/sim/pull/7825/commits/e733205ddcf477e9a03347884e672f62b0bea9ad
Clear filters https://github.com/simstudioai/sim/pull/7825/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7825/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7825/files
connector-config-fields.test.tsx https://github.com/simstudioai/sim/pull/7825/files#diff-07aef82f9ad50d239ca3c9e6a6a3ad879665cde10ba4f73963cc9df016c79774
connector-config-fields.tsx https://github.com/simstudioai/sim/pull/7825/files#diff-69c24d2f3d010f2c23aada9a1f84d0f130eac0b04fc69da8cf7a988bc0c60504
canonical-mode-toggle.tsx https://github.com/simstudioai/sim/pull/7825/files#diff-4e54e1a2e343b9ceb4ead3a1aecbc93945493993f1a03a70c828183eaaa53568
field-header.test.tsx https://github.com/simstudioai/sim/pull/7825/files#diff-ca6aab7288202aea40d3e4f23f6b406b54c85ecc25791dfeeb437e435266d514
field-header.tsx https://github.com/simstudioai/sim/pull/7825/files#diff-77920d1584603f8dade30751c9ca58fa99d1df5d47a0324220c2f12c0938cc06
index.ts https://github.com/simstudioai/sim/pull/7825/files#diff-99c8012e8d1bee3bcc3a3bc64dae482ef62e3d2f2735ed3fadbc7400f3d5039f
input-format.tsx https://github.com/simstudioai/sim/pull/7825/files#diff-9742b1f9263ca74fa9c855582d336ab84a5472d80b354abfa94ff077d05c5483
variables-input.tsx https://github.com/simstudioai/sim/pull/7825/files#diff-36bfaa26ee837852ad7c0c6c34dcc9fa9e945fcf2dbfeae0a06c8865b423fe81
chip-modal.tsx https://github.com/simstudioai/sim/pull/7825/files#diff-5a9b4f39d866e7b9c8f3be78802e723f27cc7f87c964fbe55e19d16a69b91f54
icon-switch.test.tsx https://github.com/simstudioai/sim/pull/7825/files#diff-83cf8276622c03aa23493ab52be6833541e1189a6a2b37a5d1d0a7da7954db4e
icon-switch.tsx https://github.com/simstudioai/sim/pull/7825/files#diff-8a9d3038b3ae93017015711003568bc8460c93a5918ad36749f25ddf06975687
index.ts https://github.com/simstudioai/sim/pull/7825/files#diff-85e8dc45d20ed0821f684422d4e98d66a0ff6aa5ab8dc44237165078e6fa95e4
...aceId]/knowledge/[id]/components/connector-config-fields/connector-config-fields.test.tsxhttps://github.com/simstudioai/sim/pull/7825/files#diff-07aef82f9ad50d239ca3c9e6a6a3ad879665cde10ba4f73963cc9df016c79774
View file https://github.com/simstudioai/sim/blob/e733205ddcf477e9a03347884e672f62b0bea9ad/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/7825/{{ revealButtonHref }}
...orkspaceId]/knowledge/[id]/components/connector-config-fields/connector-config-fields.tsxhttps://github.com/simstudioai/sim/pull/7825/files#diff-69c24d2f3d010f2c23aada9a1f84d0f130eac0b04fc69da8cf7a988bc0c60504
View file https://github.com/simstudioai/sim/blob/e733205ddcf477e9a03347884e672f62b0bea9ad/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/7825/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7825/files#diff-69c24d2f3d010f2c23aada9a1f84d0f130eac0b04fc69da8cf7a988bc0c60504
https://github.com/simstudioai/sim/pull/7825/files#diff-69c24d2f3d010f2c23aada9a1f84d0f130eac0b04fc69da8cf7a988bc0c60504
https://github.com/simstudioai/sim/pull/7825/files#diff-69c24d2f3d010f2c23aada9a1f84d0f130eac0b04fc69da8cf7a988bc0c60504
https://github.com/simstudioai/sim/pull/7825/files#diff-69c24d2f3d010f2c23aada9a1f84d0f130eac0b04fc69da8cf7a988bc0c60504
Please reload this pagehttps://github.com/simstudioai/sim/pull/7825/files
https://github.com/simstudioai/sim/pull/7825/files#diff-69c24d2f3d010f2c23aada9a1f84d0f130eac0b04fc69da8cf7a988bc0c60504
https://github.com/simstudioai/sim/pull/7825/files#diff-69c24d2f3d010f2c23aada9a1f84d0f130eac0b04fc69da8cf7a988bc0c60504
https://github.com/simstudioai/sim/pull/7825/files#diff-69c24d2f3d010f2c23aada9a1f84d0f130eac0b04fc69da8cf7a988bc0c60504
...ponents/panel/components/editor/components/sub-block/components/canonical-mode-toggle.tsxhttps://github.com/simstudioai/sim/pull/7825/files#diff-4e54e1a2e343b9ceb4ead3a1aecbc93945493993f1a03a70c828183eaaa53568
View file https://github.com/simstudioai/sim/blob/e733205ddcf477e9a03347884e672f62b0bea9ad/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/7825/{{ revealButtonHref }}
...anel/components/editor/components/sub-block/components/field-header/field-header.test.tsxhttps://github.com/simstudioai/sim/pull/7825/files#diff-ca6aab7288202aea40d3e4f23f6b406b54c85ecc25791dfeeb437e435266d514
View file https://github.com/simstudioai/sim/blob/e733205ddcf477e9a03347884e672f62b0bea9ad/apps/sim/app/workspace/%5BworkspaceId%5D/w/%5BworkflowId%5D/components/panel/components/editor/components/sub-block/components/field-header/field-header.test.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7825/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7825/files#diff-ca6aab7288202aea40d3e4f23f6b406b54c85ecc25791dfeeb437e435266d514
https://github.com/simstudioai/sim/pull/7825/files#diff-ca6aab7288202aea40d3e4f23f6b406b54c85ecc25791dfeeb437e435266d514
...nts/panel/components/editor/components/sub-block/components/field-header/field-header.tsxhttps://github.com/simstudioai/sim/pull/7825/files#diff-77920d1584603f8dade30751c9ca58fa99d1df5d47a0324220c2f12c0938cc06
View file https://github.com/simstudioai/sim/blob/e733205ddcf477e9a03347884e672f62b0bea9ad/apps/sim/app/workspace/%5BworkspaceId%5D/w/%5BworkflowId%5D/components/panel/components/editor/components/sub-block/components/field-header/field-header.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7825/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7825/files#diff-77920d1584603f8dade30751c9ca58fa99d1df5d47a0324220c2f12c0938cc06
https://github.com/simstudioai/sim/pull/7825/files#diff-77920d1584603f8dade30751c9ca58fa99d1df5d47a0324220c2f12c0938cc06
https://github.com/simstudioai/sim/pull/7825/files#diff-77920d1584603f8dade30751c9ca58fa99d1df5d47a0324220c2f12c0938cc06
https://github.com/simstudioai/sim/pull/7825/files#diff-77920d1584603f8dade30751c9ca58fa99d1df5d47a0324220c2f12c0938cc06
https://github.com/simstudioai/sim/pull/7825/files#diff-77920d1584603f8dade30751c9ca58fa99d1df5d47a0324220c2f12c0938cc06
.../[workflowId]/components/panel/components/editor/components/sub-block/components/index.tshttps://github.com/simstudioai/sim/pull/7825/files#diff-99c8012e8d1bee3bcc3a3bc64dae482ef62e3d2f2735ed3fadbc7400f3d5039f
View file https://github.com/simstudioai/sim/blob/e733205ddcf477e9a03347884e672f62b0bea9ad/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/7825/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7825/files#diff-99c8012e8d1bee3bcc3a3bc64dae482ef62e3d2f2735ed3fadbc7400f3d5039f
Please reload this pagehttps://github.com/simstudioai/sim/pull/7825/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7825/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.