Skip to content

Commit

Permalink
fix: Fix onboarding by downgrading (#1175)
Browse files Browse the repository at this point in the history
* Fix onboarding by downgrading

* Update pnpm-lock.yaml
  • Loading branch information
Tymmmy authored Mar 1, 2024
1 parent 2a7f7bd commit 9643988
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 18 deletions.
2 changes: 1 addition & 1 deletion packages/wallet/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.50.1",
"react-joyride": "^2.7.4",
"react-joyride": "^2.5.4",
"react-select": "^5.8.0",
"sharp": "^0.33.2",
"socket.io-client": "^4.7.4",
Expand Down
15 changes: 0 additions & 15 deletions packages/wallet/frontend/src/components/onboarding/Onboarding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export const ONBOARDING_STEPS: StepWithIcon[] = [
target: 'body',
content: `Welcome to Testnet! Testnet is a Rafiki playground, where you can add multiple accounts and make Interledger transactions with play money. Let's begin our journey.`,
disableOverlayClose: true,
disableBeacon: true,
placement: 'center',
Icon: Wave
},
Expand All @@ -37,7 +36,6 @@ export const ONBOARDING_STEPS: StepWithIcon[] = [
target: '#newAccount',
content: `You need an account in order to deposit money and start transacting. Let's create your first account.`,
disableOverlayClose: true,
disableBeacon: true,
spotlightClicks: true,
Icon: Pointer
},
Expand All @@ -48,15 +46,13 @@ export const ONBOARDING_STEPS: StepWithIcon[] = [
'All accounts need a name, so please add a name for your EUR account.',
placement: 'center',
disableOverlayClose: true,
disableBeacon: true,
Icon: Person
},
{
// 3
target: '#redirectButtonSuccess',
content: `Let's see inside your newly created account.`,
disableOverlayClose: true,
disableBeacon: true,
spotlightClicks: true,
Icon: PersonDoc
},
Expand All @@ -65,7 +61,6 @@ export const ONBOARDING_STEPS: StepWithIcon[] = [
target: '#walletAddress',
content: `In order to send and receive money, all accounts need at least a payment pointer, so let's add a payment pointer to your account.`,
disableOverlayClose: true,
disableBeacon: true,
spotlightClicks: true,
Icon: Plus
},
Expand All @@ -75,7 +70,6 @@ export const ONBOARDING_STEPS: StepWithIcon[] = [
content:
'Your balance is currently $0. In order to make your first transaction, you need to add money to your account.',
disableOverlayClose: true,
disableBeacon: true,
spotlightClicks: true,
Icon: MoneyHand
},
Expand All @@ -84,7 +78,6 @@ export const ONBOARDING_STEPS: StepWithIcon[] = [
target: '#balance',
content: 'Congratulations, you have money in your account.',
disableOverlayClose: true,
disableBeacon: true,
placement: 'center',
Icon: PaperPlane
},
Expand All @@ -95,23 +88,20 @@ export const ONBOARDING_STEPS: StepWithIcon[] = [
'Now that you have created your account and added a payment pointer, we can start making your first Interledger transaction.',
disableOverlayClose: true,
spotlightClicks: true,
disableBeacon: true,
Icon: MoneyOut
},
{
// 8
target: '#sendReceive',
content: `You have to pay some fees in order to send payments. 'receive' means that the receiver will get the exact amount from the input and you will be paying a small fee in addition to that. 'send' means that the fees will be deducted from the amount in the input, and receiver will get the rest.`,
disableOverlayClose: true,
disableBeacon: true,
Icon: Switch
},
{
// 9
target: '#acceptQuote',
content: `You can review your payment details before sending the money. For now, let's continue the transaction.`,
disableOverlayClose: true,
disableBeacon: true,
spotlightClicks: true,
Icon: ThumbsUp
},
Expand All @@ -120,7 +110,6 @@ export const ONBOARDING_STEPS: StepWithIcon[] = [
target: '#redirectButtonSuccess',
content: `Congratulations, you have made your first Interledger transaction. Now let's explore your account some more.`,
disableOverlayClose: true,
disableBeacon: true,
spotlightClicks: true,
Icon: Pointer
},
Expand All @@ -129,15 +118,13 @@ export const ONBOARDING_STEPS: StepWithIcon[] = [
target: '#request',
content: `You can also request money by creating a payment url, and share it with someone. But for now let's see your previous transaction.`,
disableOverlayClose: true,
disableBeacon: true,
Icon: MoneyCircle
},
{
// 12
target: '#eurAccount',
content: 'Go inside your EUR account.',
disableOverlayClose: true,
disableBeacon: true,
spotlightClicks: true,
Icon: Dollar
},
Expand All @@ -146,7 +133,6 @@ export const ONBOARDING_STEPS: StepWithIcon[] = [
target: '#viewTransactions',
content: 'You can view all your incoming and outgoing transactions.',
disableOverlayClose: true,
disableBeacon: true,
spotlightClicks: true,
Icon: TransactionCircle
},
Expand All @@ -155,7 +141,6 @@ export const ONBOARDING_STEPS: StepWithIcon[] = [
target: '#transactionsList',
content: `Here you can see the transaction list for this payment pointer. Now you are familiar with the basics of Testnet. Continue to play around.`,
disableOverlayClose: true,
disableBeacon: true,
Icon: HomeRooftop
}
]
Expand Down
38 changes: 36 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9643988

Please sign in to comment.