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
314 stars 372 forks source link

Release 1.39.0 #3900

Closed compojoom closed 6 days ago

compojoom commented 1 week ago

Main Highlights

TWAP order support is now in place! Swap fees are displayed in the decoded information, and we’ve added warnings for poisoning transactions. Enjoy the updates! πŸš€ πŸŒ”

Swaps

Address poisoning

Other improvements

Fixes

Tests

Other

github-actions[bot] commented 1 week ago

Branch preview

βœ… Deploy successful!

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

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

github-actions[bot] commented 1 week 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 1 week 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 1000.8 KB (🟑 +27 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!

Four Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/balances 29.47 KB (🟒 -17 B) 1.01 MB
/home 58.7 KB (🟒 -7 B) 1.03 MB
/settings/cookies 7.64 KB (🟒 -2 B) 1008.44 KB
/terms 11.59 KB (🟑 +1.57 KB) 1012.4 KB
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

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

Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this.

github-actions[bot] commented 1 week ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟑 Statements
79.01% (-0.47% πŸ”»)
11613/14698
πŸ”΄ Branches
58.6% (+0.08% πŸ”Ό)
2847/4858
🟑 Functions
65.97% (-0.82% πŸ”»)
1855/2812
🟒 Lines
80.4% (-0.39% πŸ”»)
10471/13024
Show new covered files 🐣
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :-: | :- | :- | :- | :- | :- | | 🟒 |
`...` / cookiesAndTermsSlice.ts
| 63.64% | 100% | 33.33% | 85.71% | | 🟒 |
`...` / types.ts
| 100% | 100% | 100% | 100% | | πŸ”΄ |
`...` / index.ts
| 16.67% | 0% | 0% | 18.18% | | 🟒 |
`...` / pk-popup-store.ts
| 80% | 50% | 0% | 88.89% | | 🟑 |
`...` / session.ts
| 70% | 50% | 50% | 71.43% | | 🟒 |
`...` / index.tsx
| 100% | 100% | 50% | 100% | | 🟒 |
`...` / useOrigin.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useIsSwapFeatureEnabled.ts
| 100% | 100% | 100% | 100% | | πŸ”΄ |
`...` / index.tsx
| 40% | 0% | 0% | 38.46% | | πŸ”΄ |
`...` / SwapTx.tsx
| 50% | 0% | 0% | 57.14% | | 🟒 |
`...` / index.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / index.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useUndeployedSafe.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / constants.ts
| 50% | 100% | 100% | 100% | | 🟒 |
`...` / fee.ts
| 100% | 92.86% | 100% | 100% | | 🟒 |
`...` / stablecoins.ts
| 100% | 100% | 100% | 100% | | 🟑 |
`...` / PartDuration.tsx
| 50% | 100% | 0% | 60% | | 🟑 |
`...` / PartSellAmount.tsx
| 62.5% | 0% | 0% | 71.43% | | 🟑 |
`...` / PartBuyAmount.tsx
| 62.5% | 0% | 0% | 71.43% | | 🟑 |
`...` / OrderFeeConfirmationView.tsx
| 54.55% | 0% | 0% | 60% | | 🟒 |
`...` / index.tsx
| 75% | 100% | 0% | 100% | | 🟒 |
`...` / index.tsx
| 75% | 100% | 0% | 100% | | 🟒 |
`...` / interactWith.tsx
| 57.14% | 0% | 0% | 80% | | 🟒 |
`...` / EmptyRow.tsx
| 66.67% | 100% | 0% | 100% | | πŸ”΄ |
`...` / SurplusFee.tsx
| 41.67% | 0% | 0% | 45.45% | | πŸ”΄ |
`...` / index.tsx
| 50% | 0% | 0% | 54.17% | | 🟒 |
`...` / index.tsx
| 100% | 75% | 100% | 100% | | 🟒 |
`...` / ExpandableMsgItem.tsx
| 100% | 0% | 100% | 100% | | 🟒 |
`...` / index.tsx
| 100% | 60% | 100% | 100% | | 🟒 |
`...` / index.tsx
| 94.12% | 53.33% | 50% | 93.75% | | 🟑 |
`...` / index.tsx
| 76.92% | 45.45% | 33.33% | 76% | | 🟒 |
`...` / index.tsx
| 85% | 0% | 100% | 88.89% |
Show files with reduced coverage πŸ”»
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :-: | :- | :- | :- | :- | :- | | 🟒 |
`...` / transaction-guards.ts
|
78.75% (-1.67% πŸ”»)
|
53.19% (+3.19% πŸ”Ό)
|
78.43% (+0.17% πŸ”Ό)
|
80.73% (+0.32% πŸ”Ό)
| | 🟒 |
`...` / safeCoreSDK.ts
|
89.09% (-3.5% πŸ”»)
| 84.62% |
85.71% (-14.29% πŸ”»)
|
91.67% (-1.95% πŸ”»)
| | 🟑 |
`...` / extractTxInfo.ts
|
76.74% (-1.83% πŸ”»)
|
45.45% (-2.05% πŸ”»)
| 100% |
76.19% (-1.86% πŸ”»)
| | 🟑 |
`...` / notificationsSlice.ts
|
76.67% (-3.33% πŸ”»)
| 16.67% |
46.15% (-7.69% πŸ”»)
|
72.73% (-4.55% πŸ”»)
| | πŸ”΄ |
`...` / undeployedSafesSlice.ts
|
41.18% (-2.94% πŸ”»)
| 33.33% |
50% (-12.5% πŸ”»)
|
45.83% (-4.17% πŸ”»)
| | 🟒 |
`...` / swapParamsSlice.ts
|
66.67% (+3.03% πŸ”Ό)
| 100% |
0% (-33.33% πŸ”»)
|
87.5% (+1.79% πŸ”Ό)
| | 🟑 |
`...` / utils.ts
|
75.26% (-5.26% πŸ”»)
|
63.16% (-3.51% πŸ”»)
|
76.19% (-3.81% πŸ”»)
|
77.38% (-4.97% πŸ”»)
| | πŸ”΄ |
`...` / useOnboard.ts
|
44.17% (-0.46% πŸ”»)
| 11.11% | 15% |
47.17% (-0.49% πŸ”»)
| | 🟑 |
`...` / gtm.ts
|
70.77% (-1.54% πŸ”»)
| 60% |
50% (-12.5% πŸ”»)
| 77.78% | | 🟑 |
`...` / wallets.ts
|
65% (-2.57% πŸ”»)
|
25% (-3.57% πŸ”»)
| 77.78% |
68.75% (-1.25% πŸ”»)
| | 🟒 |
`...` / txMonitor.ts
|
92% (-0.47% πŸ”»)
|
94.44% (+2.44% πŸ”Ό)
|
95.45% (-0.55% πŸ”»)
|
92.96% (-0.22% πŸ”»)
| | 🟑 |
`...` / sdk.ts
|
66.34% (-1.7% πŸ”»)
| 38.1% |
57.14% (-4.4% πŸ”»)
|
65.56% (-1.11% πŸ”»)
| | 🟒 |
`...` / index.tsx
|
82.35% (-8.82% πŸ”»)
|
66.67% (-16.67% πŸ”»)
|
50% (-12.5% πŸ”»)
|
83.87% (-9.68% πŸ”»)
| | 🟒 |
`...` / useSafeMessage.ts
|
90.48% (-4.26% πŸ”»)
|
66.67% (-33.33% πŸ”»)
| 75% |
94.74% (+0.29% πŸ”Ό)
| | 🟒 |
`...` / index.tsx
|
91.3% (-0.36% πŸ”»)
| 75% | 50% |
95.24% (-0.22% πŸ”»)
| | 🟒 |
`...` / tx-history-filter.ts
| 100% |
86.49% (-2.08% πŸ”»)
| 100% | 100% | | πŸ”΄ |
`...` / utils.ts
|
36.52% (-0.65% πŸ”»)
|
34.38% (-1.11% πŸ”»)
| 21.43% |
37% (-0.76% πŸ”»)
| | 🟒 |
`...` / index.tsx
| 100% |
96% (-4% πŸ”»)
| 100% | 100% | | 🟒 |
`...` / index.tsx
| 100% |
50% (-3.33% πŸ”»)
| 100% | 100% | | 🟒 |
`...` / index.tsx
|
96.77% (-0.1% πŸ”»)
| 92.59% | 100% | 100% | | 🟑 |
`...` / index.tsx
|
66.67% (-9.86% πŸ”»)
|
41.86% (-11.26% πŸ”»)
|
61.54% (-11.19% πŸ”»)
|
66.67% (-10.51% πŸ”»)
| | πŸ”΄ |
`...` / index.ts
|
47.83% (-21.85% πŸ”»)
|
18.18% (-40.91% πŸ”»)
|
10% (-37.06% πŸ”»)
|
48.33% (-20.53% πŸ”»)
| | 🟑 |
`...` / useTransactionType.ts
|
68.42% (-1.02% πŸ”»)
|
40% (-2.11% πŸ”»)
| 100% |
69.44% (-1.14% πŸ”»)
| | 🟒 |
`...` / index.tsx
|
88.89% (+1.17% πŸ”Ό)
|
71.05% (-4.7% πŸ”»)
| 60% |
88.14% (+1.34% πŸ”Ό)
| | 🟑 |
`...` / DataTable.tsx
| 50% |
0% (-100% πŸ”»)
| 0% | 66.67% | | 🟑 |
`...` / index.tsx
|
73.08% (-21.04% πŸ”»)
|
25% (+25% πŸ”Ό)
|
66.67% (-33.33% πŸ”»)
|
72.73% (-20.13% πŸ”»)
| | 🟑 |
`...` / index.tsx
|
74.55% (-1.38% πŸ”»)
|
16.13% (-0.54% πŸ”»)
| 66.67% |
75.47% (-1.45% πŸ”»)
| | πŸ”΄ |
`...` / index.tsx
|
38.04% (-14.46% πŸ”»)
| 0% | 0% |
40.23% (-18.1% πŸ”»)
| | πŸ”΄ |
`...` / useOnceVisible.ts
|
12% (-1.04% πŸ”»)
| 0% | 0% |
13.64% (-0.65% πŸ”»)
| | 🟒 |
`...` / useGetSafeInfo.ts
|
84.21% (-4.68% πŸ”»)
|
20% (-30% πŸ”»)
|
40% (-10% πŸ”»)
|
88.24% (-5.51% πŸ”»)
| | πŸ”΄ |
`...` / recovery-sender.ts
|
12% (-1.21% πŸ”»)
| 0% | 0% |
12% (-1.21% πŸ”»)
| | 🟒 |
`...` / useAdjustUrl.ts
|
93.75% (-6.25% πŸ”»)
|
80% (-20% πŸ”»)
| 100% |
93.33% (-6.67% πŸ”»)
|

Test suite run success

1433 tests passing in 198 suites.

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

github-actions[bot] commented 1 week 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 1 week 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