js icon indicating copy to clipboard operation
js copied to clipboard

[WIP] Pay UI Improvements v2

Open MananTank opened this issue 1 year ago • 3 comments

PR-Codex overview

This PR focuses on updating configurations, components, and stories related to payment flows and UI elements.

Detailed summary

  • Updated configurations for Storybook and Vite
  • Modified components like ModalHeader, ChainName, Skeleton, TokenSymbol
  • Refactored payment flow screens and UI states
  • Added new stories for payment flows and UI components

The following files were skipped due to too many changes: packages/thirdweb/src/pay/buyWithFiat/getQuote.ts, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatSteps.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/tx-history/TxDetailsScreen.tsx, packages/thirdweb/.storybook/main.ts, packages/thirdweb/src/react/web/ui/PayEmbed.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/swap/useSwapSupportedChains.ts, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/fiat/PostOnRampSwapFlow.tsx, packages/thirdweb/package.json, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/tx-history/useBuyTransactionsToShow.ts, packages/thirdweb/src/stories/utils.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/tx-history/FiatDetailsScreen.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/main/PaymentMethodSelection.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/main/TokenSelectedLayout.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/fiat/PostOnRampSwap.tsx, packages/thirdweb/src/stories/PayScreens/TransactionHistory.stories.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/tx-history/SwapDetailsScreen.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/main/BuyUIMainScreen.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatScreenMain.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/confirmation/common.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/swap/SwapScreenMain.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/swap/SwapFlow.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/confirmation/SwapFlowUI.tsx, packages/thirdweb/src/stories/PayScreens/mockHistory.ts, packages/thirdweb/src/stories/PayScreens/PayFlows/SwapFlowStory.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/confirmation/FiatFlowUI.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatFlow.tsx, packages/thirdweb/src/stories/PayScreens/PayFlows/FiatFlowStory.tsx, packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/BuyScreen.tsx, pnpm-lock.yaml

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

MananTank avatar Jun 28 '24 19:06 MananTank

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2024 7:38pm
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2024 7:38pm
wallet-ui ❌ Failed (Inspect) Jul 1, 2024 7:38pm

vercel[bot] avatar Jun 28 '24 19:06 vercel[bot]

⚠️ No Changeset found

Latest commit: 17d79d1cb4e067a60c6a131e18893e9885b28147

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Jun 28 '24 19:06 changeset-bot[bot]

Your org requires the Graphite merge queue for merging into main

Add the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

graphite-app[bot] avatar Jun 28 '24 19:06 graphite-app[bot]