pancake-frontend icon indicating copy to clipboard operation
pancake-frontend copied to clipboard

feat: new onramp flow progress

Open ChefBingbong opened this issue 11 months ago • 3 comments


PR-Codex overview

This PR focuses on restructuring constants, updating components, and removing unused code related to on-ramp providers in the BuyCrypto feature.

Detailed summary

  • Removed unused code related to on-ramp providers
  • Restructured constants and endpoints
  • Updated components like SkeletonText and OnRampFlipButton
  • Refactored useCanBuyCrypto hook
  • Updated chain names and added ChainNamesExtended
  • Updated FAQ component in BuyCrypto feature

The following files were skipped due to too many changes: apps/web/src/views/BuyCrypto/index.tsx, apps/web/src/components/Menu/UserMenu/WalletInfo.tsx, apps/web/src/components/FiatOnRampModal/ProviderIframe.tsx, apps/web/src/state/buyCrypto/actions.ts, apps/web/public/images/on-ramp-providers/mercuryo.svg, apps/web/src/components/SearchModal/CurrencySearchModal.tsx, apps/web/public/images/btc.svg, apps/web/src/views/BuyCrypto/hooks/useOnRampQuotes.ts, apps/web/src/views/BuyCrypto/hooks/useBitcoinAddressValidator.ts, apps/web/public/images/on-ramp-providers/transak.svg, apps/web/src/views/BuyCrypto/hooks/useOnRampLimits.ts, apps/web/src/views/BuyCrypto/components/OnRampProviderLogo/OnRampProviderLogo.tsx, apps/web/src/views/BuyCrypto/hooks/useOnRampSignature.ts, apps/web/src/views/BuyCrypto/hooks/useOnRampInputError.ts, apps/web/src/views/BuyCrypto/types.ts, apps/web/src/state/buyCrypto/reducer.ts, apps/web/src/views/BuyCrypto/components/ProviderSelector/ProviderGroupItem.tsx, apps/web/src/views/BuyCrypto/components/TransactionFeeDetails/TransactionFeeDetails.tsx, apps/web/src/views/BuyCrypto/components/ProviderSelector/ProviderSelector.tsx, apps/web/src/components/SearchModal/CurrencySearch.tsx, apps/web/src/components/SearchModal/CurrencyList.tsx, apps/web/src/components/SearchModal/OnRampCurrencySearch.tsx, apps/web/src/components/SearchModal/OnRampCurrencyList.tsx, apps/web/src/views/BuyCrypto/styles.tsx, apps/web/src/views/BuyCrypto/components/OnRampCurrencySelect/index.tsx, apps/web/src/components/SearchModal/OnRampCurrencyModal.tsx, apps/web/src/state/buyCrypto/hooks.ts, apps/web/src/components/FiatOnRampModal/FiatOnRampModal.tsx, apps/web/src/views/BuyCrypto/constants.ts, packages/localization/src/config/translations.json, apps/web/src/views/BuyCrypto/containers/BuyCryptoForm.tsx

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

ChefBingbong avatar Mar 09 '24 18:03 ChefBingbong

⚠️ No Changeset found

Latest commit: 24456f5b1a242ee3763478ac0de4b9c2c205972b

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 Mar 09 '24 18:03 changeset-bot[bot]

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

Name Status Preview Comments Updated (UTC)
aptos-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 2, 2024 11:38pm
blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 2, 2024 11:38pm
bridge ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 2, 2024 11:38pm
games ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 2, 2024 11:38pm
uikit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 2, 2024 11:38pm
web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 2, 2024 11:38pm

vercel[bot] avatar Mar 09 '24 18:03 vercel[bot]

Typescript errors check

No ts errors in the codebase ! 🎉

Congrats, you have removed 4 ts errors with this PR 💪

github-actions[bot] avatar Mar 09 '24 18:03 github-actions[bot]