Skip to content

Conversation

montelaidev
Copy link
Contributor

Description

This PR shows checkboxes when selecting accounts in the bip 44 edit accounts screen in the dapp connection flow.

Changelog

CHANGELOG entry: Display checkboxes in bip44 edit accounts in the dapp connection flow.

Related issues

Fixes:

Manual testing steps

Feature: edit accounts in the dapp conenction flow. 

  Scenario: user is selecting accounts during dapp connection
    Given the user has state 2 activated.

    When user clicks to connect to a dapp
    Then the account connect flow is show
    Then the user clicks on edit accounts
    and the user will see checkboxes in the account list. 

Screenshots/Recordings

Before

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2025-09-12.at.21.50.56.mp4

After

@

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2025-09-12.at.21.49.54.mp4

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.

@montelaidev montelaidev self-assigned this Sep 12, 2025
@montelaidev montelaidev requested a review from a team as a code owner September 12, 2025 13:52
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.

@montelaidev montelaidev added e2e-test No QA Needed Apply this label when your PR does not need any QA effort. labels Sep 12, 2025
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@montelaidev montelaidev added the team-accounts-framework Accounts Framework team label Sep 12, 2025
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@montelaidev montelaidev added the run-ios-e2e-smoke Trigger iOS E2E tests on BitRise label Sep 15, 2025
Copy link
Contributor

github-actions bot commented Sep 15, 2025

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 08127ea
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/0d1f9337-45bb-4c8f-bbcc-be77e4e446ae

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-ios-e2e-smoke label on the pull request

Tip

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

@montelaidev montelaidev added run-ios-e2e-smoke Trigger iOS E2E tests on BitRise and removed run-ios-e2e-smoke Trigger iOS E2E tests on BitRise labels Sep 15, 2025
Copy link
Contributor

github-actions bot commented Sep 15, 2025

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 2a66be0
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/5026d88a-08e8-4210-9b71-1c4557d1a292

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the run-ios-e2e-smoke label on the pull request

@owencraston
Copy link
Contributor

This screen seems to having a lot of performance issues. When I click the different accounts to select them, it takes a few seconds to render.

@owencraston
Copy link
Contributor

@montelaidev I noticed the list gets slower as you connect more and more accounts. I also noticed the list kept scrolling back to the initial position but I believe that will be solved in my PR here.

screen-20250917-130830.1.mp4

I also used the why-did-you-render tool to inspect prop changes and I was seeing a lot. I recommend you do the same by setting export ENABLE_WHY_DID_YOU_RENDER="true" in your .js.env and then pressing j in the terminal to open up the console.

below is a video of the why-did-you-render logs when updating the connected accounts (as seen from the phone in the above video)

Screen.Recording.2025-09-17.at.1.49.39.PM.mov

>
<AccountCell
startAccessory={
showCheckbox ? (
Copy link
Contributor

Choose a reason for hiding this comment

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

should we extract this into its own component?

Copy link
Contributor

@owencraston owencraston left a comment

Choose a reason for hiding this comment

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

Approving despite the performance issues since I feel that we can get a better read on this after I merge one of my changes.

@montelaidev montelaidev added run-ios-e2e-smoke Trigger iOS E2E tests on BitRise and removed run-ios-e2e-smoke Trigger iOS E2E tests on BitRise labels Sep 17, 2025
Copy link
Contributor

github-actions bot commented Sep 17, 2025

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 58fd801
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/85acd129-01ff-4441-8b0a-e00c80d18775

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-ios-e2e-smoke label on the pull request

Tip

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

@montelaidev montelaidev added the Run Smoke E2E Requires smoke E2E testing label Sep 17, 2025
Copy link

@montelaidev montelaidev added Run Smoke E2E Requires smoke E2E testing and removed run-ios-e2e-smoke Trigger iOS E2E tests on BitRise Run Smoke E2E Requires smoke E2E testing labels Sep 18, 2025
@montelaidev montelaidev added this pull request to the merge queue Sep 18, 2025
Merged via the queue into main with commit 02a2f55 Sep 18, 2025
102 of 103 checks passed
@montelaidev montelaidev deleted the fix/checkbox-in-edit-accounts branch September 18, 2025 07:48
@github-actions github-actions bot locked and limited conversation to collaborators Sep 18, 2025
@metamaskbot metamaskbot added the release-7.57.0 Issue or pull request that will be included in release 7.57.0 label Sep 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
e2e-test No QA Needed Apply this label when your PR does not need any QA effort. release-7.57.0 Issue or pull request that will be included in release 7.57.0 Run Smoke E2E Requires smoke E2E testing size-M team-accounts-framework Accounts Framework team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants