document the showcase site in CLAUDE.md - #13
Open
kualta wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
ui/CLAUDE.mddescribed this repo as source-only: the architecture tree listed justsrc/, and the commands listed onlytypecheck/lint/check/publish. Nothing mentionedapp/— the Vite showcase that is built by theDockerfileand deployed live at https://ui.flow.industries.An agent reading the doc reasonably concluded the showcase did not exist. That produced a Plane epic (UI-9) asking to build a component gallery from scratch, with the stated evidence "the package has no build step and no gallery/storybook (
ui/has onlysrc/+ biome + tsc)". The gallery has existed the whole time and renders 54 component sections.Changes
src/, published, no build step) and the showcase site (app/, Vite, not published —files: ["src"]).#design,#showcases,#components), theDockthat switches them, and the light/dark toggle that flips.darkondocumentElement.hidden sm:flex, so below thesmbreakpoint there is no visible page/theme switcher — anything driving the page programmatically should set the hash and.darkdirectly.bun run dev/build/previewto the commands block../componentssubpath, not the root barrel (src/index.tsonly exportscnanduseIsMobile), sosrc/components/ui/index.tsis the list to read.Testing
Documentation only — no code changed.
app/App.tsx(~3.5k lines) imports 57 of 65 components; the Dock's three hashes and theme toggle are atapp/App.tsx:2722;package.jsonhasfiles: ["src"]and the dev/build/preview scripts.https://ui.flow.industries/#componentsrenders 54 component sections,#showcasesrenders the composed demos.Plane UI-9 — https://plane.flow.industries/flow/browse/UI-9 (rescoped to match reality: visual-regression + axe gates over the existing showcase, rather than building a gallery).