codeant-ai-for-open-source[bot] commented on PR #37771:
URL: https://github.com/apache/superset/pull/37771#issuecomment-3865136655
## **Sequence Diagram**
Shows the simplified build flow after removing the superset-ui-demo package
and co-locating stories; highlights story discovery, the shared alias
resolution, and the resulting Storybook static build used by CI/developers.
```mermaid
sequenceDiagram
participant Dev/CI
participant Repo (monorepo)
participant Storybook
participant Webpack
Dev/CI->>Repo (monorepo): Push PR / run build-storybook
Repo (monorepo)->>Repo (monorepo): Remove superset-ui-demo & co-locate
story files (plugins/*/src/stories, core src/*/stories)
Dev/CI->>Storybook: Start Storybook build (reads .storybook/main.js)
Storybook->>Webpack: Resolve modules & alias @storybook-shared ->
.storybook/shared
Storybook->>Repo (monorepo): Discover co-located stories via updated
globs
Storybook-->>Dev/CI: Produce consolidated static Storybook build
(artifact)
```
---
*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]