-
Notifications
You must be signed in to change notification settings - Fork 411
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
feat: [Counterfactual] Update UI elements #3234
Conversation
* fix: Implement the dashboard overview widget design * test: Update dashboard smoke e2e test
* feat: Add first steps widget to dashboard * fix: Display the widget in the dashboard * fix: Extract last step as completed step, use enum and memoize items * fix: Revert change to completedName * fix: Remove StatusProgress and add individual first step cards * fix: Add counterfactual check to widget * fix: Remove steps badges
…rypto (#3220) * fix: Show dialog with on-ramp options when pressing buy crypto * refactor: Fix typo in BuyCryptoButton component * fix: Separate logo from text and add a title
Branch preview✅ Deploy successful! |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
📦 Next.js Bundle Analysis for safe-wallet-webThis analysis was generated by the Next.js Bundle Analysis action. 🤖
|
Page | Size (compressed) |
---|---|
global |
1.03 MB (🟡 +3.62 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!
Twelve Pages Changed Size
The following pages changed size from the code in this PR compared to its base branch:
Page | Size (compressed) | First Load |
---|---|---|
/apps/open |
63.84 KB (🟢 -351 B) |
1.09 MB |
/balances |
28.73 KB (🟡 +621 B) |
1.06 MB |
/balances/nfts |
20.49 KB (-1 B) |
1.05 MB |
/home |
52.77 KB (🔴 +11.4 KB) |
1.08 MB |
/new-safe/create |
31.59 KB (🟢 -321 B) |
1.06 MB |
/settings/security-login |
29.46 KB (🟢 -164 B) |
1.06 MB |
/settings/setup |
31.19 KB (🟢 -41.22 KB) |
1.06 MB |
/transactions |
92.32 KB (🟢 -354 B) |
1.12 MB |
/transactions/history |
92.29 KB (🟢 -356 B) |
1.12 MB |
/transactions/messages |
49.12 KB (🟢 -355 B) |
1.08 MB |
/transactions/queue |
44.21 KB (🟢 -358 B) |
1.07 MB |
/transactions/tx |
33.76 KB (🟢 -355 B) |
1.06 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.
Coverage report
Show new covered files 🐣
Show files with reduced coverage 🔻
Test suite run success1402 tests passing in 191 suites. Report generated by 🧪jest coverage report action from aae01f7 |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
19901ec
to
2b64c1b
Compare
# Conflicts: # src/components/dashboard/index.tsx
…ate assets check balance view
42b489e
to
b52fa59
Compare
# Conflicts: # src/services/analytics/events/overview.ts
ESLint Summary View Full Report
Report generated by eslint-plus-action |
3bc17ad
to
75cb5f7
Compare
970cadc
to
889e9e8
Compare
# Conflicts: # src/components/common/BuyCryproButton/index.tsx # src/components/dashboard/Overview/Overview.tsx # src/features/counterfactual/ActivateAccount.tsx
ESLint Summary View Full Report
Report generated by eslint-plus-action |
…checks, reset watcher on fail
I wasn't able to reproduce the issue Andrei had with the popup of confirmation after the safe is deployed. I'll keep the ticket up since some give was still being given in a slack thread, but at least from my side the dashboard looks fine |
From the UI the PR looks good. |
1010f1b
to
73c42c4
Compare
for (let attempt = 0; attempt < maxAttempts; attempt++) { | ||
const txResponse = await provider.getTransaction(txHash) | ||
if (txResponse !== null) { | ||
return txResponse | ||
} | ||
if (attempt < maxAttempts - 1) { | ||
await delay(delayMs) | ||
} | ||
} | ||
throw new Error('Transaction not found') | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have the exponential-backoff package for that. Possible to use that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a local stash to replace that package with our own implementation so I would leave it as is for now since we will remove that dependency anyway.
What it solves
Resolves #3207
How this PR fixes it
How to test it
Screenshots
Checklist