MetaMask / MetaMask/snaps

Expand Snaps Insights API to support the confirmations alert system

Open
#2,657 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

snaps-research snaps-unrefined-backlog
Dominant language
TypeScript
Stars
853
Forks
662
Avg merge
2d 8h
Merged PRs (30d)
8

Description

Need defining further and a SIP to be written.

For now we probably want to treat critical severity as a flag to add to the alerts system instead of the modal we've previously used:
https://github.com/MetaMask/metamask-extension/blob/develop/ui/pages/confirmations/hooks/useConfirmationAlerts.ts#L60

The problem is that the alert system currently doesn't support any UI besides text. We'll need to resolve that before proceeding.

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 reading the confirmations alert integration in metamask-extension/ui/pages/confirmations/hooks/useConfirmationAlerts.ts, especially the referenced section. Define the required Insights API changes and write the SIP; the work is complete only once the alert system's support for UI beyond text and the critical-severity flow are specified.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.