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

feat: added 'total claimed rewards' amount on 'Your Rewards' panel #376

Merged
merged 8 commits into from May 9, 2022

Conversation

impelcrypto
Copy link
Member

@impelcrypto impelcrypto commented May 2, 2022

Pull Request Summary

  • added total claimed rewards amount on 'Your Rewards' panel
  • summarized circulating information (current circulating and total circulating supply) into one panel
  • added holders panel on the dashboard page
  • refactor: use wait function instead of setTimeout

Check list

  • contains breaking changes
  • adds new feature
  • modifies existing feature (bug fix or improvements)
  • relies on other tasks
  • documentation changes

This pull request makes the following changes:

Adds

image

image

@github-actions
Copy link

github-actions bot commented May 2, 2022

Visit the preview URL for this PR (updated for commit 1c81a21):

https://astar-apps--pr376-feat-earned-rewards-stpkw3yy.web.app

(expires Sun, 15 May 2022 16:58:54 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

</div>
<div class="container--panel">
<value-panel title="Total Supply" :value="totalSupply" />
<rewards-panel :symbol="chainInfo.tokenSymbol" />
Copy link
Contributor

Choose a reason for hiding this comment

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

if we plan to add this view on the dApps Staking page at some point, I don't think it makes sense to add this on the dashboard page now?
What are your thoughts @Kahonnohak ?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes this needs to be on dApp Staking. i just commented on Slack. The question is how much we are adding before we can move to V2. V1 just got "your rewards' section which is appropriate for showing the total earned rewards however the space is tight and will need additional frontend development which is pitty..) Let me think.

The total Earned display makes good encouragement to users indeed and is amazing, however, the ideal goal is to have the total earned per project not all-time.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed in this commit
image

@impelcrypto impelcrypto changed the title feat: added rewards panel on the dashboard page feat: added 'claimed rewards' amount on 'Your Rewards' panel May 8, 2022
@impelcrypto impelcrypto changed the title feat: added 'claimed rewards' amount on 'Your Rewards' panel feat: added 'total claimed rewards' amount on 'Your Rewards' panel May 8, 2022
@Kahonnohak
Copy link
Contributor

Hi!

  1. I didn't get a live update for the claimed rewards amount after I claimed. Do we need to reload to be updated or can it be possible?

  2. Please change the font-weight to 700 for XXX ASTR

Copy link
Contributor

@Kahonnohak Kahonnohak left a comment

Choose a reason for hiding this comment

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

Thanks!

@impelcrypto
Copy link
Member Author

@Kahonnohak

I didn't get a live update for the claimed rewards amount after I claimed. Do we need to reload to be updated or can it be possible?
Please change the font-weight to 700 for XXX ASTR

Fixed :)
Demo:
https://www.loom.com/share/22b025c02a91424f910652022b537a58

@impelcrypto impelcrypto merged commit f402539 into main May 9, 2022
@impelcrypto impelcrypto deleted the feat/earned-rewards branch May 9, 2022 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants