Skip to content
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

feat: change onboarding acknowledgement flow #831

Merged
merged 3 commits into from
Jul 22, 2024
Merged

feat: change onboarding acknowledgement flow #831

merged 3 commits into from
Jul 22, 2024

Conversation

rosepuppy
Copy link
Contributor

@rosepuppy rosepuppy commented Jul 18, 2024

OLD:

Screen.Recording.2024-07-18.at.11.15.56.AM.mov

NEW:

Screen.Recording.2024-07-18.at.10.51.47.AM.mov

Update onboarding acknowledgement flow based on this https://linear.app/dydx/issue/OTE-318/update-onboarding-flow-to-reduce-friction-for-users

Copy link

vercel bot commented Jul 18, 2024

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

Name Status Preview Comments Updated (UTC)
v4-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 22, 2024 4:53pm
v4-testnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 22, 2024 4:53pm

import { Link } from '@/components/Link';
import { TermsOfUseLink } from '@/components/TermsOfUseLink';

export const AcknowledgeTermsDialog = ({ setIsOpen }: DialogProps<AcknowledgeTermsDialogProps>) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is mostly moved from OnboardingDialog/AcknowledgeTerms to its own Dialog.

@@ -3,7 +3,6 @@ import type { DydxAddress, EvmAddress } from './wallets';
export enum OnboardingSteps {
ChooseWallet = 'ChooseWallet',
KeyDerivation = 'KeyDerivation',
AcknowledgeTerms = 'AcknowledgeTerms',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No longer need AcknowledgeTerms as an OnboardingStep

@rosepuppy rosepuppy changed the title feat: Change onboarding acknowledgement flow feat: change onboarding acknowledgement flow Jul 18, 2024
@yogurtandjam
Copy link
Contributor

General thought: why is the acknowledge link so small/in the corner? Can we make the acknowledge terms and deposit button open up that modal instead?

@rosepuppy
Copy link
Contributor Author

rosepuppy commented Jul 18, 2024

General thought: why is the acknowledge link so small/in the corner? Can we make the acknowledge terms and deposit button open up that modal instead?

I think the idea, is that we don't really need to show the modal unless the user wants to read the whole thing. The acknowledgement will be implicit when they deposit. Basically if they just click the deposit CTA, they don't need to view the ack modal at all.

I think we were seeing drop offs during the ack modal and we want to skip that step.

@@ -273,6 +287,10 @@ export const DepositForm = ({ onDeposit, onError }: DepositFormProps) => {

setIsLoading(true);

if (!hasAcknowledgedTerms) {
saveHasAcknowledgedTerms(true);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Set acknowledgement on deposit

@yogurtandjam
Copy link
Contributor

General thought: why is the acknowledge link so small/in the corner? Can we make the acknowledge terms and deposit button open up that modal instead?

I think the idea, is that we don't really need to show the modal unless the user wants to read the whole thing. The acknowledgement will be implicit when they deposit. Basically if they just click the deposit CTA, they don't need to view the ack modal at all.

I think we were seeing drop offs during the ack modal and we want to skip that step.

oh i see, i misinterpreted and thought the reason why the "acknowledge and deposit" button was greyed out on your screen was becasue you hadn't accepted terms and conditions, but it was just because no amount was populated for the deposit. is that correct?

@rosepuppy
Copy link
Contributor Author

oh i see, i misinterpreted and thought the reason why the "acknowledge and deposit" button was greyed out on your screen was becasue you hadn't accepted terms and conditions, but it was just because no amount was populated for the deposit. is that correct?

Correct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants