-
Notifications
You must be signed in to change notification settings - Fork 966
(Wallet) Implement new password creation screen #22459
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
Conversation
The security team is monitoring all repositories for certain keywords. This PR includes the word(s) "password" and so security team members have been added as reviewers to take a look. |
@simoarpe is this Android only? |
[puLL-Merge] - brave/brave-core@22459 DescriptionThe pull request introduces multiple new features and changes mainly centered around improving the user experience for setting up a crypto wallet in the Brave Android application. The primary focus of these changes is to implement a new password setup process for the crypto wallet, including a password strength meter and retype password validation. Additionally, various UI components involved in the crypto wallet setup process have been updated or added to support these new features. ChangesChangesGeneral
Affected Files
Security Hotspots
|
@thypon Yes! Android only. |
|
||
import org.chromium.chrome.browser.crypto_wallet.util.NavigationItem; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
public class CryptoWalletOnboardingPagerAdapter extends FragmentStatePagerAdapter { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Migrated away from deprecated FragmentStatePagerAdapter
.
@@ -27,7 +27,7 @@ | |||
android:layout_height="wrap_content" | |||
android:orientation="vertical"> | |||
|
|||
<org.chromium.chrome.browser.custom_layout.NonSwipeableViewPager |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the new ViwePager2
this class is not needed anymore as it would suffice calling mCryptoWalletOnboardingViewPager.setUserInputEnabled(false);
to disable user interaction.
Fix typo.
cd53b99
to
20e30f6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
++
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
strings
++
Tagging @stoletheminerals for security review since this is a security-related change. |
Resolves brave/brave-browser#36552
Implements new password creation screen following Figma design.
Main umbrella issue: brave/brave-browser#35294
Screen.Recording.2024-03-06.at.11.26.46.AM.mov
Notable Changes
OnboardingCreatingWalletFragment
.PasswordStrengthMeterView
following latest Material guidelines.FragmentStatePagerAdapter
in favor of newerFragmentStateAdapter
andViewPager2
bringing better perfomance and removing callback duplication.Light Mode
Dark Mode
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
wikinpm run presubmit
wiki,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan: