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

Add a delay before user can finish V0 migration to encourage reading #1943

Merged
merged 1 commit into from
May 21, 2024

Conversation

lukaw3d
Copy link
Member

@lukaw3d lukaw3d commented May 21, 2024

screen-recording.webm

@lukaw3d lukaw3d requested review from buberdds and lubej May 21, 2024 02:29
Copy link

github-actions bot commented May 21, 2024

Deployed to Cloudflare Pages

Latest commit: dfbcf0c3c41f67ef90774411e82b855a09a4c93f
Status:✅ Deploy successful!
Preview URL: https://c8759d35.oasis-wallet.pages.dev

@@ -155,14 +156,14 @@ export function MigrateV0StateForm() {
/>
</FormField>
{migratingV0State.invalidPrivateKeys.length > 0 ? (
<Button
<CountdownButton
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we have multiple submit buttons to handle different labels?

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah - ideally these would trigger different handlers too, but we are using a single Form onSubmit. And could be styled differently, but invalid keys are should be so rare that it doesn't matter

Copy link
Member Author

Choose a reason for hiding this comment

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

so they are incidentally only different in labels

@lukaw3d lukaw3d merged commit 67dcf59 into master May 21, 2024
13 checks passed
@lukaw3d lukaw3d deleted the lw/countdown-btn branch May 21, 2024 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants