storybookjs/storybook

[Bug]: Composition - component/stories count is off (it should skip docs types)

Open

#21.503 aperta il 9 mar 2023

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (10.058 fork)batch import
bugcompositionhelp wantedsev:S3

Metriche repository

Star
 (89.909 star)
Metriche merge PR
 (Merge medio 7g 22h) (184 PR mergiate in 30 g)

Descrizione

Describe the bug

Reported by @yannbf during QA:

It seems that the logic that shows amount of components and amount of stories is not accounting the new Docs 2.0 format. In this example, I have one unattached docs (1 story, if it is still considered a story) and one component (7 stories).

To Reproduce

@yannbf do you have this storybook with chroma pets published somewhere?

It's a nice minimal repro for this issue.

System

No response

Additional context

No response

Guida contributor