Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Storybook does not respect BROWSER env var #21473

Merged
merged 5 commits into from
May 22, 2023
Merged

fix: Storybook does not respect BROWSER env var #21473

merged 5 commits into from
May 22, 2023

Conversation

thtliife
Copy link
Contributor

@thtliife thtliife commented Mar 8, 2023

Storybook does not respect BROWSER env var if default browser is not chromium based.

Closes #21343

What I did

This commit adds a check for the environment variable, and passes it to the open package as an argument if the specified browser is not chromium based.

Checklist

  • Make sure your changes are tested (stories and/or unit, integration, or end-to-end tests)
  • Make sure to add/update documentation regarding your changes
  • If you are deprecating/removing a feature, make sure to update
    MIGRATION.MD

Maintainers

  • If this PR should be tested against many or all sandboxes,
    make sure to add the ci:merged or ci:daily GH label to it.
  • Make sure this PR contains one of the labels below.

["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]

Storybook does not respect BROWSER env var if default browser is not chromium based.
This commit adds a check for the environment variable, and passes it to the open package as an argument if the specified browser is not chromium based.

Closes #21343
@ndelangen
Copy link
Member

Great work @thtliife !

We'll be merging this after 7.0 is released!

@thtliife
Copy link
Contributor Author

Awesome thanks @ndelangen 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Storybook does not respect BROWSER env var if default browser is not chromium based.
3 participants