Skip to content

Conversation

@ape-dev-cs
Copy link
Contributor

What it solves

Resolves #

How this PR fixes it

How to test it

Screenshots

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) 🧑‍💻

@vercel
Copy link

vercel bot commented Mar 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
wallet ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 24, 2025 3:55pm

@github-actions
Copy link

github-actions bot commented Mar 7, 2025

📦 Next.js Bundle Analysis for eternalsafe-wallet

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 1.13 MB (🔴 +399.57 KB)
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!

New Page Added

The following page was added to the bundle from the code in this PR:

Page Size (compressed) First Load
/wallet-connect/transaction 47.38 KB 1.18 MB

Sixteen Pages Changed Size

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

Page Size (compressed) First Load
/address-book 28.24 KB (🟢 -120 B) 1.16 MB
/balances 31.35 KB (🟢 -5.44 KB) 1.16 MB
/balances/nfts 28.54 KB (🟢 -5.44 KB) 1.16 MB
/new-safe/load 20.36 KB (🟢 -2.05 KB) 1.15 MB
/settings/appearance 3.63 KB (🟢 -5.81 KB) 1.14 MB
/settings/data 1.8 KB (🟢 -5.81 KB) 1.13 MB
/settings/environment-variables 4.69 KB (🟢 -5.68 KB) 1.14 MB
/settings/modules 3.36 KB (🟢 -5.81 KB) 1.14 MB
/settings/security-login 24.16 KB (🟢 -5.81 KB) 1.16 MB
/settings/setup 26.18 KB (🟢 -5.81 KB) 1.16 MB
/transactions 43.97 KB (🟢 -5.98 KB) 1.17 MB
/transactions/history 43.96 KB (🟢 -5.98 KB) 1.17 MB
/transactions/queue 43.96 KB (🟢 -5.98 KB) 1.17 MB
/transactions/tx 40.74 KB (🟢 -175 B) 1.17 MB
/welcome 4.77 KB (🟡 +8 B) 1.14 MB
/welcome/social-login 8.5 KB (🟡 +4 B) 1.14 MB
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
Copy link

github-actions bot commented Mar 7, 2025

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements
73.96% (-0.11% 🔻)
6171/8344
🔴 Branches
50.35% (+0.22% 🔼)
1365/2711
🔴 Functions
55.6% (-0.08% 🔻)
899/1617
🟡 Lines
76.05% (-0.1% 🔻)
5533/7275
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🔴
... / settingsSlice.ts
45.59% (-5.32% 🔻)
28.57% (-21.43% 🔻)
29.17% (-5.83% 🔻)
44.23% (-4.55% 🔻)
🔴 src/utils/hex.ts
26.32% (-73.68% 🔻)
100%
33.33% (-66.67% 🔻)
23.08% (-76.92% 🔻)

Test suite run success

761 tests passing in 120 suites.

Report generated by 🧪jest coverage report action from 6808e5e

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

@ape-dev-cs ape-dev-cs changed the title Draft: Initial walletconnect modals/settings Draft: walletconnect support Mar 7, 2025
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

@ape-dev-cs ape-dev-cs marked this pull request as ready for review March 10, 2025 09:18
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

}

initWalletKit()
}, [projectId, isInitialized, isInitializing, pairingCode, setupEventListeners])

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React Hook useEffect has a missing dependency: 'setWalletKitInstance'. Either include it or remove the dependency array. If 'setWalletKitInstance' changes too often, find the parent component that defines it and wrap that definition in useCallback. react-hooks/exhaustive-deps

Suggestion(s) available:

Suggested change
}, [projectId, isInitialized, isInitializing, pairingCode, setupEventListeners])
}, [projectId, isInitialized, isInitializing, pairingCode, setupEventListeners, setWalletKitInstance])

throw e
}
},
[isInitialized],

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React Hook useCallback has a missing dependency: 'walletKitInstance'. Either include it or remove the dependency array. react-hooks/exhaustive-deps

Suggestion(s) available:

Suggested change
[isInitialized],
[isInitialized, walletKitInstance],

throw e
}
},
[isInitialized],

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React Hook useCallback has a missing dependency: 'walletKitInstance'. Either include it or remove the dependency array. react-hooks/exhaustive-deps

Suggestion(s) available:

Suggested change
[isInitialized],
[isInitialized, walletKitInstance],

import SignOrExecuteForm from '@/components/tx/SignOrExecuteForm'
import PageHeader from '@/components/common/PageHeader'
import { AppRoutes } from '@/config/routes'
import { TransactionDetails, TransactionInfoType } from '@safe-global/safe-gateway-typescript-sdk'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'TransactionInfoType' is defined but never used. unused-imports/no-unused-imports-ts

Fix available:

Suggested change
import { TransactionDetails, TransactionInfoType } from '@safe-global/safe-gateway-typescript-sdk'
import { TransactionDetails } from '@safe-global/safe-gateway-typescript-sdk'

if (safeTx) {
extractTxDetails(safeAddress, safeTx, safe).then(setTxDetails)
}
}, [safeTx])

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React Hook useEffect has missing dependencies: 'safe' and 'safeAddress'. Either include them or remove the dependency array. react-hooks/exhaustive-deps

Suggestion(s) available:

Suggested change
}, [safeTx])
}, [safe, safeAddress, safeTx])

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

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.

3 participants