feat: Storybook stories for StatusBadge, StreamCard, StreamCreationForm - #527
Merged
Chuks-coderr merged 1 commit intoAug 28, 2026
Merged
Conversation
…onForm
- Add StatusBadge component and its stories covering all 7 status
variants (Active, Paused, Completed, Ended, Cancelled, Scheduled,
Unknown) in both normal and compact sizes, plus an all-statuses
side-by-side showcase
- Add StreamCard stories covering Active, Paused, Completed, Cancelled,
Scheduled, Loading skeleton, Selected/bulk-select, WithCloneAction,
USDC/AQUA tokens, ExpiringSoon, LongRunning, ZeroFlowRate, MinimalProps,
and light-background variants
- Add StreamCreationForm stories covering all 4 wizard steps (Recipient,
Amount & Duration, Preview, Confirm) in blank and pre-filled variants,
plus all 5 transaction overlay stages (Building, Signing, Submitting,
Confirming, Done/Error)
- Fix TypeScript errors in StreamCreationForm.tsx:
* Add missing onBlur prop to SchedulingToggle
* Pass amount as string to FlowRatePreview (was number)
* Use tokenSymbol prop name and string amount for StreamCostCalculator
and NetReceivedDisplay (was token + number)
closes SoroStream#489
|
@stonesjarvis3 is attempting to deploy a commit to the Chuks7 Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Add Storybook stories covering every variant and state of the three core components, enabling contributors to develop and review UI components in isolation without running the full app.
What's changed
StatusBadge stories (
StatusBadge.stories.tsx)AllStatusesandAllStatusesCompactshowcase stories for visual regressionStreamCard stories (
StreamCard.stories.tsx)StreamCreationForm stories (
StreamCreationForm.stories.tsx)Bug fixes in
StreamCreationForm.tsxonBlurprop toSchedulingToggleFlowRatePreviewto receiveamountasstring(wasnumber)StreamCostCalculatorandNetReceivedDisplayto usetokenSymbolprop (wastoken) andstringamountTesting
npx tsc --noEmit)npx eslint components/*.stories.tsx components/StreamCreationForm.tsx)closes #489