Skip to content

style: introduce design system#369

Open
allison-truhlar wants to merge 33 commits intomainfrom
refactor-design-system
Open

style: introduce design system#369
allison-truhlar wants to merge 33 commits intomainfrom
refactor-design-system

Conversation

@allison-truhlar
Copy link
Copy Markdown
Collaborator

Clickup id: 86ahb3mvz

This PR begins introducing design system components following the "Atomic Design" methodology of beginning with small, individual components ("atoms"), then composing atoms into molecules, composing atoms and molecules into organisms, and composing atoms, molecules, and organisms into templates.

Specifically, this PR adds five atomic components (FgIcon, FgButton, FgLink, FgExternalLink, FgBadge) and migrates the entire frontend to use them, replacing ad-hoc icon, button, link, and badge implementations. It also adds Storybook as a dependency and Storybook stories for each component. This will help make these UI components discoverable by AI, and also supports components tests via a Vitest plugin and CI visual tests via Chromatic.

- move notification to using error default with greater opacity
…kspaces

Add Storybook 10, Chromatic, addon-vitest, and eslint-plugin-storybook.
Upgrade vite from rolldown-vite to vite 8. Configure vitest with
separate unit and storybook workspaces. Add pixi tasks for storybook.
The preview pages and their component tests are superseded by
Storybook stories.
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.

1 participant