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

Redesign wallet unlock flow #93

Merged
merged 5 commits into from Mar 8, 2023
Merged

Redesign wallet unlock flow #93

merged 5 commits into from Mar 8, 2023

Conversation

JSKitty
Copy link
Member

@JSKitty JSKitty commented Mar 2, 2023

Abstract

This PR massively simplifies the Action <---> Unlock flow, instead of simply alerting the user to unlock MPW themselves via a notification, MPW now prompts the user to unlock mid-action, continuing the action upon successful unlock, or cancelling the action upon rejection of the password dialog.

image

Additionally, the password prompt may have custom text to give the user better context, and the prompt system also now auto-focuses on the first input within a prompt (if any is given), removing another unnecessary click.

Overall, this is intended to be a neat UX overhaul that reduces some annoying friction in the wallet UI.

What does this PR address?

It addresses an issue in which users were getting confused and/or encountering a lot of friction using MPW due to the "View Only" system, this PR removes that friction by making Unlocking a seamless process that does not require interrupting actions or cancelling them in order to unlock.

What features or improvements were added?

When the wallet is locked and the user attempts an action requiring an unlock: MPW now prompts appropriately mid-action without needing to "back out" the action, open the Dashboard, unlock, and re-visit, which was far too many unnecessary steps.

How does this benefit users?

It massively simplifies the experience when it comes to Locking/Unlocking a user's wallet, reducing many unnecessary clicks, saving time, and resolving confusion.

@JSKitty JSKitty self-assigned this Mar 2, 2023
@JSKitty JSKitty added the Enhancement New feature or request label Mar 2, 2023
BreadJS
BreadJS previously approved these changes Mar 5, 2023
Copy link

@BreadJS BreadJS left a comment

Choose a reason for hiding this comment

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

This will make it a lot more easy for the users! Good job Kitty!

Duddino
Duddino previously approved these changes Mar 6, 2023
Copy link
Member

@Duddino Duddino left a comment

Choose a reason for hiding this comment

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

Can you run prettier? Other than that tACK

@JSKitty JSKitty dismissed stale reviews from Duddino and BreadJS via ceb97cd March 6, 2023 20:40
@JSKitty JSKitty requested review from BreadJS and Duddino March 6, 2023 20:50
Copy link

@Liquid369 Liquid369 left a comment

Choose a reason for hiding this comment

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

tACK ceb97cd
I enjoy the new flow

Copy link
Member

@Duddino Duddino left a comment

Choose a reason for hiding this comment

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

tACK

@JSKitty JSKitty merged commit 7841a15 into master Mar 8, 2023
Duddino pushed a commit to Duddino/MyPIVXWallet that referenced this pull request Mar 10, 2023
* Redesign wallet unlock flow

* Run Prettier

* Add prompt auto-focus

* Run Prettier
Duddino pushed a commit to Duddino/MyPIVXWallet that referenced this pull request Mar 10, 2023
* Redesign wallet unlock flow

* Run Prettier

* Add prompt auto-focus

* Run Prettier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants