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
312 stars 362 forks source link

feat: add feature toggle for zodiac roles integration #3830

Closed schmanu closed 3 weeks ago

schmanu commented 3 weeks ago

What this PR changes

How to test it

Checklist

github-actions[bot] commented 3 weeks ago

Branch preview

βœ… Deploy successful!

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

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

github-actions[bot] commented 3 weeks 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 3 weeks 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 948.76 KB (🟑 +19 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 3 weeks ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟑 Statements
79.42% (-0.05% πŸ”»)
11513/14496
πŸ”΄ Branches
58.52% (+0.06% πŸ”Ό)
2778/4747
🟑 Functions
66.63% (-0.14% πŸ”»)
1845/2769
🟒 Lines
80.76% (-0.04% πŸ”»)
10379/12852
Show files with reduced coverage πŸ”»
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :-: | :- | :- | :- | :- | :- | | 🟑 |
`...` / transactions.ts
|
68.1% (-2.59% πŸ”»)
|
33.33% (-2.78% πŸ”»)
| 36.36% |
71.72% (-3.03% πŸ”»)
| | 🟑 |
`...` / safeContracts.ts
|
80% (+1.74% πŸ”Ό)
|
100% (+50% πŸ”Ό)
|
58.33% (-1.67% πŸ”»)
| 75% | | 🟒 |
`...` / index.tsx
|
82.35% (-8.82% πŸ”»)
|
66.67% (-16.67% πŸ”»)
|
50% (-12.5% πŸ”»)
|
83.87% (-9.68% πŸ”»)
| | 🟒 |
`...` / recovery-state.ts
|
95.24% (+0.08% πŸ”Ό)
|
84.21% (-2.46% πŸ”»)
| 85.71% |
96.55% (+0.06% πŸ”Ό)
| | 🟒 |
`...` / index.tsx
|
83.33% (-16.67% πŸ”»)
| 0% |
0% (-100% πŸ”»)
| 100% | | 🟒 |
`...` / index.tsx
|
75% (-25% πŸ”»)
| 100% |
0% (-100% πŸ”»)
| 100% | | 🟒 |
`...` / index.tsx
| 96.88% |
91.67% (-0.93% πŸ”»)
| 100% | 100% | | πŸ”΄ |
`...` / index.tsx
|
50% (-7.14% πŸ”»)
| 0% | 0% |
58.33% (-4.82% πŸ”»)
| | 🟒 |
`...` / SendAmountBlock.tsx
|
87.5% (-12.5% πŸ”»)
|
0% (-50% πŸ”»)
|
0% (-100% πŸ”»)
| 100% |

Test suite run success

1444 tests passing in 199 suites.

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

liliya-soroka commented 3 weeks ago

Verified: enabled and works on staging and disable and hidden on prod