Commit eb49d41
authored
chore: update gas fees sponsored tooltip message (MetaMask#24321)
<!--
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?
-->
Enhances the gas fee sponsorship user experience by updating the tooltip
message of "network fee" when the transaction is gas fees sponsored.
### Problem
The tooltip message of "network fee" when the transaction is gas fees
sponsored is not enough explicit for send transactions.
### Solution
Implement a workaround that updates the tooltip message for gas fees
sponsored.
## **Changelog**
CHANGELOG entry: fixed gas fees sponsored tooltip message
## **Related issues**
Fixes: null
## **Manual testing steps**
1. Go to the send page.
2. Send token to an address on a chain eligible of gas fees sponsored.
3. The "network fee" tooltip message should be explicit.
## **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="400" height="596" alt="ext send msg"
src="https://github.com/user-attachments/assets/cac1c17d-0453-46b2-8106-89884fe1e15a"
/>
## **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]
> Refines tooltip copy for sponsored network fees to be
transaction-agnostic.
>
> - Updates `network_fee_info_content_sponsored` in multiple locale
JSONs to use "transact" instead of "swap" for clarity across send and
other flows
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
7db6f5b. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 9e3cb84 commit eb49d41
15 files changed
Lines changed: 15 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6169 | 6169 | | |
6170 | 6170 | | |
6171 | 6171 | | |
6172 | | - | |
| 6172 | + | |
6173 | 6173 | | |
6174 | 6174 | | |
6175 | 6175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6169 | 6169 | | |
6170 | 6170 | | |
6171 | 6171 | | |
6172 | | - | |
| 6172 | + | |
6173 | 6173 | | |
6174 | 6174 | | |
6175 | 6175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6169 | 6169 | | |
6170 | 6170 | | |
6171 | 6171 | | |
6172 | | - | |
| 6172 | + | |
6173 | 6173 | | |
6174 | 6174 | | |
6175 | 6175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6169 | 6169 | | |
6170 | 6170 | | |
6171 | 6171 | | |
6172 | | - | |
| 6172 | + | |
6173 | 6173 | | |
6174 | 6174 | | |
6175 | 6175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6169 | 6169 | | |
6170 | 6170 | | |
6171 | 6171 | | |
6172 | | - | |
| 6172 | + | |
6173 | 6173 | | |
6174 | 6174 | | |
6175 | 6175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6169 | 6169 | | |
6170 | 6170 | | |
6171 | 6171 | | |
6172 | | - | |
| 6172 | + | |
6173 | 6173 | | |
6174 | 6174 | | |
6175 | 6175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6169 | 6169 | | |
6170 | 6170 | | |
6171 | 6171 | | |
6172 | | - | |
| 6172 | + | |
6173 | 6173 | | |
6174 | 6174 | | |
6175 | 6175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6169 | 6169 | | |
6170 | 6170 | | |
6171 | 6171 | | |
6172 | | - | |
| 6172 | + | |
6173 | 6173 | | |
6174 | 6174 | | |
6175 | 6175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6169 | 6169 | | |
6170 | 6170 | | |
6171 | 6171 | | |
6172 | | - | |
| 6172 | + | |
6173 | 6173 | | |
6174 | 6174 | | |
6175 | 6175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6169 | 6169 | | |
6170 | 6170 | | |
6171 | 6171 | | |
6172 | | - | |
| 6172 | + | |
6173 | 6173 | | |
6174 | 6174 | | |
6175 | 6175 | | |
| |||
0 commit comments