Skip to content

chore: remove network dropdown from Activity tab#39565

Merged
n3ps merged 6 commits intomainfrom
n3ps/remove-activity-network-dropdown
Jan 28, 2026
Merged

chore: remove network dropdown from Activity tab#39565
n3ps merged 6 commits intomainfrom
n3ps/remove-activity-network-dropdown

Conversation

@n3ps
Copy link
Copy Markdown
Contributor

@n3ps n3ps commented Jan 27, 2026

Description

Removes the network dropdown from the Activity tab

This reduces confusion as the dropdown effect is across the app. This is also in preparation for a proper Activity view refactor with its own sort and filter.

Open in GitHub Codespaces

Changelog

CHANGELOG entry: chore: remove network dropdown from Activity tab

Related issues

Fixes: https://consensyssoftware.atlassian.net/browse/CEUX-845

Manual testing steps

  1. Go to the Activity tab
  2. Network dropdown should not be visible

Screenshots/Recordings

Before

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

Removes the network selector from the Activity tab and simplifies activity filtering to improve consistency across views.

  • Drops AssetListControlBar and the hideNetworkFilter prop from TransactionList and UnifiedTransactionList; removes chain-based filtering utility (filterTransactionByChain) and its tests
  • TransactionList/UnifiedTransactionList now display completed transactions from all networks by default (token/chain overrides still honored); adjusts grouping and pagination accordingly
  • Updates asset page to use lists without the network filter; keeps token and native-asset scoping behaviors
  • Refreshes Jest snapshots and E2E tests to open the Activity tab explicitly and validate confirmed transactions and balances without the dropdown

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

@n3ps n3ps added the team-core-extension-ux Core Extension UX team label Jan 27, 2026
@github-actions
Copy link
Copy Markdown
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.

@metamaskbotv2
Copy link
Copy Markdown
Contributor

metamaskbotv2 bot commented Jan 27, 2026

✨ Files requiring CODEOWNER review ✨

👨‍🔧 @MetaMask/core-extension-ux (4 files, +27 -354)
  • 📁 ui/
    • 📁 components/
      • 📁 app/
        • 📁 transaction-list/
          • 📁 __snapshots__/
            • 📄 transaction-list.test.js.snap +0 -173
            • 📄 transaction-list.component.js +13 -77
            • 📄 transaction-list.test.js +0 -11
            • 📄 unified-transaction-list.component.js +14 -93

@n3ps n3ps marked this pull request as ready for review January 27, 2026 14:37
@n3ps n3ps requested a review from a team as a code owner January 27, 2026 14:37
@n3ps n3ps force-pushed the n3ps/remove-activity-network-dropdown branch from 4814adf to d4e00e6 Compare January 27, 2026 15:47
Copy link
Copy Markdown

@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.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

@metamaskbotv2
Copy link
Copy Markdown
Contributor

metamaskbotv2 bot commented Jan 27, 2026

Builds ready [5046fae]
UI Startup Metrics (1276 ± 116 ms)
PlatformBuildTypePageMetricTest Title (ms)Persona (ms)Mean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--12761034178111613401457
load--1082869155410711381255
domContentLoaded--1075866154710711301248
domInteractive--2515112172273
firstPaint--171621188174193315
backgroundConnect--22220526010226245
firstReactRender--16102841826
initialActions--107113
loadScripts--86766213101059241039
setupStore--1252241418
numNetworkReqs--201381181371
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--18291490247918118912254
load--1005879143712210211332
domContentLoaded--990870140812110121321
domInteractive--3317108203393
firstPaint--1726735671211333
backgroundConnect--30925658166305521
firstReactRender--23154682541
initialActions--104112
loadScripts--77866612051187961103
setupStore--1485361625
numNetworkReqs--70392084065161
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--8386671152938841054
load--694600106281761825
domContentLoaded--689595105581756819
domInteractive--2515118192181
firstPaint--1016233351118225
backgroundConnect--43181573048116
firstReactRender--16103951827
initialActions--103112
loadScripts--686593105380750817
setupStore--1153641220
numNetworkReqs--201380181371
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--1249886181620413921638
load--7135971105100723961
domContentLoaded--7045891089101718956
domInteractive--34181262533113
firstPaint--1386733568179286
backgroundConnect--15213239532155204
firstReactRender--22174342429
initialActions--102011
loadScripts--701587107699715948
setupStore--1143441317
numNetworkReqs--70401634059157
19--------
FirefoxBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--14671186194314815531737
load--11821012150810812591405
domContentLoaded--11821011150810812541405
domInteractive--823622141106148
firstPaint--------
backgroundConnect--67262554389145
firstReactRender--14104561435
initialActions--103122
loadScripts--114599514099211991307
setupStore--205265401354
numNetworkReqs--221189201679
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--271918521010495327694073
load--13141052707363712302300
domContentLoaded--13141052707363712292300
domInteractive--11538921108117357
firstPaint--------
backgroundConnect--2681281801252240932
firstReactRender--221594102429
initialActions--2142423
loadScripts--12741022704562312031958
setupStore--15891229224167728
numNetworkReqs--61311714076167
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--16281302259323017482026
load--14051146211417315081640
domContentLoaded--14041141211417415081640
domInteractive--902922449130184
firstPaint--------
backgroundConnect--772440362115206
firstReactRender--13102021517
initialActions--102022
loadScripts--13611133209115014461529
setupStore--154232321143
numNetworkReqs--211181191578
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--312321339655105635984686
load--17551306626068617653054
domContentLoaded--17551306625968617653054
domInteractive--993247571108267
firstPaint--------
backgroundConnect--3461303012377314918
firstReactRender--22164152431
initialActions--207122
loadScripts--16901224623067016622919
setupStore--1358793194153648
numNetworkReqs--59271804063166
19--------
📊 Page Load Benchmark Results

Current Commit: 5046fae | Date: 1/27/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±39ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 735ms (±37ms) 🟢 | historical mean value: 728ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 79ms (±11ms) 🟢 | historical mean value: 79ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 39ms 1.02s 1.35s 1.08s 1.35s
domContentLoaded 735ms 37ms 706ms 1.01s 769ms 1.01s
firstPaint 79ms 11ms 60ms 172ms 88ms 172ms
firstContentfulPaint 79ms 11ms 60ms 172ms 88ms 172ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚀 Bundle size reduced!]
  • background: 212.54 KiB (4.32%)
  • ui: 421 Bytes (0%)
  • common: -260.62 KiB (-2.78%)

@@ -529,13 +528,11 @@ const AssetPage = ({
{showUnifiedTransactionList ? (
<UnifiedTransactionList
tokenAddress={address}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

  1. Remove the need to "hide"


<Box className="transaction-list" {...boxProps}>
{!hideNetworkFilter && (
<AssetListControlBar
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

  1. Remove the dropdown

groupEvmAddress,
]);

const enabledNetworksForAllNamespaces = useSelector(
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

  1. Leads to removing now-unnecessary code

@n3ps n3ps enabled auto-merge January 27, 2026 17:39
@n3ps n3ps changed the title feat: remove network dropdown from Activity tab chore: remove network dropdown from Activity tab Jan 27, 2026
@n3ps n3ps added this pull request to the merge queue Jan 28, 2026
Merged via the queue into main with commit 9fee4d7 Jan 28, 2026
196 checks passed
@n3ps n3ps deleted the n3ps/remove-activity-network-dropdown branch January 28, 2026 10:18
@github-actions github-actions bot locked and limited conversation to collaborators Jan 28, 2026
@metamaskbot metamaskbot added the release-13.17.0 Issue or pull request that will be included in release 13.17.0 label Jan 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants