Skip to content
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

Add cow from locked GNO to combined balance #456

Merged
merged 2 commits into from
Apr 26, 2022

Conversation

nenadV91
Copy link
Contributor

Summary

Fixes #409

As mentioned in the ticket this will add cow from locked GNO to the combined balance that will be shown in the header button but also included in the discount calculation.

@nenadV91 nenadV91 requested review from W3stside and a team April 26, 2022 13:11
@github-actions
Copy link
Contributor

CLA Assistant Lite All Contributors have signed the CLA.

@github-actions
Copy link
Contributor

  • 🔭 GP Swap: CoW Protocol v2 Swap UI

@elena-zh
Copy link

Hey @nenadV91 , great changes!

I was about to approve the changes, but I noticed, that the balance and discount info are not zero out when I disconnect a wallet. See the video: https://watch.screencastify.com/v/ry4dmmQjfGu75X9Kvnzq
after disconnecting

The issue is reproducible in this PR only, as it works fine in the current Prod.
Could you please fix it?
Thanks!

@elena-zh
Copy link

I also noticed, that the discount amount/COW balance are changing several times when the data is loading.
Could we add something like a 'shimmer' effect to this field/cow balance button or so in order to avoid this?
https://watch.screencastify.com/v/N67pPrPb8c82cg3Aw9Bh

@nenadV91
Copy link
Contributor Author

@elena-zh Good catch and suggestion. I've added both.

Copy link

@elena-zh elena-zh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nenadV91 , LGTM now!

@nenadV91 nenadV91 merged commit d5170e0 into locked-gno-claim-2 Apr 26, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Apr 26, 2022
@alfetopito alfetopito deleted the 409/include-locked-gno-in-discount branch April 27, 2022 09:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants