Implement frontend designs from figma using Chakra UI v3 and Storybook
92
92%
Does it follow best practices?
Impact
92%
1.64xAverage score across 6 eval scenarios
Advisory
Suggest reviewing before use
The product team has signed off on a new Pipeline Dashboard page for the platform. This page will give users an at-a-glance view of all their data pipelines: their current status, recent run history, and quick-access actions like triggering a run or viewing logs. The engineering team wants to move quickly but needs a solid component architecture before anyone writes code — bad decisions made at the planning stage (duplicated logic, incorrect reuse, tangled dependencies) are expensive to fix once implementation is underway.
You have been given a design specification (below) describing the layout and key UI elements of the page. The codebase already has some shared components in src/components/ that may be relevant. Your job is to analyze the design and produce a structured component breakdown that the engineering team can use as a build guide.
The plan should identify which existing components can be reused or extended, classify every new component that needs to be created, show the component hierarchy, and recommend a build order. The team will use this document to divide work among developers.
Write the component plan to a file named component-plan.md. The document should be detailed enough that a developer who hasn't seen the design can understand what to build and in what order.
The following files are provided as inputs. Extract them before beginning.
=============== FILE: inputs/design-spec.md ===============
/workspaces/:workspaceId/pipelines
The page is a full-width dashboard with a top toolbar and a scrollable content area. The content area contains two sections stacked vertically:
Summary Bar — A horizontal row of 4 summary stat cards at the top. Each card shows a numeric count and a label (e.g., "12 Active", "3 Failed", "47 Completed", "2 Paused"). Each card has a distinct status color accent on its left border.
Pipeline List — Below the summary bar is a vertically stacked list of pipeline rows. Each row represents one pipeline.
The toolbar spans the full page width and contains:
The toolbar has a bottom border separating it from the content area.
Each card:
Each row in the pipeline list shows:
Rows have a bottom border, subtle hover background, and are clickable to navigate to a detail page.
If there are no pipelines, the list area is replaced with a centered empty state showing:
The following components already exist and may be relevant:
src/components/StatusBadge/StatusBadge.tsx — shows a colored badge for status values (active, pending, failed, paused, completed, unknown)src/components/SearchInput/SearchInput.tsx — a styled search input with icon and clear buttonsrc/components/EmptyState/EmptyState.tsx — generic empty state with icon, heading, subtext, and optional CTA buttonsrc/components/ui/Provider.tsx — Chakra theme provider with custom semantic tokens