Skip to content

Conversation

sebmarkbage
Copy link
Collaborator

We should jump to the right column.

Unfortunately, the way presets are set up now you have to switch off and switch to the preset for this to take effect.

@sebmarkbage sebmarkbage merged commit 190758e into facebook:main Jul 25, 2025
245 of 247 checks passed
sebmarkbage added a commit that referenced this pull request Jul 25, 2025
…r presets (and make VSCode default) (#33995)

Stacked on #33983.

Previously, the source of truth is the url stored in local storage but
that means if we change the presets then they don't take effect (e.g.
#33994). This PR uses the hardcoded value instead when a preset is
selected.

This also has the benefit that if you switch between custom and vs code
in the selector, then the custom url is preserved instead of getting
reset when you checkout other options.

Currently the default is custom with empty string, which means that
there's no code editor configured at all by default. It doesn't make a
lot of sense that we have it not working by default when so many people
use VS Code. So this also makes VS Code the default if there's no
EDITOR_URL env specified.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants