-
Notifications
You must be signed in to change notification settings - Fork 8
Conversation
Pull Request Test Coverage Report for Build 3201733554
💛 - Coveralls |
|
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.
Looking good.
A few things:
- Change the base branch to
221/active-solvers
so the commits are cleaned - Lets hide for now the
ETH cost
column as we don't have that value from the subgraph - The
Tx hash
link should go to theTransaction details
page not Etherscan
Hey @matextrem , great job! Some my issues:
Just want to clarify it with you whether we really need to hide it as it was a request from Anxo in cowprotocol/cowswap#3721 (case 3). Or it is not going to be merged to Subgraph in the near future? Thanks! |
@GabrielCamba added a |
e1039cd
to
5bad0b6
Compare
* Bumping cow-sdk to latest * Removed files already incorporated into the SDK * Removed rinkeby from currently used spots * Updated network selector * removed it from storybook stories * Removed/edited from the legacy code. Should remove it all eventually * Fixed unit test
5bad0b6
to
0524353
Compare
Hey @matextrem , nice changes!
Thanks! |
Hey @matextrem , great job!
Thanks! |
Regarding the first comment, the subgraph is responding with empty symbol for MKR token. @ramirotw any suggestions? |
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.
setQuery('') | ||
setPageOffset(0) | ||
}, [networkId, setPageOffset, setQuery]) | ||
}, [networkId, setPageOffset, setQuery, tabViewSelected]) |
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.
Is the useEffect intentionally denpendent on tabViewSelected
although it's not used in it?
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.
This is intentional since we need to reset the search bar query when changing between tabs
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.
Cool! Can you add a comment to be explicit about that and avoid the next reviewer to ask the same question 😆
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.
Looking great Mati!
Only one last thing that I noticed now, but I rather it be addressed in another PR as this one is already quite big.
The table is "jumping" when I move between tabs, likely because it triggers a reload on every change:
Screen.Recording.2022-10-19.at.18.08.56.mov
So I'm in favor of merging and addressing the pending stuff in different PRs
Hey @matextrem , changes LGTM besides know issues related to the Graph:
Besides, I have created separate issues to address them later:
The only one issues that I would like you to fix is that some tokens (GNO/MIR) are too dark on the table, while the icons look good on Tx details pages: Could you please fix it? Thanks! |
Specifically regarding this point
I suspect I know the reason. Maker and and another token (I think DAI?) have the When fetching the token name from the contract, we are querying both versions of the contract to be safe. Since this empty string is coming from the Subgraph, I suggest to:
|
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.
The Search by solver, address or name
placeholder in the table header should be updated. Right now it's filtering by solver name and tx hash, it would also be helpful to filter by solver address so I don't need to go to the Active solvers tab to know the name based on the address and then come back and use that name to get the latest settlements by solver.
Hey @matextrem , icons LGTM! Also, AFAIU from @ramirotw comment, it would be great to have a possibility to search by a solver address in the Settlements table, but you removed this option from the placeholder and, of cause, the search by a solver address is not working there. |
@elena-zh updated! MKR problem solved and search by address is working now. |
Hey @matextrem , changes LGTM! Thanks |
@elena-zh Updated! |
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.
Hey @matextrem , great!
I'm approving this PR in order to merge this.
Still need to resolve some issues that are related to Subgraph.
Also, I have created a low-priority issue #242 to display the tooltip in the search field better on reduced screens.
Thank you!
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.
👌
Summary
Closes #234
Added Settlements table in Solvers page
To Test
solvers
. You can use the header menu to navigate.Notes: For ETH cost, we need some Subgraph PR to be merged first before we can get that info into the table.