-
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: visually group transactions executed in bulk in the transaction history #3772
Conversation
Branch preview✅ Deploy successful! Storybook: |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
Coverage report
Show new covered files 🐣
Show files with reduced coverage 🔻
Test suite run success1438 tests passing in 199 suites. Report generated by 🧪jest coverage report action from f20be5d |
📦 Next.js Bundle Analysis for safe-wallet-webThis analysis was generated by the Next.js Bundle Analysis action. 🤖
|
Page | Size (compressed) |
---|---|
global |
1003.82 KB (🟡 +78 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!
Eleven 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 |
46.56 KB (🟢 -3.56 KB) |
1.03 MB |
/apps/custom |
38.18 KB (🟢 -3.56 KB) |
1.02 MB |
/apps/open |
48.69 KB (🟢 -2.85 KB) |
1.03 MB |
/home |
56.57 KB (🟢 -3.47 KB) |
1.04 MB |
/settings/safe-apps |
22.39 KB (🟢 -3.56 KB) |
1 MB |
/swap |
26.35 KB (🟢 -3.56 KB) |
1.01 MB |
/transactions |
74.63 KB (🟡 +723 B) |
1.05 MB |
/transactions/history |
74.6 KB (🟡 +724 B) |
1.05 MB |
/transactions/messages |
35.58 KB (🟡 +725 B) |
1.02 MB |
/transactions/queue |
29.87 KB (🟡 +721 B) |
1.01 MB |
/transactions/tx |
19.63 KB (🟡 +736 B) |
1023.45 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.
ESLint Summary View Full Report
Report generated by eslint-plus-action |
@iamacook gave some feedback that it is confusing to have the txHash displayed in the |
Sure, that does make sense! cc @katspaugh could you also provide feedback here please? |
@TanyaEfremova I like this version: It also has a much bigger clickable are on the explorer link, so it's better overall. Showing a single transaction hash was an important detail, because that's the confusing part about these transactions. They all have the same tx hash, so the user might be going in circles when debugging transactions. So I would keep the hash where it was but also add this View on explorer button instead of the tiny arrow icon next to the hash. |
Perfect, this exact layout can work well for grouping swap transactions (with limitations) in hitory. |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
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.
Nice work!
ESLint Summary View Full Report
Report generated by eslint-plus-action |
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.
Looks good 👍
ESLint Summary View Full Report
Report generated by eslint-plus-action |
The last thing, that I just noticed, but minor. The number of transactions displayed in the 2nd column should use |
What it solves
Resolves #3443
How this PR fixes it
How to test it
Screenshots
Checklist