Skip to content

Conversation

@fabiobozzo
Copy link
Contributor

@fabiobozzo fabiobozzo commented Nov 11, 2025

Description

Fixes a bug where clicking the account details menu (3 dots) in the Connect to dapp screen does nothing. The menu should not be displayed in this flow since users are selecting accounts via checkboxes, not accessing account details.

Changes:

  • Hide the account menu (MultichainAccountMenu) in MultichainAccountList when in account selection mode (showAccountCheckbox is true)
  • Added test coverage to verify the menu is properly hidden during account selection

Open in GitHub Codespaces

Changelog

CHANGELOG entry: Fixed account details menu appearing in dapp connection account selection

Related issues

Fixes: #37604

Manual testing steps

  1. Go to the test dapp (https://metamask.github.io/test-dapp/)
  2. Click "Connect" button
  3. Click "Edit Accounts" in the connection modal
  4. Verify that the 3 dots menu is NOT visible next to each account
  5. Close the edit accounts modal
  6. Open the main account menu from the extension
  7. Verify that the 3 dots menu IS visible in the normal account list

Screenshots/Recordings

Before

Account menu (3 dots) was visible but non-functional in the edit accounts flow during dapp connection (see bug).

After

Account menu (3 dots) is now hidden in the edit accounts flow, only checkboxes are shown for account selection:

Screenshot 2025-11-11 at 13 28 08

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.

Note

Hide the per-account menu when showAccountCheckbox is true in MultichainAccountList, with tests verifying the menu is not rendered.

  • Frontend
    • ui/components/multichain-accounts/multichain-account-list/multichain-account-list.tsx:
      • Conditionally render MultichainAccountMenu only when showAccountCheckbox is false (showAccountMenu = !showAccountCheckbox).
  • Tests
    • multichain-account-list.test.tsx:
      • Add test to assert the 3-dots account menu is hidden when showAccountCheckbox is true.

Written by Cursor Bugbot for commit 40b264c. This will update automatically on new commits. Configure here.

Added a test to verify that the account menu (three dots) is hidden when the `showAccountCheckbox` prop is set to true in the `MultichainAccountList` component. Updated the component logic to conditionally render the account menu based on this prop.
@fabiobozzo fabiobozzo requested a review from a team as a code owner November 11, 2025 12:31
@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
Copy link
Collaborator

metamaskbot commented Nov 11, 2025

✨ Files requiring CODEOWNER review ✨

🔑 @MetaMask/accounts-engineers (2 files, +35 -7)
  • 📁 ui/
    • 📁 components/
      • 📁 multichain-accounts/
        • 📁 multichain-account-list/
          • 📄 multichain-account-list.test.tsx +24 -0
          • 📄 multichain-account-list.tsx +11 -7

@metamaskbot
Copy link
Collaborator

Builds ready [b93d88b]
UI Startup Metrics (1217 ± 86 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1217107116338612651373
load104788913728011031177
domContentLoaded104088513658010981161
domInteractive211393151759
firstPaint59882120142010571170
backgroundConnect23021632212233243
firstReactRender2717121113040
getState2285292839
initialActions001001
loadScripts817664112980872941
setupStore1253461325
numNetworkReqs1367619671
BrowserifyPower User HomeuiStartup17731577222620019262226
load938785131817211701318
domContentLoaded930778130917111641309
domInteractive251558143958
firstPaint69916712323438671232
backgroundConnect19317622613201226
firstReactRender27223533135
getState15813918214169182
initialActions101011
loadScripts74761511091619711109
setupStore1292651126
numNetworkReqs1537329882246298
WebpackStandard HomeuiStartup8407141215938571105
load614559100582610866
domContentLoaded60755497478604851
domInteractive16126791437
firstPaint205591006200201597
backgroundConnect241271132460
firstReactRender301870103453
getState1261831416
initialActions001001
loadScripts60455296376602841
setupStore1264251419
numNetworkReqs1367819870
WebpackPower User HomeuiStartup12771152163814414291638
load67656910321617031032
domContentLoaded66156010071556911007
domInteractive37131654565165
firstPaint4226810103356941010
backgroundConnect39171283055128
firstReactRender27263212832
getState1399815920151159
initialActions001001
loadScripts657557997152681997
setupStore1372782527
numNetworkReqs1077020946165209
FirefoxBrowserifyStandard HomeuiStartup14881275184012815721770
load1260109415089313361423
domContentLoaded1260109415079313351422
domInteractive1073537748115196
firstPaint------
backgroundConnect4325105135165
firstReactRender26215962740
getState94679817
initialActions001001
loadScripts1234107614809113131387
setupStore157122151334
numNetworkReqs1266616759
BrowserifyPower User HomeuiStartup23142064303225723173032
load13061108164616914401646
domContentLoaded13061108164616914391646
domInteractive18873599173304599
firstPaint------
backgroundConnect87263338295333
firstReactRender443079144779
getState1236518033159180
initialActions106116
loadScripts12711092158615313951586
setupStore20585213185
numNetworkReqs1346932486204324
WebpackStandard HomeuiStartup15341367210414515401879
load13181171171910313341562
domContentLoaded13181170171910313341562
domInteractive933043043103144
firstPaint------
backgroundConnect44211742347101
firstReactRender292076112866
getState9414716723
initialActions001001
loadScripts1290115516999413151501
setupStore155209221244
numNetworkReqs1367318767
WebpackPower User HomeuiStartup25612155396654627973966
load14831232195222815571952
domContentLoaded14831232195122815571951
domInteractive20969706215315706
firstPaint------
backgroundConnect913034788107347
firstReactRender51291282552128
getState1188018130159181
initialActions105115
loadScripts14521214191022215271910
setupStore4262196648219
numNetworkReqs13665337103278337
📊 Page Load Benchmark Results

Current Commit: b93d88b | Date: 11/11/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±42ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 730ms (±60ms) 🟢 | historical mean value: 717ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 90ms (±126ms) 🟢 | historical mean value: 76ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 42ms 1.01s 1.37s 1.06s 1.37s
domContentLoaded 730ms 60ms 696ms 1.28s 742ms 1.28s
firstPaint 90ms 126ms 64ms 1.34s 88ms 1.34s
firstContentfulPaint 90ms 126ms 64ms 1.34s 88ms 1.34s
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 68 Bytes (0%)
  • ui: 12 Bytes (0%)
  • common: 10 Bytes (0%)

@metamaskbot
Copy link
Collaborator

Builds ready [40b264c]
UI Startup Metrics (1220 ± 93 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1220106316169312781371
load105588213778711111193
domContentLoaded104887613538611041189
domInteractive231598161865
firstPaint64492136342010331190
backgroundConnect2322182577235245
firstReactRender2718123113042
getState22955102742
initialActions001001
loadScripts823652111585879964
setupStore1172841321
numNetworkReqs1367419672
BrowserifyPower User HomeuiStartup16421466223923619332239
load1037906139618613231396
domContentLoaded1028898136818313181368
domInteractive37151073381107
firstPaint79915614054119521405
backgroundConnect23822626311244263
firstReactRender28243322833
getState17315122117179221
initialActions001001
loadScripts800671113617910871136
setupStore1192431224
numNetworkReqs1207326075243260
WebpackStandard HomeuiStartup85371012331008651122
load626567100486622890
domContentLoaded61956198382613868
domInteractive1811126161452
firstPaint19860986207189836
backgroundConnect251065132956
firstReactRender30186283538
getState1273031417
initialActions001001
loadScripts61655997380610857
setupStore1263551420
numNetworkReqs1367520872
WebpackPower User HomeuiStartup1034859168424512601684
load63057182283728822
domContentLoaded61456178472700784
domInteractive311386287286
firstPaint30663787224568787
backgroundConnect59918764139187
firstReactRender28234652846
getState1379515923152159
initialActions001011
loadScripts61055977468690774
setupStore1262582425
numNetworkReqs1106522755164227
FirefoxBrowserifyStandard HomeuiStartup15371323198514115801862
load1286113315539213441500
domContentLoaded1286113215539213441500
domInteractive1093532054110253
firstPaint------
backgroundConnect4526180215073
firstReactRender29216183049
getState13898121320
initialActions002001
loadScripts1259111215158713071446
setupStore167127181535
numNetworkReqs1266716762
BrowserifyPower User HomeuiStartup22521909338647924433386
load14261200188022117471880
domContentLoaded14261200188022117471880
domInteractive20571567174439567
firstPaint------
backgroundConnect1003629381145293
firstReactRender493090145690
getState1386621438180214
initialActions102112
loadScripts13861177183321617111833
setupStore3981403957140
numNetworkReqs1496831482208314
WebpackStandard HomeuiStartup15901387214014016081890
load1358121617499913861584
domContentLoaded1358121617499913861584
domInteractive943218629108150
firstPaint------
backgroundConnect45242412747108
firstReactRender332480113372
getState137144161142
initialActions001001
loadScripts1332119417219013641538
setupStore16672131448
numNetworkReqs1366718765
WebpackPower User HomeuiStartup23331896343850929943438
load15291298194122518491941
domContentLoaded15281297194022518491940
domInteractive18340522163360522
firstPaint------
backgroundConnect903228165102281
firstReactRender53331041960104
getState1239523232127232
initialActions30348134
loadScripts14961270190822118151908
setupStore3552175343217
numNetworkReqs13566331102238331
📊 Page Load Benchmark Results

Current Commit: 40b264c | Date: 11/12/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±39ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 726ms (±60ms) 🟢 | historical mean value: 726ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 80ms (±42ms) 🟢 | historical mean value: 78ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 39ms 1.01s 1.33s 1.07s 1.33s
domContentLoaded 726ms 60ms 699ms 1.28s 746ms 1.28s
firstPaint 80ms 42ms 60ms 492ms 84ms 492ms
firstContentfulPaint 80ms 42ms 60ms 492ms 84ms 492ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 3.19 KiB (0.07%)
  • ui: 26.39 KiB (0.36%)
  • common: 3.64 KiB (0.04%)

@fabiobozzo fabiobozzo enabled auto-merge November 12, 2025 12:22
@fabiobozzo fabiobozzo added this pull request to the merge queue Nov 12, 2025
Merged via the queue into main with commit 4b68601 Nov 12, 2025
173 checks passed
@fabiobozzo fabiobozzo deleted the fix/MUL-1244-hide-kebab-account-details-connect-dapp branch November 12, 2025 13:13
@github-actions github-actions bot locked and limited conversation to collaborators Nov 12, 2025
@metamaskbot metamaskbot added the release-13.10.0 Issue or pull request that will be included in release 13.10.0 label Nov 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-13.10.0 Issue or pull request that will be included in release 13.10.0 size-S team-accounts-framework Accounts Framework team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Connect Account - Clicking on the Account Details does nothing in the Connect to a dapp screen

5 participants