Skip to content

feat(storybook): add Storybook 8 with stories for Stellar components#32

Merged
truthixify merged 1 commit into
wraith-protocol:developfrom
Kingvic300:feat/storybook-stellar
Jun 1, 2026
Merged

feat(storybook): add Storybook 8 with stories for Stellar components#32
truthixify merged 1 commit into
wraith-protocol:developfrom
Kingvic300:feat/storybook-stellar

Conversation

@Kingvic300
Copy link
Copy Markdown

Set up Storybook 8 (Vite + React) wired to the dark monochrome design system, with stories for the key Stellar components and a test-runner visual-regression job.

  • Split Stellar components into pure views + containers: StellarSendView, StellarReceiveView, StellarMatchCard, FreighterConnectButton; add a disabledChains prop to ChainSwitcher
  • Export ChainContext/StealthKeysContext/StellarWalletContext so stories can inject mocked values
  • Add .storybook config (dark theme, fonts, MSW worker) and mock-context decorators (withChain, withStealthKeys, withStellarWallet) + fixtures
  • Stories for CopyButton, ChainSwitcher, FreighterConnectButton, StellarMatchCard, StellarSendView, StellarReceiveView, plus WalletConnect and StellarReceive container integration stories, with idle/loading/error variants and no network or wallet access
  • Visual regression via @storybook/test-runner + jest-image-snapshot, CI workflow running inside the Playwright image, and CONTRIBUTING docs

Closes: #25

@vercel
Copy link
Copy Markdown

vercel Bot commented May 27, 2026

@Kingvic300 is attempting to deploy a commit to the truthixify's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 27, 2026

@Kingvic300 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

@truthixify truthixify changed the base branch from main to develop June 1, 2026 15:42
@truthixify
Copy link
Copy Markdown
Contributor

The Storybook setup, the stories themselves, and the new presentational StellarSendView.tsx extraction look like a solid foundation for #25. Conflicts with develop after recent merges, please rebase:

git fetch origin
git rebase origin/develop
git push --force-with-lease

When resolving, keep develop's StellarSend.tsx work (validation, sponsored withdrawal, retry recipes) and rebuild your StellarSendView.tsx extraction on top of that rather than reverting to the pre-validation version. Thanks @Kingvic300.

Set up Storybook 8 (Vite + React) wired to the dark monochrome design
system, with stories for the key Stellar components and a test-runner
visual-regression job.

- Split Stellar components into pure views + containers: StellarSendView,
  StellarReceiveView, StellarMatchCard, FreighterConnectButton; add a
  disabledChains prop to ChainSwitcher
- Export ChainContext/StealthKeysContext/StellarWalletContext so stories
  can inject mocked values
- Add .storybook config (dark theme, fonts, MSW worker) and mock-context
  decorators (withChain, withStealthKeys, withStellarWallet) + fixtures
- Stories for CopyButton, ChainSwitcher, FreighterConnectButton,
  StellarMatchCard, StellarSendView, StellarReceiveView, plus WalletConnect
  and StellarReceive container integration stories, with idle/loading/error
  variants and no network or wallet access
- Visual regression via @storybook/test-runner + jest-image-snapshot,
  CI workflow running inside the Playwright image, and CONTRIBUTING docs
@Kingvic300 Kingvic300 force-pushed the feat/storybook-stellar branch from 303cf02 to 51578b2 Compare June 1, 2026 16:17
@Kingvic300
Copy link
Copy Markdown
Author

@truthixify this has been fixed

@truthixify
Copy link
Copy Markdown
Contributor

Verified locally that the merge cleanly preserves #13's validation, #29's sponsored withdrawal, and #31's faq.ts. The presentational StellarSendView / StellarReceiveView extraction is the right shape for Storybook. Merging. Thanks @Kingvic300.

@truthixify truthixify merged commit a9ac2b7 into wraith-protocol:develop Jun 1, 2026
1 check failed
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.

Storybook setup with stories for Stellar components

2 participants