MetaMask / metamask-extension

:globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites
https://metamask.io
Other
12.07k stars 4.93k forks source link

Remove `showTokenAutodetectModalOnUpgrade` from `AppMetadataController` #26385

Open Gudahtt opened 3 months ago

Gudahtt commented 3 months ago

What is this about?

The property showTokenAutodetectModalOnUpgrade was mistakenly added to the AppMetadataController in #24281. This controller is intended to track metadata about the wallet to assist in diagnosing state corruption bugs and migration failures. This flag about the token autodetect modal does not belong there.

The AppStateController is where we typically keep track of whether each modal has been seen already or not. We should migrate this flag to that controller instead.

Scenario

No response

Design

No response

Technical Details

No response

Threat Modeling Framework

No response

Acceptance Criteria

Stakeholder review needed before the work gets merged

References

No response

github-actions[bot] commented 1 week ago

This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions.