-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
CSF: Autotitle fix multiple dots and handle stories.js #21840
Merged
shilman
merged 11 commits into
storybookjs:next
from
agriffis:fix/auto-title-dotted-component
Nov 28, 2023
Merged
CSF: Autotitle fix multiple dots and handle stories.js #21840
shilman
merged 11 commits into
storybookjs:next
from
agriffis:fix/auto-title-dotted-component
Nov 28, 2023
Commits on Sep 20, 2023
-
fix: handle button.group.stories.js in auto-title
The stripExtension() function aggressively removed everything after the first dot in the filename. It should remove only (for example) .js or .stories.js or .story.js See the new test in autoTitle.test.ts for example. Additionally the stripExtension() function was pulling double-duty by cleaning up an empty leading string, a leftover from calling pathJoin([titlePrefix, suffix]) with empty titlePrefix. Handle this properly in the earlier code instead of hacking stripExtension().
Configuration menu - View commit details
-
Copy full SHA for 42a35ae - Browse repository at this point
Copy the full SHA 42a35aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ce45d5 - Browse repository at this point
Copy the full SHA 8ce45d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59fc329 - Browse repository at this point
Copy the full SHA 59fc329View commit details
Commits on Nov 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 66d1db8 - Browse repository at this point
Copy the full SHA 66d1db8View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcecff3 - Browse repository at this point
Copy the full SHA fcecff3View commit details -
Configuration menu - View commit details
-
Copy full SHA for cafe331 - Browse repository at this point
Copy the full SHA cafe331View commit details
Commits on Nov 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e15dd64 - Browse repository at this point
Copy the full SHA e15dd64View commit details
Commits on Nov 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 68eca71 - Browse repository at this point
Copy the full SHA 68eca71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07ce1ea - Browse repository at this point
Copy the full SHA 07ce1eaView commit details
Commits on Nov 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 901a34c - Browse repository at this point
Copy the full SHA 901a34cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7b3993 - Browse repository at this point
Copy the full SHA e7b3993View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.