René's URL Explorer Experiment


Title: [REQUEST] Focus the new variable's name field after clicking "Add new variable" · Issue #10064 · simstudioai/sim · GitHub

Open Graph Title: [REQUEST] Focus the new variable's name field after clicking "Add new variable" · Issue #10064 · simstudioai/sim

X Title: [REQUEST] Focus the new variable's name field after clicking "Add new variable" · Issue #10064 · simstudioai/sim

Description: Is your feature request related to a problem? Please describe. When I add a workflow variable in the workflow builder (⋯ → Variables → +), the new variable appears with a default name (variable1, variable2, …), but focus stays on the + b...

Open Graph Description: Is your feature request related to a problem? Please describe. When I add a workflow variable in the workflow builder (⋯ → Variables → +), the new variable appears with a default name (variable1, v...

X Description: Is your feature request related to a problem? Please describe. When I add a workflow variable in the workflow builder (⋯ → Variables → +), the new variable appears with a default name (variable1, v...

Opengraph URL: https://github.com/simstudioai/sim/issues/10064

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[REQUEST] Focus the new variable's name field after clicking \"Add new variable\"","articleBody":"**Is your feature request related to a problem? Please describe.**\n\nWhen I add a workflow variable in the workflow builder (⋯ → Variables → **+**), the new variable appears with a default name (`variable1`, `variable2`, …), but focus stays on the **+** button. To name it, I have to find the new row and click its Name field before typing. With several variables in the panel, the new one is added at the bottom, so it isn't always obvious which row is new.\n\nIt's a small thing, but it comes up every time you add a variable, and keyboard users get the worst of it: after Tab → **+** → Enter, whatever you type next goes nowhere.\n\n**Steps to reproduce**\n\n1. Open any workflow and go to ⋯ → **Variables**.\n2. Click **+** (\"Add new variable\").\n3. Start typing a name straight away.\n4. Nothing is typed: focus is still on the **+** button, and the new variable keeps its default name.\n\nKeyboard-only version: Tab to **+**, press Enter, type. Same result.\n\n_Before:_\nhttps://github.com/user-attachments/assets/f3fd0713-bd33-4753-a04d-b34f31ae4014\n\n**Describe the solution you'd like**\n\nAfter clicking **+**, focus the new variable's Name input and select its default name, so the first keystroke replaces `variableN`. This matches how \"add row\" or \"new file\" works in most tools (e.g. renaming a new file in a file explorer). Focusing the input also scrolls it into view inside the panel, so the new row is visible even in a long list.\n\nThe new id is already available: `collaborativeAddVariable` in `hooks/use-collaborative-workflow.ts` returns it, but `handleAddVariable` in `w/[workflowId]/components/variables/variables.tsx` ignores it. A ref callback on the Name input can focus that one row once it mounts, with no effect needed. Only the client that clicked **+** should move focus: a variable added by a collaborator shouldn't steal focus from someone else.\n\nI have a small fix ready (one file, about 10 lines) and can open a PR against `staging`.\n\n**Describe alternatives you've considered**\n\n- **Focus with the cursor at the end, instead of selecting:** you'd have to delete `variableN` before typing, which is almost never what you want.\n- **Create the variable with an empty name and focus that:** changes store behaviour (default naming and uniqueness), so it's a bigger change than this needs.\n\n**Additional context**\n\n- Reproduced on `staging` at `0156813a4c` (the file is unchanged on the latest `staging`, `eaed9a110f`), running locally in dev mode, in Google Chrome on Windows 11.\n- Related accessibility detail, out of scope here: the Name, Type and Value `\u003cLabel>`s in this panel aren't linked to their inputs (no `htmlFor`/`id`), so screen readers don't announce the field names. I'm happy to open that as a separate follow-up.\n","author":{"url":"https://github.com/mofopeadegoke","@type":"Person","name":"mofopeadegoke"},"datePublished":"2026-11-15T02:25:37Z","url":"https://github.com/simstudioai/sim/issues/10064"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:86e7fdb8-3abd-d333-9628-fccd86343fbf
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCE3A:1C8E04:189B217:218CD61:6AFB8932
html-safe-nonce2befe828920b2cf4e54295b55a0e75cbb83c990abcc8aff868e0dbaf3883d5f2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTNBOjFDOEUwNDoxODlCMjE3OjIxOENENjE6NkFGQjg5MzIiLCJ2aXNpdG9yX2lkIjoiNDA3NzY4NjY0MTc1MTk4NDQzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaccfdfa7949168669007626a56a0da22d1a20de569ab6ca7c1e50bd0105757ee08
hovercard-subject-tagissue:6398998693
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/simstudioai/sim/10064/issue_layout
twitter:imagehttps://opengraph.githubassets.com/db87ea00d6171be3ea84e46ad4dad47b762706717bf0e4534bb534fa6b673e3b/simstudioai/sim/issues/10064
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/db87ea00d6171be3ea84e46ad4dad47b762706717bf0e4534bb534fa6b673e3b/simstudioai/sim/issues/10064
og:image:altIs your feature request related to a problem? Please describe. When I add a workflow variable in the workflow builder (⋯ → Variables → +), the new variable appears with a default name (variable1, v...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemofopeadegoke
hostnamegithub.com
expected-hostnamegithub.com
None9694464143465782ecae2a97650b2a2b0708d5c31c74f41ee86da57e315e2735
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release05d967182208691fc7f2e6af52e82fa7fabf6bd5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/simstudioai/sim/issues/10064#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fissues%2F10064
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%2Fissues%2F10064
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/issues/10064
Reloadhttps://github.com/simstudioai/sim/issues/10064
Reloadhttps://github.com/simstudioai/sim/issues/10064
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests198 (198)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
https://github.com/simstudioai/sim
New issuehttps://github.com/login?return_to=https://github.com/simstudioai/sim/issues/10064
New issuehttps://github.com/login?return_to=https://github.com/simstudioai/sim/issues/10064
[REQUEST] Focus the new variable's name field after clicking "Add new variable"https://github.com/simstudioai/sim/issues/10064#top
featureNew feature or requesthttps://github.com/simstudioai/sim/issues?q=state%3Aopen%20label%3A%22feature%22
https://github.com/mofopeadegoke
mofopeadegokehttps://github.com/mofopeadegoke
on Nov 15, 2026https://github.com/simstudioai/sim/issues/10064#issue-6398998693
https://github.com/user-attachments/assets/f3fd0713-bd33-4753-a04d-b34f31ae4014https://github.com/user-attachments/assets/f3fd0713-bd33-4753-a04d-b34f31ae4014
mofopeadegokehttps://github.com/mofopeadegoke
featureNew feature or requesthttps://github.com/simstudioai/sim/issues?q=state%3Aopen%20label%3A%22feature%22
on Nov 15, 2026https://github.com/simstudioai/sim/issues/10064#event-36165813762
Sign up for freehttps://github.com/signup?return_to=https://github.com/simstudioai/sim/issues/10064
Sign in to commenthttps://github.com/login?return_to=https://github.com/simstudioai/sim/issues/10064
featureNew feature or requesthttps://github.com/simstudioai/sim/issues?q=state%3Aopen%20label%3A%22feature%22
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.