Skip to content

Add Storybook stories for sonner toast wrapper - #888

Merged
Austinaminu2 merged 1 commit into
FlowwStar:mainfrom
Johnero542:batch-68-storybook-stories
Sep 28, 2026
Merged

Austinaminu2 merged 1 commit into
FlowwStar:mainfrom
Johnero542:batch-68-storybook-stories

Conversation

@Johnero542

Copy link
Copy Markdown
Contributor

Created sonner.stories.tsx with interactive toast triggers for success, error, info, and warning toast types. Includes stories for default state, individual toast types with descriptions, and long-message scenarios. All toasts render with proper icon and theme support through Sonner's theming system.

Add Storybook stories for tabs component

Created tabs.stories.tsx with comprehensive tab interaction patterns: default 3-tab layout (All/Receiving/Sending dashboard tabs), 4-tab extended layout, line variant styling, disabled tab state, and interactive component tracking active tab. Demonstrates keyboard navigation support and tab content switching.

Add Storybook stories for token-amount formatter

Created token-amount.stories.tsx covering amount formatting edge cases: small amounts (0.001 USDC), standard amounts (1 USDC), very large amounts (1,234,567.89 USDC), compact notation for large values (1.2K, 5.4T), different tokens (EUR, WBTC), and customizable fraction digits. Includes side-by-side comparison of normal vs compact formatting.

Add Storybook stories for tx-preview-dialog

Created tx-preview-dialog.stories.tsx with all three simulation states: simulating (spinner, no preview), successful simulation (fee/resource display, confirm enabled), and failed simulation (error message, confirm disabled). Includes pending sign state and interactive dialog with form handling.

Closes #727
Closes #728
Closes #729
Closes #730


name: Pull request
about: Describe a focused change and how it was verified
title: 'feat: '
labels: enhancement

Issue

Closes #

Summary

Describe the user or maintainer-facing change.

Changes

Test plan

  • I added or updated automated tests.
  • I ran the relevant test suite.
  • I checked the change in the affected environment.

Checklist

  • The change is scoped to the linked issue.
  • Documentation and configuration were updated where needed.
  • No secrets, private keys, or wallet credentials are included.

Created sonner.stories.tsx with interactive toast triggers for success, error, info, and warning toast types. Includes stories for default state, individual toast types with descriptions, and long-message scenarios. All toasts render with proper icon and theme support through Sonner's theming system.

Add Storybook stories for tabs component

Created tabs.stories.tsx with comprehensive tab interaction patterns: default 3-tab layout (All/Receiving/Sending dashboard tabs), 4-tab extended layout, line variant styling, disabled tab state, and interactive component tracking active tab. Demonstrates keyboard navigation support and tab content switching.

Add Storybook stories for token-amount formatter

Created token-amount.stories.tsx covering amount formatting edge cases: small amounts (0.001 USDC), standard amounts (1 USDC), very large amounts (1,234,567.89 USDC), compact notation for large values (1.2K, 5.4T), different tokens (EUR, WBTC), and customizable fraction digits. Includes side-by-side comparison of normal vs compact formatting.

Add Storybook stories for tx-preview-dialog

Created tx-preview-dialog.stories.tsx with all three simulation states: simulating (spinner, no preview), successful simulation (fee/resource display, confirm enabled), and failed simulation (error message, confirm disabled). Includes pending sign state and interactive dialog with form handling.

Closes FlowwStar#727
Closes FlowwStar#728
Closes FlowwStar#729
Closes FlowwStar#730
@drips-wave

drips-wave Bot commented Sep 28, 2026

Copy link
Copy Markdown

@Johnero542 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Austinaminu2
Austinaminu2 merged commit d9599d1 into FlowwStar:main Sep 28, 2026
0 of 6 checks passed

This branch had an error being deployed

1 failed deployment
staging — fb233659 Deployed Sep 28, 2026 by Johnero542 via deploy-staging #299
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants