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

UI: Fix edge case where only one legacy separator is defined #9425

Merged
merged 2 commits into from Jan 14, 2020

Conversation

shilman
Copy link
Member

@shilman shilman commented Jan 14, 2020

Issue: #9420

What I did

Fill in default values if either legacy separator is specified by the user.

NOTE: There are a bunch more diffs in this file, because I had to reorder the function definition to pass linting. The actual changes are just a few lines at the end.

How to test

Test by hand in official-storybook. Didn't add tests since this code will be removed in 6.0.

@vercel
Copy link

vercel bot commented Jan 14, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/storybook/monorepo/l289ejwze
✅ Preview: https://monorepo-git-9420-fix-hierarchy-separator-edge-case.storybook.now.sh

@shilman shilman added this to the 5.3.x milestone Jan 14, 2020
@shilman shilman requested a review from tmeasday January 14, 2020 06:24
@shilman shilman added the patch:yes Bugfix & documentation PR that need to be picked to main branch label Jan 14, 2020
Copy link
Member

@tmeasday tmeasday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants