Commit 238a703
authored
fix: JIRA-759, 760, 765, 754, 756 cp-13.10.0 (#37848)
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->
## **Description**
<!--
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?
2. What is the improvement/solution?
-->
In this PR, Updated Transaction Shield UI Bugs.
Jira Link:
- https://consensyssoftware.atlassian.net/browse/SUBS-759
- https://consensyssoftware.atlassian.net/browse/SUBS-760
- https://consensyssoftware.atlassian.net/browse/SUBS-765
- https://consensyssoftware.atlassian.net/browse/SUBS-754
- https://consensyssoftware.atlassian.net/browse/SUBS-756
Figma Link:
-
https://www.figma.com/design/HTAO1SrmixV4ppv7qIvLoa/Metamask-Transaction-Shield?node-id=14740-209891&m=dev
-
https://www.figma.com/design/agblIyQvyxSoqGMjQDAPBK/Transaction-Shield?node-id=277-14&p=f&t=apuyU6XgEuw694p7-0
[](https://codespaces.new/MetaMask/metamask-extension/pull/37722?quickstart=1)
## **Changelog**
<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`
If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`
(This helps the Release Engineer do their job more quickly and
accurately)
-->
CHANGELOG entry: Used feature flag to only show this change when
sidepanel flag is enabled for chrome. Updated button on wallet creation
successful page from 'Done' to 'Open wallet'.
## **Related issues**
Fixes:
## **Manual testing steps**
1. Open extension
2. Create wallet and validate Transaction Shield from settings.
## **Screenshots/Recordings**
<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->
### **Before**
<!-- [screenshots/recordings] -->
### **After**
<!-- [screenshots/recordings] -->
<img width="382" height="938" alt="Screenshot 2025-11-14 at 3 58 50 PM"
src="https://github.com/user-attachments/assets/b709385d-4179-49da-8c85-56d591594761"
/>
![Uploading Screenshot 2025-11-14 at 4.45.54 PM.png…]()
## **Pre-merge author checklist**
- [x] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
## **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.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Updates Transaction Shield copy and i18n, improves responsive layouts
and theming, replaces the entry modal animation with a static image, and
renames the billing action to “Manage billing.”
>
> - **Frontend UI/Styles**:
> - **Shield Entry Modal (`ui/components/app/shield-entry-modal/`)**:
Replace animation with static image (`transaction-shield-modal.png`),
add responsive title/spacing, full-height body, and new
`shield-entry-modal-sheild-image` styles.
> - **Settings Layout (`ui/pages/settings/index.scss`)**: On small
screens, modules use flex column with scroll; similar adjustments in
sidepanel selected view.
> - **Transaction Shield Tab
(`ui/pages/settings/transaction-shield-tab/`)**: Add light-theme
inactive background (`--shield-membership-inactive-light`) with new
modifier class; remove forced dark theme; minor styling.
> - **Claims Form (`claims-form.tsx`)**: Add padding/margins, keep only
section headers (remove descriptive subtext), retain dividers.
> - **Shield Plan (`ui/pages/shield-plan/`)**: Tweak plan card
padding/gaps and responsive price font; move spacing from props to CSS.
> - **Colors (`ui/css/utilities/colors.scss`)**: Add
`--shield-membership-inactive-light`.
> - **i18n (`app/_locales/en*/messages.json`)**:
> - Update copy: `shieldTxDetails1Title` to "Up to $10,000 transaction
protection"; billing action to `"Manage billing"`.
> - Remove unused: `shieldClaimIncidentDetailsDescription`,
`shieldClaimPersonalDetailsDescription`.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
1b81792. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 77d5e38 commit 238a703
File tree
12 files changed
+63
-50
lines changed- app
- _locales
- en_GB
- en
- images
- ui
- components/app/shield-entry-modal
- css/utilities
- pages
- settings
- transaction-shield-tab
- claims-form
- shield-plan
12 files changed
+63
-50
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
| |||
43 | 48 | | |
44 | 49 | | |
45 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
46 | 60 | | |
Lines changed: 5 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | | - | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
| |||
216 | 217 | | |
217 | 218 | | |
218 | 219 | | |
219 | | - | |
| 220 | + | |
220 | 221 | | |
221 | | - | |
| 222 | + | |
222 | 223 | | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
| 224 | + | |
228 | 225 | | |
229 | 226 | | |
230 | 227 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | | - | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
401 | 403 | | |
402 | 404 | | |
403 | 405 | | |
| |||
547 | 549 | | |
548 | 550 | | |
549 | 551 | | |
550 | | - | |
| 552 | + | |
| 553 | + | |
551 | 554 | | |
552 | 555 | | |
553 | 556 | | |
Lines changed: 3 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
| 389 | + | |
390 | 390 | | |
391 | | - | |
392 | 391 | | |
393 | 392 | | |
394 | 393 | | |
| |||
430 | 429 | | |
431 | 430 | | |
432 | 431 | | |
433 | | - | |
| 432 | + | |
434 | 433 | | |
435 | 434 | | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | 435 | | |
444 | 436 | | |
445 | 437 | | |
| |||
495 | 487 | | |
496 | 488 | | |
497 | 489 | | |
498 | | - | |
| 490 | + | |
499 | 491 | | |
500 | 492 | | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | 493 | | |
510 | 494 | | |
511 | 495 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
| |||
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
| |||
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
| 109 | + | |
| 110 | + | |
107 | 111 | | |
108 | 112 | | |
109 | 113 | | |
| |||
645 | 649 | | |
646 | 650 | | |
647 | 651 | | |
648 | | - | |
649 | 652 | | |
650 | 653 | | |
651 | 654 | | |
| |||
655 | 658 | | |
656 | 659 | | |
657 | 660 | | |
| 661 | + | |
| 662 | + | |
658 | 663 | | |
659 | 664 | | |
660 | 665 | | |
| |||
0 commit comments