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

6.2.0 doubling story list for title prefix / #14406

Open
hatkyinc2 opened this issue Mar 31, 2021 · 2 comments
Open

6.2.0 doubling story list for title prefix / #14406

hatkyinc2 opened this issue Mar 31, 2021 · 2 comments

Comments

@hatkyinc2
Copy link

hatkyinc2 commented Mar 31, 2021

Describe the bug
Updated to 6.2.0 from 6.1.21

And am getting my story list doubled:
Screenshot from 2021-03-31 13-59-34

You can see that one is straight on the root level and another is with an empty header

It could be that I'm doing something weird by naming my stories starting with /, like

title: '/Atoms/Plant Image Skeleton',

To Reproduce

Expected behavior
This is a screenshot with sb 6.1.21:
Screenshot from 2021-03-31 14-05-54

Screenshots
Embeded up

Code snippets
As mentioned before this is my title that could be "weird"/edge case/..

title: '/Atoms/Plant Image Skeleton',

System

$ npx sb@next info

Environment Info:

  System:
    OS: Linux 5.4 Ubuntu 20.04.2 LTS (Focal Fossa)
    CPU: (4) x64 Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
  Binaries:
    Node: 15.12.0 - /usr/bin/node
    Yarn: 1.22.5 - /snap/bin/yarn
    npm: 7.5.3 - /usr/local/bin/npm
  Browsers:
    Firefox: 87.0
  npmPackages:
    @storybook/addon-actions: ^6.1.21 => 6.1.21 
    @storybook/addon-essentials: ^6.1.21 => 6.1.21 
    @storybook/addon-links: ^6.1.21 => 6.1.21 
    @storybook/addons: ^5.2.6 => 5.3.21 
    @storybook/svelte: ^6.1.21 => 6.1.21 

Additional context

┆Issue is synchronized with this Asana task by Unito

@shilman
Copy link
Member

shilman commented Mar 31, 2021

Indeed this is a corner case. As a workaround, I'd recommend removing the leading slash. Nevertheless it also looks like a bug since it's duplicating the UI.

@hatkyinc2
Copy link
Author

Agree with the low priority, has workaround classification, just noting it's a different layout, creating the sections:
Screenshot from 2021-03-31 15-42-40

@shilman shilman removed this from the 6.2 stabilization milestone Jun 8, 2021
@shilman shilman removed the P1 label Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants