safe-global / safe-wallet-web

Safe{Wallet} – smart contract wallet for Ethereum (ex-Gnosis Safe multisig)
https://app.safe.global
GNU General Public License v3.0
327 stars 392 forks source link

feat: add new label to swaps button [SWAP-86] #3763

Closed compojoom closed 2 months ago

compojoom commented 2 months ago

What it solves

Displays a "new" label next to the swap navitem

How to test it

Open a safe and in the menu on the right Swap should have a "new" badge/label.

Screenshots

grafik

Checklist

notion-workspace[bot] commented 2 months ago

Add new label

github-actions[bot] commented 2 months ago

Branch preview

βœ… Deploy successful!

Website: https://feat_add_new_badge--walletweb.review.5afe.dev/home?safe=eth:0xA77DE01e157f9f57C7c4A326eeE9C4874D0598b6

Storybook: https://feat_add_new_badge--walletweb.review.5afe.dev/storybook/

github-actions[bot] commented 2 months ago

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A

Report generated by eslint-plus-action

github-actions[bot] commented 2 months ago

πŸ“¦ Next.js Bundle Analysis for safe-wallet-web

This analysis was generated by the Next.js Bundle Analysis action. πŸ€–

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 949.98 KB (🟑 +54 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

github-actions[bot] commented 2 months ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟑 Statements
79.48% (+0% πŸ”Ό)
11286/14200
πŸ”΄ Branches
58.49% (-0.01% πŸ”»)
2697/4611
🟑 Functions
66.64% (-0.01% πŸ”»)
1820/2731
🟒 Lines
80.85% (-0.01% πŸ”»)
10177/12587
Show files with reduced coverage πŸ”»
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :-: | :- | :- | :- | :- | :- | | πŸ”΄ |
`...` / index.tsx
|
51.43% (-1.35% πŸ”»)
| 0% | 0% |
56.25% (-1.33% πŸ”»)
|

Test suite run success

1436 tests passing in 197 suites.

Report generated by πŸ§ͺjest coverage report action from a2de33677af7d36cbeeed33ebf46351e0ada36bb