-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat: 2.5 password change ui update #15891
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
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
remove unwanted lint changes
- Added OnboardingSheet component for user onboarding options. - Integrated AccountStatus component to handle existing account scenarios. - Updated navigation routes to include new onboarding flows. - Enhanced ChoosePassword component to support OAuth login success handling. - Updated localization files to include new strings for onboarding and account status. - Added tests for new components and updated existing tests for integration. This commit enhances the user experience during onboarding and account management by providing clear options and feedback for existing users.
…nd Authentication components
…ion and restoration
978347b to
bbbfdc1
Compare
Co-authored-by: Ganesh Suresh Patra <ganesh.patra@consensys.net>
f9e1627 to
426bc0c
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.
Bug: Password Visibility Toggle Error
The password visibility logic is inverted for the confirm password field. When showPasswordIndex.includes(1) is true (meaning show password), secureTextEntry should be false, not true. The current logic secureTextEntry={this.state.showPasswordIndex.includes(1)} will hide the password when it should be shown and vice versa.
app/components/Views/ResetPassword/index.js#L899-L900
metamask-mobile/app/components/Views/ResetPassword/index.js
Lines 899 to 900 in f18f0f1
| onChangeText={this.setConfirmPassword} | |
| secureTextEntry={this.state.showPasswordIndex.includes(1)} |
app/components/Views/ResetPassword/index.js#L913-L917
metamask-mobile/app/components/Views/ResetPassword/index.js
Lines 913 to 917 in f18f0f1
| <Icon | |
| name={ | |
| this.state.showPasswordIndex.includes(1) | |
| ? IconName.Eye | |
| : IconName.EyeSlash |
Bug: Password Visibility Logic Flipped
The password visibility logic is inverted. When showPasswordIndex.includes(0) is true (meaning show password), secureTextEntry should be false, not true. The current logic secureTextEntry={this.state.showPasswordIndex.includes(0)} will hide the password when it should be shown and vice versa.
app/components/Views/ResetPassword/index.js#L852-L853
metamask-mobile/app/components/Views/ResetPassword/index.js
Lines 852 to 853 in f18f0f1
| onChangeText={this.onPasswordChange} | |
| secureTextEntry={this.state.showPasswordIndex.includes(0)} |
app/components/Views/ResetPassword/index.js#L866-L870
metamask-mobile/app/components/Views/ResetPassword/index.js
Lines 866 to 870 in f18f0f1
| name={ | |
| this.state.showPasswordIndex.includes(0) | |
| ? IconName.Eye | |
| : IconName.EyeSlash | |
| } |
Was this report helpful? Give feedback by reacting with 👍 or 👎
|
|



Description
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Screen.Recording.2025-07-09.at.9.03.00.PM.mov
Screen.Recording.2025-07-09.at.9.00.37.PM.mov
Pre-merge author checklist
Pre-merge reviewer checklist