feat(create): redesign the left panel as a Studio builder#289
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_b63f55b3-4ec7-47ea-a566-3721f2be56a0) |
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_6089c490-19d1-41ec-abd2-6046de60f005) |
What
Replaces the
/createleft panel (CustomizerPanel) with Studio — a redesigned, end-to-end design-system builder. Experimental, UI-first redesign of the whole customization surface.The panel is organized by the tier axis (token altitude), one of dotUI's three grouping axes (
domain | tier | tempo):Cutting across all of it: a Simple / Pro depth switch (the tempo axis), command search over every control, and the existing Code style + export footer.
How it maps to the brief
Palette foundations: tonal ramps vs semantic-onlyHonesty
Every control carries a
live/stub dot (carried over from the panel lab). Live (realuseDesignSystem()engine): seeds, algorithm, ramps, gray strategy, contrast, radius, density, cursors, component params. Stub (UI-only, writes a--ds-*token but no preview consumer yet, clearly marked): fonts, type scale, border, spacing scale, elevation, motion, icon stroke, focus ring, default mode, palette-foundations. These are honest placeholders, not newly-shipped product axes.Verification
pnpm typecheck— greenpnpm check— green (0 errors; the 3 warnings are pre-existing in unrelated files)@/registry/__generated__/publishablesresolution error (reproduces on/with original code; unrelated to this change). Verified statically instead.Notes
?studioflag instead if preferred.?lab=truepanel-lab path is untouched./createredesign explorations.Note
Medium Risk
Large UX swap on the default /create path (panel param semantics and primary navigation change) with broad preset-editing surface, though it still goes through existing
useDesignSystemand URL preset persistence.Overview
Replaces the shipped
/createleft panel by deletingCustomizerPaneland wiringStudioPanelinstead. Navigation moves from a dot-separated stack (panel=a.b.c) to flat section IDs (Brand → Primitives → Semantic → Components) driven by a newstudio/module.The new surface adds an icon rail, command search over sections/keywords, Simple vs Pro depth (via
StudioModeProvider/usePro), and reuses existing code options + export in the footer. Brand is new entry UX: live seed picker, starter swatches, and whole-system “vibe” presets (color + algorithm + radius + density). Primitives / Semantic reorganize prior color, layout, cursor, typography, and icon controls along token tiers, with live vs stub dots on controls. Components is a flat list + in-panel detail (local state) that still updates?preview=when an example exists.Builder chrome is split out:
StudioChromeProviderowns undo history on?preset=, shuffle, reset, and Pro mode;CreateTopBarexposes Simple/Pro, surprise-me, undo, and reset._app/route.tsxhides the global Header on/createso the builder bar does not stack under site nav.?lab=truestill mountsLabExperienceinside the same provider.Reviewed by Cursor Bugbot for commit f13bc05. Bugbot is set up for automated code reviews on this repo. Configure here.