question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CSF3: Auto-title should respect file system capitalization

See original GitHub issue

Hey @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: image

Instead of this, I would like it to generate path without capitalization and spacing so it would look like: image

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:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
shilmancommented, Mar 1, 2022

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!

npx sb upgrade --prerelease

Closing this issue. Please re-open if you think there’s still more to do.

3reactions
shilmancommented, Feb 19, 2022

@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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found