Skip to content

feat(platform): #227: add Storybook and restructure components into bits, items, and container - #228

Merged
imdeepmind merged 20 commits into
developfrom
feat/#227-add-storybook-and-restructure-components
Nov 21, 2026
Merged

imdeepmind merged 20 commits into
developfrom
feat/#227-add-storybook-and-restructure-components

Conversation

@imdeepmind

Copy link
Copy Markdown
Owner

Description

Resolves #227.

This PR sets up Storybook for rocket/platform and restructures all components into a clean 3-tier component architecture under components/:

  • Bits (components/bits/): Atomic, primitive UI building blocks (Box, Flex, Grid, Button, IconButton, TextBox, Card, Typography, Tag, IconBadge, Avatar, ProgressBar, Section, Select, StatusDot, WindowFrame, Alert, AmbientBackground).
  • Items (components/items/): Reusable composite UI components composed of primitive bits (ActionMenu, Breadcrumb, FileDropzone, MetricCard, OAuthButtonGroup, OptionCardGroup, Stepper, Table, Tabs, TerminalViewer).
  • Container (components/container/): Page-targeted and section-level containers assembled from bits and items for specific views and features (landing/, auth/, dashboard/, navigation/, create-project/, billing/, settings/, usage/).

Key Highlights:

  • Storybook Support: Added Storybook configuration (.storybook/main.ts, .storybook/preview.ts) and stories across bits, items, and containers.
  • Design System Alignment: Replaced hardcoded styling and classNameOverride with design token CSS variables and component props across landing, auth, dashboard, and create-project flows.
  • Component System Consolidation: Removed legacy code (components/ and container/), promoted the new component system to components/, and unified import order in .prettierrc.cjs and AGENTS.md.
  • Prettier & Quality: All files formatted and validated cleanly with Prettier, ESLint, TypeScript (tsc --noEmit), and full Next.js / Storybook builds.

Verification

  • npm run prettier: Clean (all files matched).
  • npm run lint: ESLint passed with 0 errors and 0 warnings.
  • tsc --noEmit: Clean with 0 type errors.
  • npm run build: Next.js production build succeeded with all static/dynamic routes.
  • npm run build-storybook: Storybook build completed successfully.
  • Vitest unit tests & coverage (Ross): All 116 test files (2,094 tests) passed with 100% coverage.

@imdeepmind
imdeepmind merged commit c259009 into develop Nov 21, 2026
6 checks passed
@imdeepmind
imdeepmind deleted the feat/#227-add-storybook-and-restructure-components branch November 21, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(platform): add Storybook and restructure components

1 participant