metamask-extension
metamask-extension copied to clipboard
Add metrics to track when "metamask reset" state corruption occurs.
What is this about?
We need to know how often bugs such as the following are occuring:
- "Blank screen appears when opening popup in Firefox" https://github.com/MetaMask/metamask-extension/issues/9196
- "[Bug]: Completely unusable Metamask infinite load" https://github.com/MetaMask/metamask-extension/issues/22533
- "[Bug]: Metamask logs me out, asking to import wallets with the secret phrase" https://github.com/MetaMask/metamask-extension/issues/22533
The approach here can be something like:
- Once a user is onboarded, save a timestamp in indexdb and possibly also in local storage (either in the UI or the offscreen document)
- When metamask loads, if there is no state in storage.local, check if that timestamp exists in indexbd or the offscreen document. If so, track the event
Scenario
No response
Design
No response
Technical Details
No response
Threat Modeling Framework
No response
Acceptance Criteria
No response
Stakeholder review needed before the work gets merged
- [ ] Engineering (needed in most cases)
- [ ] Design
- [ ] Product
- [ ] QA (automation tests are required to pass before merging PRs but not all changes are covered by automation tests - please review if QA is needed beyond automation tests)
- [ ] Security
- [ ] Legal
- [ ] Marketing
- [ ] Management (please specify)
- [ ] Other (please specify)
References
No response
All 3 mentioned tickets are closed, so closing this one as well