All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 12s
- Sidebar: dynamic brand-accent colors, brainstorm section restyled - AI chat general: popup panel with expand/collapse, hides when contextual AI open - AI chat contextual: tabs reordered (Actions first), X close button, height fix - Settings: all tabs restyled, 6 new color presets (sage, terracotta, iron, etc.) - Global color cleanup: emerald/orange hardcoded → brand-accent dynamic - Brainstorm page: orange → brand-accent throughout - PageEntry animation component added to key pages - Floating AI button: bg-brand-accent instead of hardcoded black - i18n: all 15 locales updated with new AI/billing keys - Billing: freemium quota tracking, BYOK, stripe subscription scaffolding - Admin: integrated into new design - AGENTS.md + CLAUDE.md project rules added
69 lines
1.7 KiB
Markdown
69 lines
1.7 KiB
Markdown
---
|
|
name: view-components
|
|
description: Preview selected design system components rendered in localhost
|
|
---
|
|
|
|
# View Components
|
|
|
|
**Goal:** Render selected components in a localhost preview so the user can see them visually with all states and variants.
|
|
|
|
---
|
|
|
|
## INITIALIZATION
|
|
|
|
### Design Log
|
|
Read `{output_folder}/_progress/00-design-log.md`. Check Current and Backlog for context.
|
|
|
|
|
|
## Steps
|
|
|
|
### Step 1: Select Components
|
|
|
|
Present the component catalog and let the user choose what to view:
|
|
|
|
```
|
|
Available components:
|
|
1. Button (4 variants)
|
|
2. Card (3 variants)
|
|
3. Input (5 variants)
|
|
...
|
|
|
|
Select components to preview (comma-separated, or "all"):
|
|
```
|
|
|
|
### Step 2: Generate Preview App
|
|
|
|
Build a minimal localhost application that renders the selected components:
|
|
|
|
1. Read component specifications from `{output_folder}/D-Design-System/components/`
|
|
2. Read design tokens from `{output_folder}/D-Design-System/design-tokens.md`
|
|
3. Generate HTML/CSS that renders each component with:
|
|
- All variants side by side
|
|
- All interactive states (default, hover, active, disabled, focus)
|
|
- Responsive breakpoints
|
|
- Dark/light mode (if defined)
|
|
4. Serve on localhost
|
|
|
|
### Step 3: Interactive Review
|
|
|
|
With the preview running:
|
|
|
|
- User inspects components visually
|
|
- User can request changes → routes to [E] Edit Components or [C] Create (update)
|
|
- User can flag issues → logged for later
|
|
|
|
### Step 4: Capture Feedback
|
|
|
|
If the user notes issues or desired changes:
|
|
|
|
1. Log each item with component name, issue description, severity
|
|
2. Suggest next action: edit in Figma, update via Create, or defer
|
|
|
|
---
|
|
|
|
## AFTER COMPLETION
|
|
|
|
1. Update design log
|
|
1. Stop localhost server
|
|
2. Return to Phase 7 Activity Menu
|