Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow passing custom chainId to ModalDialog #4589

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

schmanu
Copy link
Member

@schmanu schmanu commented Dec 2, 2024

What it solves

Resolves #4379

How this PR fixes it

Allows passing chainId to ModalDialog such that we can pass the correct chainId in the SafeListRemoveDialog

How to test it

  • Open any multichain Safe that is deployed on at least 2 chains where one of the Safes is still counterfactual (not activated)
  • Remove the counterfactual Safe while you have a Safe on another chain opened

Checklist

  • I've tested the branch on mobile 📱
  • I've documented how it affects the analytics (if at all) 📊
  • I've written a unit/e2e test for it (if applicable) 🧑‍💻

Copy link

github-actions bot commented Dec 2, 2024

Copy link

@schmanu schmanu requested a review from iamacook December 2, 2024 14:43
Copy link

github-actions bot commented Dec 2, 2024

📦 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 1005.98 KB (🟡 +15 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!

Copy link

github-actions bot commented Dec 2, 2024

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements
73.66% (+0.01% 🔼)
14330/19454
🔴 Branches
51.75% (-0.04% 🔻)
3512/6787
🔴 Functions
57.12% (+0.05% 🔼)
2081/3643
🟡 Lines
75.26% (+0.01% 🔼)
13018/17298
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🟢 mocks/terms.md.js 75% 100% 100% 100%
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟡
... / gtm.ts
70.77%
60% (-3.64% 🔻)
50% 77.78%
🟢
... / index.tsx
94.12% (-0.17% 🔻)
75% 100%
96.67% (-0.11% 🔻)
🟢
... / index.tsx
96% (+2.45% 🔼)
93.75% (-0.37% 🔻)
100% (+14.29% 🔼)
100% (+6.67% 🔼)
🟢
... / custom.tsx
95% (-0.24% 🔻)
100% 75%
94.74% (-0.26% 🔻)
🟡
... / index.tsx
76.25% (+0.57% 🔼)
55.26% (-0.99% 🔻)
40% (+15% 🔼)
76.32% (+0.26% 🔼)

Test suite run success

1661 tests passing in 226 suites.

Report generated by 🧪jest coverage report action from fd569ca

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong network is displayed on the delete CF safe pop up dialog
2 participants