Skip to content

Conversation

@ieow
Copy link
Contributor

@ieow ieow commented May 30, 2025

Description

  • Change Password from the settings page. UI Update.

Related issues

Fixes:

Manual testing steps

  1. Go to the App
  2. Create Account
  3. Go to the settings page -> Security Privacy -> Change Password.

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

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@github-actions
Copy link
Contributor

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.

@metamaskbot metamaskbot added the team-onboarding Onboarding team label May 30, 2025
@ieow ieow mentioned this pull request Jun 20, 2025
7 tasks
ieow and others added 19 commits June 26, 2025 11:26
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.
@ieow ieow force-pushed the feat/seedless-change-pw branch from 978347b to bbbfdc1 Compare June 30, 2025 06:00
Co-authored-by: Ganesh Suresh Patra <ganesh.patra@consensys.net>
@ieow ieow force-pushed the feat/seedless-change-pw-ui branch from f9e1627 to 426bc0c Compare June 30, 2025 06:05
@chaitanyapotti chaitanyapotti added the no-changelog no-changelog Indicates no external facing user changes, therefore no changelog documentation needed label Jul 10, 2025
chaitanyapotti
chaitanyapotti previously approved these changes Jul 10, 2025
@github-project-automation github-project-automation bot moved this from Needs dev review to Review finalised - Ready to be merged in PR review queue Jul 10, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jul 10, 2025

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 7c9507b
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/79f94618-f91c-4858-a920-71c5c7c7ffeb

Note

  • You can rerun any failed steps by opening the Bitrise build, tapping Rebuild on the upper right then Rebuild unsuccessful Workflows
  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Tip

  • Check the documentation if you have any doubts on how to understand the failure on bitrise

@chaitanyapotti chaitanyapotti enabled auto-merge July 10, 2025 07:34
cursor[bot]

This comment was marked as outdated.

Copy link

@cursor cursor bot left a 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

onChangeText={this.setConfirmPassword}
secureTextEntry={this.state.showPasswordIndex.includes(1)}

app/components/Views/ResetPassword/index.js#L913-L917

<Icon
name={
this.state.showPasswordIndex.includes(1)
? IconName.Eye
: IconName.EyeSlash

Fix in CursorFix in Web


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

onChangeText={this.onPasswordChange}
secureTextEntry={this.state.showPasswordIndex.includes(0)}

app/components/Views/ResetPassword/index.js#L866-L870

name={
this.state.showPasswordIndex.includes(0)
? IconName.Eye
: IconName.EyeSlash
}

Fix in CursorFix in Web


Was this report helpful? Give feedback by reacting with 👍 or 👎

@github-actions
Copy link
Contributor

github-actions bot commented Jul 10, 2025

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: f18f0f1
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/6d174a18-6c37-40b7-8236-1bd13814227b

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@sonarqubecloud
Copy link

@chaitanyapotti chaitanyapotti added this pull request to the merge queue Jul 10, 2025
Merged via the queue into main with commit 7e8effd Jul 10, 2025
53 of 58 checks passed
@chaitanyapotti chaitanyapotti deleted the feat/seedless-change-pw-ui branch July 10, 2025 11:50
@github-project-automation github-project-automation bot moved this from Review finalised - Ready to be merged to Merged, Closed or Archived in PR review queue Jul 10, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Jul 10, 2025
@metamaskbot metamaskbot added the release-7.52.0 Issue or pull request that will be included in release 7.52.0 label Jul 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-onboarding INVALID-PR-TEMPLATE PR's body doesn't match template No QA Needed Apply this label when your PR does not need any QA effort. no-changelog no-changelog Indicates no external facing user changes, therefore no changelog documentation needed release-7.52.0 Issue or pull request that will be included in release 7.52.0 team-onboarding Onboarding team

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

7 participants