Skip to content

chore: replace deprecated identicon#40687

Merged
n3ps merged 1 commit intomainfrom
n3ps/cleanup-identicon-add-token
Mar 7, 2026
Merged

chore: replace deprecated identicon#40687
n3ps merged 1 commit intomainfrom
n3ps/cleanup-identicon-add-token

Conversation

@n3ps
Copy link
Contributor

@n3ps n3ps commented Mar 6, 2026

Description

Replace the token avatar component in the add suggested token screen

(Part of cleaning up usages of the deprecated identicon component)

Open in GitHub Codespaces

Changelog

CHANGELOG entry: chore: replace deprecated identicon

Related issues

Fixes:

Manual testing steps

  1. Trigger wallet_watchAsset

Screenshots/Recordings

Before

image

After

image

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

Low Risk
Low risk UI-only change that swaps the token avatar component and tweaks layout spacing; no changes to token add/cancel logic or data handling.

Overview
Updates the confirm-add-suggested-token page to stop using the deprecated Identicon and instead render token images via the design-system AvatarToken (AvatarTokenSize.Xl).

Also adjusts the token row layout by adding a gap-2 spacing class around the avatar/name block.

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

@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2026

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-core-extension-ux Core Extension UX team label Mar 6, 2026
@n3ps n3ps enabled auto-merge March 6, 2026 21:42
@github-actions github-actions bot added the size-S label Mar 6, 2026
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 6, 2026

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 6, 2026

Builds ready [e7bf871]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account27826730214271302
total27826730214271302
Confirm Txconfirm_tx604760426052460466052
total604760426052460466052
Bridge User Actionsbridge_load_page27020235453302354
bridge_load_asset_picker22519727129229271
bridge_search_token75671079330766793
total1259123912801712801280
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup14131214168010714471631
load118199714019112141379
domContentLoaded117597613968812071346
domInteractive2817101172675
firstPaint1427142876175302
backgroundConnect21919635620223245
firstReactRender19134752030
initialActions107124
loadScripts97278611968710011151
setupStore1364871426
numNetworkReqs322291193182
Power User HomeuiStartup23081696484472322104419
load12251072180215812421645
domContentLoaded12101063178415812241614
domInteractive38182072937105
firstPaint224781746205272362
backgroundConnect47826732815553361924
firstReactRender24165662535
initialActions107112
loadScripts990853157315110091365
setupStore1674971729
numNetworkReqs78371774295169
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2192182211220221
srpButtonToSrpForm94939619596
confirmSrpToPwForm22212202222
pwFormToMetricsScreen15151601616
metricsToWalletReadyScreen16151711717
doneButtonToHomeScreen80960010241619681024
openAccountMenuToAccountListLoaded28092492294217529342942
total3985388240838240534083
Onboarding New WalletcreateWalletToSocialScreen2182162202219220
srpButtonToPwForm1061041102106110
createPwToRecoveryScreen888088
skipBackupToMetricsScreen35343613636
agreeButtonToOnboardingSuccess16161601616
doneButtonToAssetList49347052923496529
total88585792226897922
Asset DetailsassetClickToPriceChart1508423954163239
total1508423954163239
Solana Asset DetailsassetClickToPriceChart74708047580
total74708047580
Import Srp HomeloginToHomeScreen20381917229414020742294
openAccountMenuAfterLogin39334853848
homeAfterImportWithNewWallet25102371268511125692685
total44804327461112445924611
Send TransactionsopenSendPageFromHome521972207172
selectTokenToSendFormLoaded342048114748
reviewTransactionToConfirmationPage1299850179138015001791
total1385895189240416181892
SwapopenSwapPageFromHome23202832228
fetchAndDisplaySwapQuotes268626842688226872688
total271227062718527152718
🌐 Dapp Page Load Benchmarks

Current Commit: e7bf871 | Date: 3/6/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.08s (±73ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 763ms (±69ms) 🟢 | historical mean value: 727ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 83ms (±15ms) 🟢 | historical mean value: 81ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.08s 73ms 1.03s 1.43s 1.33s 1.43s
domContentLoaded 763ms 69ms 719ms 1.09s 986ms 1.09s
firstPaint 83ms 15ms 64ms 212ms 96ms 212ms
firstContentfulPaint 83ms 15ms 64ms 212ms 96ms 212ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 5.15 MiB (100%)
  • ui: 8.2 MiB (100%)
  • common: 10.99 MiB (100%)

@n3ps n3ps added this pull request to the merge queue Mar 7, 2026
Merged via the queue into main with commit 2ddb15e Mar 7, 2026
202 of 203 checks passed
@n3ps n3ps deleted the n3ps/cleanup-identicon-add-token branch March 7, 2026 02:57
@github-actions github-actions bot locked and limited conversation to collaborators Mar 7, 2026
@metamaskbot metamaskbot added the release-13.23.0 Issue or pull request that will be included in release 13.23.0 label Mar 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-13.23.0 Issue or pull request that will be included in release 13.23.0 size-S team-core-extension-ux Core Extension UX team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants