metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

feat: Integrate JSX into snap notifications

Open hmalik88 opened this issue 5 months ago • 8 comments

Description

Adds an expanded view for snaps notifications, using JSX content returned from the snap to populate the expanded view.

Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions:

  1. What is the reason for the change? Allow for richer snaps notifications
  2. What is the improvement/solution? Add expanded view for snaps, allowing a snap to return jsx content in the expanded view.

Screenshots/Recordings

After

https://github.com/user-attachments/assets/a6ee1723-6ab0-4277-bf47-17ec40870c4b

Pre-merge author checklist

Pre-merge reviewer checklist

  • [x] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • [x] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

hmalik88 avatar Sep 25 '24 19:09 hmalik88