-
Notifications
You must be signed in to change notification settings - Fork 8
[Batch Viewer] Fix multiple AMM's interactions not visible #78
Conversation
Pull Request Test Coverage Report for Build 2257766771Warning: This coverage report may be inaccurate.We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
💛 - Coveralls |
|
@@ -25,7 +25,7 @@ export function STYLESHEET(theme: DefaultTheme): Stylesheet[] { | |||
width: 2, | |||
'target-arrow-shape': 'triangle', | |||
'target-arrow-color': theme.grey, | |||
'curve-style': 'unbundled-bezier', | |||
'curve-style': 'bezier', |
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.
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.
Yes it looks worse but without it you keep having the same reported issue. Could you see if there's a way to make them look similar? Maybe we could suggest merging the 2 arrows into 1 as we discussed.
Yes, we still need to improve the layout, even more on mobile. I have some ideas to reduce the labels and arrows count and combine them into 1 bidirectional arrow having a
It's indeed WETH: {
"owner": "0x8668eb7a9cde59618f4c187415641063c02f41c2",
"sellToken": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"buyToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"sellAmount": "3481348765869705828",
"buyAmount": "12125367336",
"feeAmount": "12181348040899292",
"orderUid": "0x686dd49dcd2d6b4b3ad49e18a3c8c1c130d3f6a1d66103936c20591ef98a831d8668eb7a9cde59618f4c187415641063c02f41c2624ae6eb"
} |
@elena-zh are you ok to merge this and work on improving the general layout and overlapping in the new sprint? |
@ramirotw , I'm not sure about it. |
I think it's worth to move on as is since it fixes one bug, albeit making the visualization a bit harder in some cases. |
Summary
Closes #72
To Test
Open the Batch Viewer in https://pr78--gpui.review.gnosisdev.com/tx/0x8bb4f9644bdf19684d66c55133ded17c198e36069a502f903311eb07ed978145 and there should be multiple interactions in the Balancer's Vault