Closed compojoom closed 3 days ago
✅ Deploy successful!
Storybook: https://sent_receive_swaps--walletweb.review.5afe.dev/storybook/
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
St.:grey_question: |
Category | Percentage | Covered / Total |
---|---|---|---|
🟡 | Statements | 78.75% (-0.05% 🔻) |
11389/14462 |
🔴 | Branches | 58.02% (-0.09% 🔻) |
2755/4748 |
🟡 | Functions | 65.73% (-0.05% 🔻) |
1828/2781 |
🟢 | Lines | 80.13% (-0.05% 🔻) |
10264/12809 |
1413 tests passing in 195 suites.
Report generated by 🧪jest coverage report action from d6998344abdc6cfe016a85055925ef7de8358466
This analysis was generated by the Next.js Bundle Analysis action. 🤖
Page | Size (compressed) |
---|---|
global |
1000.17 KB (🟡 +71 B) |
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!
The following pages changed size from the code in this PR compared to its base branch:
Page | Size (compressed) | First Load |
---|---|---|
/apps/open |
53.43 KB (🟡 +117 B) |
1.03 MB |
/transactions |
73.42 KB (🟡 +117 B) |
1.05 MB |
/transactions/history |
73.39 KB (🟡 +117 B) |
1.05 MB |
/transactions/messages |
37.93 KB (🟡 +117 B) |
1.01 MB |
/transactions/queue |
31.01 KB (🟡 +117 B) |
1.01 MB |
/transactions/tx |
20.77 KB (🟡 +117 B) |
1020.94 KB |
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.
For me the "filled" field with the green bar and % is not necesary for the "Parts transactions", since those can be filled 100% or not at all, there is no in between, since if you don't have enough funds to fullfill a part (like you send tokens from your safe to another place, leaving your safe with not enough funds) the system will tell you that the order cannot be filled until you top it up
So in my opinion, that field is irrelevant in the different orders.
It IS relevant tho, in the main TWAP tx (the one with nonce), since that one actually show the % of how many orders have been fullfilled
Thanks @francovenica ! Yes, Usame and I had the same discussion and we agree with you. I don't want to do this in this PR as we have a lot of other things on our plate. I've made an issue for https://www.notion.so/safe-global/Make-order-components-view-aware-5e1ee21d5ff145c795308524d7ed80bd and we'll tackle this in the next release.
What it solves
Displays swap info on sent/receive events
How to test it
sent/receive events that are created in response to a swap order should display additional info about the swap
Checklist