MetaMask / MetaMask/metamask-extension

[Bug]: Token aggregators are only shown when Token Detection is switch on

Open
#16,121 1 comment 0 reactions 0 assignees View on GitHub
area-tokens T08-featureRequest
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

### Describe the bug

**Problem**: I only see token aggregators when Token Detection is switch on. When it's switch off, I don't see the token aggregators for each token detected. I believe this is not expected (not 100% sure).

![image](https://user-images.githubusercontent.com/54408225/194536777-ccf22b7e-af1e-4c5e-9293-70d7d9cf43c9.png)

**Expected**:

![image](https://user-images.githubusercontent.com/54408225/194536707-5a3b4e2c-fa90-45bc-809e-701b5b96358c.png)

### Steps to reproduce

1. Unlock MM
2. Change network to Mainnet
3. Ensure Token Detection is Off on Advanced Settings
4. Go to Home
5. Click Refresh token list
6. Open detected tokens -- see token aggregators are not displayed
7. Go to Advanced Settings
8. Enable Token Detection
9. Go to Home
10. Click Refresh token list
11. Open detected tokens -- see now token aggregators are displayed

### Error messages or log output

_No response_

### Version

10.21.0

### Build type

_No response_

### Browser

Chrome

### Operating system

Linux

### Hardware wallet

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the behavior through Advanced Settings and Home: turn Token Detection off, refresh the token list, and open detected tokens. Trace the detected-token display and Token Detection setting to determine why aggregators are omitted when the setting is off. Done means token aggregators are displayed in both setting states without changing the reported refresh flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.