Skip to content
Toolkit

002-renaissance — Studio becomes the design system it claims to be

Status: DONE (close-out) · Started: 2026-08-14 · Closed: 2026-09-02 · Operator container decision: this workstream (decision 004a, answered)

Problem

Decision 004 made Studio canonical across static, React and Swift. The inventory .station/jobs/001-renaissance/evidence/studio-component-inventory.md then counted what that promise costs: Studio React exports 103 components while the app carries 31 of its own in components/ui plus 7 in layout/ (82 importing files, against 19 that import @csxbase/studio-react) and ~5,050 lines of hand-rolled CSS — and the gap is not one kind of work but four:

  1. ~17 components exist on both sides and need API reconciliation before any file can convert.
  2. ~12 the app has and Studio React lacks — led by ConfirmDialog (55 files; Studio Swift already ships it), Skeleton (36), Pagination (23).
  3. ~8 pattern families exist only as CSS class names on either side — FilterBar, dashboard stats, the whole p-* editor-inspector set.
  4. The three targets already disagree about what exists, and nothing checks them against each other.

Objective

One design system, one source of truth per component, three targets that provably agree about what exists — and apps/web/src/components/ui/ emptied into it. Done when the parity ledger is green, the token alias bridge in apps/web/src/styles/tokens.css is empty, and no app file imports components/ui.

Phases

PhaseWhatWhy this order
00 — LedgerThe cross-target parity ledger and its CI gate: which components exist on which targets, from source, the way check-catalogue-parity.mjs reads the catalogueMakes every later claim checkable; without it "single source" is three sources with one name
01 — AuthorThe ~12 missing React components, by blast radius: ConfirmDialog → Skeleton → Pagination → DataTable's behavioural superset → the restTier B blocks Tier A: a page using a confirm cannot convert while Studio has no confirm
02 — ConvertThe 82 files, components/ui → @csxbase/studio-react, per component with a deprecation path; the alias bridge empties as it goesThe part everyone pictured first, correctly sequenced last-but-one
03 — PromoteThe ~8 CSS-only pattern families become componentsInterleaved with 02 where a page being converted already touches the pattern
04 — Swift parityScoped by which surfaces the Swift app actually ships, driven by the ledger, not by symmetry for its own sakeParity where it pays, recorded where it doesn't

Preview

.station/jobs/002-renaissance/preview renders both systems side by side — .station/jobs/002-renaissance/preview/studio-design.html and .station/jobs/002-renaissance/preview/current-design.html — same sections, same order, linking each system's real stylesheets from the tree, with an explicit gap card wherever one side has no answer. Open both, put the windows side by side, and the inventory is visible instead of asserted.

Out of scope

Product components (BiolinkBlockRenderer, BlockSettingsForm, DisplayRulesEditor — domain, not design system). Visual redesign: this workstream moves components to one source, it does not restyle them beyond what token adoption implies. The Go module rename and everything else on the work scoped to other tracks on the ROADMAP.

Dependencies

DependencyAffects
Studio token pipeline (npm run studio:tokens)Phases 01–03
Track 006 (collaboration, on ROADMAP)Consumes phase 01/02 output

(001-renaissance closed 2026-08-20; its cross-deliveries into this workstream shipped and its remaining scope lives in ROADMAP tracks.)

Verification

The ledger gate (phase 00) is the workstream's own bar. Existing gates keep holding: check-catalogue-parity, check-navigation-parity, the i18n ratchet. Every authored component lands with a story and a preview-page row.

Source: .station/jobs/002-renaissance/README.md

Library