feat: add Storybook stories for UI components and update existing stories #3060
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Adds comprehensive Storybook stories for UI components from
@onlook/uiand updates existing stories to follow the project's Storybook playbook conventions.New stories created (16):
Existing stories updated (5):
@storybook/reactto@storybook/nextjs-vitetitleproperty from meta objects per playbook guidelinesAll stories follow the playbook pattern with:
fn()in meta.argsRelated Issues
N/A - Audit mode task
Type of Change
Testing
bun run storybookinapps/web/client/to verifyHuman Review Checklist
@storybook/nextjs-viteis the correct import for this project's Storybook setupbun run storybookand verify all new stories render without errors@onlook/ui/*resolve correctlyAdditional Notes
Important
This PR adds new Storybook stories for 16 UI components and updates 5 existing ones, aligning them with the project's Storybook conventions.
Alert,Avatar,Badge,Card,Checkbox,Input,Label,Progress,Separator,Skeleton,Slider,Switch,Tabs,Textarea,Toggle,Tooltip.Button,ProjectCard,ProjectsPage,SelectProject,TopBar.@storybook/reactto@storybook/nextjs-vite.titleproperty from meta objects in all updated stories.argTypeswith descriptions for controllable props.fn()for callback props inmeta.args.This description was created by
for c8a41ab. You can customize this summary. It will automatically update as commits are pushed.