Expand Snaps Insights API to support the confirmations alert system
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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