-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add updates to Snaps custom UI (#26639)
## **Description** This PR adds changes to update Snaps Custom UI. Affected areas are: Snaps Home, Snap Custom Dialog, Snap components. [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26639?quickstart=1) ## **Related issues** Fixes: #26436 ## **Manual testing steps** 1. Go to test Snaps. 2. Install Snaps with custom UI and Snap home. 3. Check the new UI styling applied. ## **Screenshots/Recordings** ### **Before** ![Screenshot 2024-08-26 at 17 40 00](https://github.com/user-attachments/assets/dda8ab1f-f915-4b1b-9f34-b0657377aecd) ![Screenshot 2024-08-26 at 17 40 28](https://github.com/user-attachments/assets/39d246b6-b7f6-4630-950e-81153b01055e) ![Screenshot 2024-08-26 at 17 40 51](https://github.com/user-attachments/assets/f9730150-5f47-4c25-b516-f0245857dadc) ![Screenshot 2024-08-26 at 17 41 27](https://github.com/user-attachments/assets/3565fd8c-3563-4e72-9fa7-6e8d4a809601) ### **After** ![Screenshot 2024-09-05 at 14 01 12](https://github.com/user-attachments/assets/6bfea475-89fb-4cc9-bd9a-4060b51b1004) ![Screenshot 2024-09-05 at 14 01 26](https://github.com/user-attachments/assets/feb061e5-9f57-4926-9413-5e60e7753d04) ![Screenshot 2024-09-05 at 14 01 45](https://github.com/user-attachments/assets/30945e92-8a6b-452a-ba8f-2fcbbd843131) ![Screenshot 2024-09-05 at 14 02 34](https://github.com/user-attachments/assets/50a2710f-4410-4964-b67e-a1fb651707e6) ![Screenshot 2024-09-05 at 14 03 04](https://github.com/user-attachments/assets/7ab79ac4-9900-4e78-9947-c0ee2561097e) ![Screenshot 2024-09-05 at 14 04 44](https://github.com/user-attachments/assets/beb57d5e-64a1-4675-af1c-2b20b3286498) ![Screenshot 2024-09-05 at 14 06 34](https://github.com/user-attachments/assets/0ea50de1-9aca-428e-8575-40ff73a507f9) ![Screenshot 2024-09-05 at 14 20 50](https://github.com/user-attachments/assets/6bb8039c-7713-48e0-a219-2bc4b0017ff5) ![Screenshot 2024-09-05 at 16 42 16](https://github.com/user-attachments/assets/48a5f43a-fad1-4db8-84fd-b6ae3c038de3) ![Screenshot 2024-09-05 at 16 42 42](https://github.com/user-attachments/assets/e588f207-4952-4bc7-bd91-d26900158bb9) ![Screenshot 2024-09-09 at 18 25 45](https://github.com/user-attachments/assets/283339e3-3a01-4a9c-bb28-906d54cb2374) ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] 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.
- Loading branch information
Showing
30 changed files
with
139 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
ui/components/app/snaps/snap-avatar/snap-avatar.stories.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.