CSF3: Auto-title should respect file system capitalization
See original GitHub issueHey @shilman, it’s very cool that you added auto-generation of titles, but I think that it shouldn’t modify parts of its path.
I’ve added config in my main.js
:
stories: [{ directory: "../src", files: "**/*.stories.*" }]
I have a story in the path: src/pages/app/BuildScreen/components/ScreenList/components/ScreenListItem.stories.tsx
And Storybook generates path like:
Instead of this, I would like it to generate path without capitalization and spacing so it would look like:
Could you please change this behavior or add some flag to not modify parts of the output path?
_Originally posted by @dawidk92 in https://github.com/storybookjs/storybook/issues/15534#issuecomment-1040041210_
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:8 (6 by maintainers)
Top Results From Across the Web
@storybook/manager-webpack5: Versions | Openbase
CSF3: Fix Auto-title to respect file system capitalization (#17574). Maintenance. Core: Remove unused babel dependencies (#17425) ...
Read more >@storybook/docs-tools | Yarn - Package Manager
Dynamic snippet generation; Is the user using docs or controls? This library is used by most framework packages so it and its dependencies...
Read more >Untitled
Teste dich depressiv, Genesis training systems inc barbados, Bernadette mcnulty ... 32 inch wheels bike, Mkv file player windows 8, Threw up antibiotics?...
Read more >Case preservation - Wikipedia
When a computer file system stores file names, the computer may keep or discard case information. When the case is stored, it is...
Read more >상품후기 - 천지삼 원조,1:1달임방식,달이고난 홍삼찌거기 제공
Just the kind of girl I should suppose likely to captivate poor Edward ... cargo hold dedicated to healing machines and lifesupport systems....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Gadzooks!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.5.0-alpha.45 containing PR #17574 that references this issue. Upgrade today to the
@next
NPM tag to try it out!Closing this issue. Please re-open if you think there’s still more to do.
@tmeasday @yannbf This isn’t the first time I’ve heard this criticism. I wouldn’t add a flag to configure this, but I would consider making this a breaking change in 7.0. WDYT?