feat(create): redesign /create left panel as Studio#290
Conversation
Replace the old CustomizerPanel with a new `studio/` module: a single control surface that takes a user from a brand to a complete, on-brand system, fast or deep. - Simple/Pro posture switch for the two audiences. - Brand front door: seed one colour -> live contrast-checked ramps, extract from an image (canvas avg-colour) or pasted palette, 8 vibes, surprise-me. - Color editor with Auto/Guided/Manual modes + live WCAG readout + engine knobs + status seeds + palette exposure. - 10 foundations, each with a live summary and a deep editor; captured- intent axes (typography, elevation, motion, icons...) render real in-panel previews while staying honest about the iframe. - Components browser: grouped, searchable, synced-family aware, per- component param editor that swaps the preview. - Cmd-K command palette over every foundation, component and macro. - Reuses useDesignSystem, the colour engine, ComponentDetailView and the export footer; live axes (colour/radius/density/cursor/chart/params) drive the preview as before. UI-only experiment. Also fixes a render-phase setState (router navigate inside a setStack updater). Verified in desktop dark/light and mobile.
|
|
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_bac97b32-d106-40be-9a78-912930e68d77) |
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_6ccec5ce-2245-4d1d-950c-5e93ab27b9dc) |
What
Removes the old
CustomizerPaneland rebuilds the/createleft panel as a new Studio module — one control surface designed to take a user from a brand to a complete, on-brand component library, fast or deep.The experience
Reuses
useDesignSystem, the OKLCH colour engine (ColorKnobsControls,ContrastReadout,resolveColorConfig),ComponentDetailView,ChartColorsConfig,CursorConfigand the export footer — the proven deep logic is untouched.Why
Maps the product north star onto the builder's primary surface: seed one colour and walk away with a system, or control every axis and every component — without two separate UIs. See
docs/research/2026-06-27-create-studio-redesign.mdfor the full design write-up and requirement mapping.Notes for reviewers
www/src/modules/create/studio/. Route swap:routes/_app/create.tsxrenders<StudioPanel>. Oldcustomizer-panel.tsxdeleted (no remaining refs).www/src/registry/changes, so no__generated__regeneration.setState(the store called the router navigate inside asetStackupdater).Verification
pnpm typecheck✅ ·pnpm check✅ (2 pre-existing warnings in test/script files).Note
Medium Risk
Large UX swap on the primary
/createroute with new navigation (URLpanelno longer drives the left stack) and many new preset tokens; core preset/export paths are unchanged and?lab=trueis preserved.Overview
Replaces the deleted CustomizerPanel with a new
studio/module on/create: StudioTopBar (builder chrome) + StudioPanel (home, slide-in editors, export footer), wrapped in StudioProvider. The global site Header is hidden on/create(except?lab=true).Studio adds a Brand front door (seed colour, live ramps, image/palette extract, 8 vibes, surprise me), Simple/Pro posture, a single FOUNDATION_INDEX registry driving home cards, ⌘K palette, and detail views, 10 foundation editors (colour Auto/Guided/Manual reusing existing colour engine), a grouped components browser with synced-family banners, and Live dots for preview vs export-only tokens. Navigation stack and system name live in React state (not
?panel=); opening a component still syncs?preview=.Existing
useDesignSystem, export, and deep config UIs are reused; many new--ds-*stub tokens persist intent without iframe consumers yet. Addsdocs/research/2026-06-27-create-studio-redesign.md.Reviewed by Cursor Bugbot for commit 95afe51. Bugbot is set up for automated code reviews on this repo. Configure here.