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

Core: Fix legacy story URLs #9545

Merged
merged 1 commit into from
Jan 20, 2020
Merged

Core: Fix legacy story URLs #9545

merged 1 commit into from
Jan 20, 2020

Conversation

shilman
Copy link
Member

@shilman shilman commented Jan 20, 2020

Issue: #9544

What I did

Look up stories in the store to produce ID, since starting in 5.3 IDs can be effectively fully custom.

Had to add a new accessor in story store. We should remove all the legacy APIs in 6.0 if possible.

How to test

  • see updated unit tests
  • in official-storybook, you can nav to selectedKind=Other/Demo/Button&selectedStory=with counter

@vercel
Copy link

vercel bot commented Jan 20, 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/4djuu5nk7
✅ Preview: https://monorepo-git-9544-fix-legacy-story-urls.storybook.now.sh

@shilman shilman added bug core patch:yes Bugfix & documentation PR that need to be picked to main branch labels Jan 20, 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 core 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants