-
Notifications
You must be signed in to change notification settings - Fork 13
feat: manteca kyc flow #1189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
feat: manteca kyc flow #1189
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
fda8345
feat: manteca onboarding widget service
kushagrasarathe efe9139
feat: useMantecaKyc hook
kushagrasarathe 3afb9af
feat: update manteca deposit flow to handle kyc
kushagrasarathe 781501a
fix: rename useKycFlow to useBridgeKycFlow
kushagrasarathe 4228d45
feat: handle manteca kyc completion flow
kushagrasarathe d066eb4
feat: handle geo specific kyc for manteca
kushagrasarathe 7effc01
Merge branch 'feat/manteca-add-flow' of https://github.com/peanutprot…
kushagrasarathe d7e6c0f
Merge branch 'feat/manteca-add-flow' into feat/manteca-kyc
kushagrasarathe 963b87d
feat: handle geo based user verifciation in user settings
kushagrasarathe 823ec91
fix: use useclient in mepa comp
kushagrasarathe b6e0026
fix: resolve coderabbit comments
kushagrasarathe af53312
feat: country row comp
kushagrasarathe eab8914
feat: handle non-bridge kyc activity ui and states
kushagrasarathe c32cd1b
feat: handle home and history page entries for kyc
kushagrasarathe b39e62a
feat: handle retry for manteca
kushagrasarathe d09105c
chore: remove test comment
kushagrasarathe 52a7b71
Merge branch 'feat/manteca-integration' into feat/manteca-kyc
kushagrasarathe 35a9a66
Merge branch 'feat/manteca-kyc' into feat/kyc-activity
kushagrasarathe d4226d4
chore: resolve cr comment
kushagrasarathe 95deb7a
Merge branch 'feat/manteca-integration' into feat/manteca-kyc
kushagrasarathe 0f90d9d
Merge pull request #1218 from peanutprotocol/feat/kyc-activity
kushagrasarathe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
9 changes: 8 additions & 1 deletion
9
src/app/(mobile-ui)/add-money/[country]/[regional-method]/page.tsx
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| 'use client' | ||
|
|
||
| import { useEffect } from 'react' | ||
| import Image from 'next/image' | ||
| import { HandThumbsUp } from '@/assets' | ||
|
|
||
| /* | ||
| This page is just to let users know that their KYC was successful. Incase there's some issue with webosckets closing the modal, ideally this should not happen but added this as fallback guide | ||
| */ | ||
| export default function KycSuccessPage() { | ||
| useEffect(() => { | ||
| if (window.parent) { | ||
| window.parent.postMessage({ source: 'peanut-kyc-success' }, '*') | ||
| } | ||
| }, []) | ||
|
|
||
| return ( | ||
| <div className="flex h-screen min-h-full w-full flex-col items-center justify-center gap-4"> | ||
| <Image src={HandThumbsUp} alt="Peanut HandThumbsUp" className="size-34" /> | ||
| <div className="space-y-2"> | ||
| <p className="text-lg font-semibold">Verification successful!</p> | ||
| <p className="text-sm text-gray-1">You can now close this window.</p> | ||
| </div> | ||
| </div> | ||
| ) | ||
| } |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.