chore(storybook): reorganise Canvas IA to mirror Wind structure#729
Conversation
- Ignore .codeviz/ (code visualisation tool output) - Ignore apps/apollo-chat/ (uninitialised scaffold with no source) - Ignore **/locales/*.js (compiled lingui output; *.ts was already ignored) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Dependency License Review
License distribution
Excluded packages
|
cf6e019 to
b3bcc5c
Compare
There was a problem hiding this comment.
It looks like the links in the "All Components" story (canvas-gallery.stories.tsx) have broken. If we want to keep that story around, we should probably update the links there. But I could see your new Intro section maybe superseding it (or could combine some features?)
Screen.Recording.2026-05-21.at.12.57.18.PM.mov
…ucture - Add Introduction/Getting Started page with Overview, Quick Start, and Component Reference tabs (styled to match Wind's getting-started page) - Reorganise Components into categories: Canvas, Controls, Edges, Layout, Nodes, Panels, Primitives (replacing flat list) - Move AgentFlow and CodedAgentFlow from Components to Templates - Move Core/Controls/Breadcrumb → Components/Controls - Move Core/Icons → Theme/Icons - Move Core/Layouts → Components/Layout (Column, Grid, Row) - Rename Templates: Canvas Blank, Canvas with Panels, Canvas Agent Flow, Canvas Agent Flow Coded - Update storySort in preview.tsx to enforce order: Introduction → Theme → Components → Templates Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
b3bcc5c to
65ecb19
Compare
|
Good catch @BenGSchulz. Fixed all 25 storyPath IDs in canvas-gallery.stories.tsx pointing at the old flat paths. Updated them to match the reorganized structure. On the superseding question: I'd keep both for now. The Getting Started intro covers concepts and quick-start guidance, while All Components is more of a navigable index with previews and search/filter, they serve different purposes. That said, the Component Reference tab in Getting Started already links out to individual stories, so there's some overlap worth revisiting. Happy to consolidate if you have a specific direction in mind. |
I think the bit of overlap is fine as you say they serve different purposes. Thanks |
Summary
Components/Category/Namepattern: Canvas, Controls, Edges, Layout, Nodes, Panels, Primitivespreview.tsxto enforce: Introduction → Theme → Components → TemplatesBefore / After
Components/BaseNodeComponents/Nodes/BaseNodeComponents/ButtonHandlesComponents/Controls/ButtonHandlesComponents/ToolboxComponents/Controls/ToolboxComponents/NodeInspectorComponents/Panels/NodeInspectorComponents/ExecutionStatusIconComponents/Primitives/ExecutionStatusIconComponents/AgentFlowTemplates/Canvas Agent FlowCore/IconsTheme/IconsCore/Layouts/ColumnComponents/Layout/ColumnFlow(top-level)Templates/Canvas BlankTest plan
🤖 Generated with Claude Code