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

old stories are still showing up in DSM #12

Open
ethanryan opened this issue Apr 17, 2020 · 1 comment
Open

old stories are still showing up in DSM #12

ethanryan opened this issue Apr 17, 2020 · 1 comment

Comments

@ethanryan
Copy link

I integrated our Storybook stories with our DSM and added a test story with:

npm run dsm-storybook:publish

as the instructions stated here: https://support.invisionapp.com/hc/en-us/articles/360028388192

for example, something like:

  .add('Primary Button test', () => <PrimaryButton>Primary Button</PrimaryButton>, {
    'in-dsm': {
      id: 'this-is-the-component-container-id',
    },
  })

It worked, and I saw the Storybook story in a dropdown, with the title "Primary Button test".

Then I updated the story, removing the word "test", so it was:

  .add('Primary Button', () => <PrimaryButton>Primary Button</PrimaryButton>, {
    'in-dsm': {
      id: 'this-is-the-component-container-id',
    },
  })

and once again ran:

npm run dsm-storybook:publish

Now on the DSM, it shows two items in the dropdown:

  • Primary Button test
  • Primary Button

Problem: old stories are not being deleted from the DSM

Is there an additional step that needs to be done for old stories to no longer show up on the DSM?

@dlangston
Copy link

Any update on this? We are having the same issue.

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

No branches or pull requests

2 participants