-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Docs tab shows 'no code available' when using dynamic title for story #9582
Comments
Same issue here :( |
cc @atanasster |
I can reproduce - source-loader is not loading locationsMap for such stories. |
Yeah, just wanted to give you a head's up for the new one! |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Still true, still an issue. |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
It is still an issue. The case: File Structure: ./components/
├── atoms
│ └── Heading
│ ├── index.d.ts
│ ├── index.js
│ ├── index.stories.js
│ └── index.test.js
├── molecules
│ └── FormField
│ ├── index.d.ts
│ ├── index.js
│ ├── index.stories.js
│ └── index.test.js
└── story-names.js ./components/story-names.js: export const ATOM = name => `1-Atoms/${name}`;
export const MOLECULE = name => `2-Molecules/${name}`;
export const ORGANISM = name => `3-Organisms/${name}`;
export const TEMPLATE = name => `4-Templates/${name}`;
export const PAGE = name => `5-Pages: ${name}`; ./components/atoms/Headings/index.stories.js import React from "react";
import { ATOM } from "../../story-names";
import Heading from ".";
export default {
component: Heading,
title: ATOM("Heading"),
};
// some stories for Heading Fix ./components/atoms/Headings/index.stories.js // ...imports
export default {
component: Heading,
title: "1-Atoms/Heading"
};
// ...stories Please fix it. Motivation |
@DScheglov would you like to submit a PR for this? |
Oh! It's an interesting task due it requires deep diving in the source-loader. But I have lack of time for job projects ... So, Sorry. For now, I cannot collaborate more then just register/comment issues. |
Same issue :( |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
it is still actual |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
This topic is still actual with 6.0 betas |
(snapshots were updated and manually compared because cases were reordered due to change in id (title was removed from key)
Describe the bug
When creating story with dynamic title, story shows no code available.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
Code will be available
Screenshots
Code snippets
System:
The text was updated successfully, but these errors were encountered: