Skip to content

[Docs] Design-system components in src/app/components/ui have no usage/prop docs or Storybook; the only showcase (ui-demo) is an undocumented public route covering 4 of 22 components #1246

Description

@grantfox-oss

Telegram (ask questions / claim the issue here first): https://t.me/+DOylgFv1jyJlNzM0

Why this matters

frontend/src/app/components/ui/ has 22 components (Button, Input, Card, Modal, Skeleton, EmptyState, LoanStatusBadge, OperationProgress, etc.) with no prop/usage documentation and no Storybook (README even claims Component Tests: Storybook but none is configured). The de-facto gallery frontend/src/app/[locale]/ui-demo/page.tsx imports only Button, Input, Card and Modal, is not linked or documented anywhere, and ships as a public production route under every locale.

Acceptance criteria

  • Either set up Storybook for src/app/components/ui or document each design-system component's props/variants/usage (markdown or JSDoc), starting with Button, Input, Card, Modal, Skeleton, EmptyState
  • Extend or replace the ui-demo gallery so it covers the remaining ui/ components, and document/gate the route (not silently shipped to production)
  • Link the component reference from frontend/README.md

Files to touch

  • frontend/src/app/components/ui
  • frontend/src/app/[locale]/ui-demo/page.tsx
  • frontend/README.md

Out of scope

  • Visual regression testing infrastructure
  • Redesigning the components themselves

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programdocsDocumentationdocumentationImprovements or additions to documentationgood first issueGood for newcomersuiUser Interface related issues

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions