codeant-ai-for-open-source[bot] commented on PR #37771:
URL: https://github.com/apache/superset/pull/37771#issuecomment-3866144274

   ## **Sequence Diagram**
   
   This PR removes the separate demo package and co-locates Storybook stories 
with their source code, updates Storybook globs and webpack alias, and adjusts 
TypeScript/production checks so the consolidated Storybook builds correctly. 
The diagram shows the main success path from code changes to a successful 
Storybook build.
   
   ```mermaid
   sequenceDiagram
       participant Dev
       participant Repo
       participant StorybookConfig
       participant TypeChecker
       participant BuildSystem
   
       Dev->>Repo: Remove superset-ui-demo & move stories into 
packages/*/src/stories and packages/superset-ui-core/src/*/stories
       Dev->>StorybookConfig: Update .storybook/main.js (story globs + add 
@storybook-shared webpack alias) and add .storybook/shared/
       Dev->>TypeChecker: Update tsconfig paths for @storybook-shared and add 
storybook tsconfig; exclude stories from production ForkTsChecker
       Repo-->>BuildSystem: Trigger build-storybook (local/CI)
       StorybookConfig->>BuildSystem: Provide new story globs & webpack alias 
so stories are discovered and resolve imports
       TypeChecker->>BuildSystem: Skip production TS checks for story files 
(avoids build errors)
       BuildSystem-->>Dev: build-storybook completes successfully (stories 
consolidated and discoverable)
   ```
   
   ---
   *Generated by [CodeAnt AI](https://codeant.ai)*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to