MetaMask / MetaMask/metamask-extension

[Bug]: Hidden accounts still show the count after deletion

Open
#31,587 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

external-contributor regression-prod-12.13.0 Sev3-low team-core-extension-ux type-bug
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

Describe the bug

Hidden accounts UI counter still visible even though the account has been removed.

Expected behavior

Hidden accounts UI is hidden since no hidden accounts

Screenshots/Recordings

Image

Steps to reproduce
  1. Import several PKs
  2. Add "Account 5" as hidden account
  3. Expand Hidden Accounts UI
  4. Remove Account 5 directly from Hidden Accounts without unhide
  5. The UI and the arrow of Hidden Accounts and it's counter shows 1
Error messages or log output

Detection stage

In production (default)

Version

12.13.0

Build type

None

Browser

Microsoft Edge

Operating system

Windows

Hardware wallet

No response

Additional context

No response

Severity

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Hidden Accounts flow described in the issue on MetaMask version 12.13.0 in Edge: remove a hidden account directly without unhiding it. Trace the UI state after removal and verify that the Hidden Accounts section, arrow, and counter disappear when no hidden accounts remain.

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.