Move extension-only metrics to SnapController for mobile

Open
#3,565 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
mobile-dev

Research direction

Read the referenced sections of app/scripts/metamask-controller.js, then locate SnapController in this repository and compare how the current extension-only metrics are handled. Move the relevant metrics into SnapController so the same functionality can be implemented on mobile, and verify that the controller exposes the required metrics without relying on extension-only code.

Written by the indexing model from the issue text.

Description

snaps-refined-backlog

Move current extension-only metrics to SnapController to easily implement them on mobile.

For reference: https://github.com/MetaMask/metamask-extension/blob/main/app/scripts/metamask-controller.js#L3053-L3186

Dominant language
TypeScript
Stars
853
Forks
662
Avg merge
2d 8h
Merged PRs (30d)
8

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.

More from MetaMask/snaps

All issues in MetaMask/snaps

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.