Ref #1306
AC:
Claiming all rewards at once:

Claiming reward action modal:

Rewards on page validator:

Rewards on validator li:

@fedekunze
Note: You can鈥檛 withdraw a custom amount and you can withdraw all your rewards (from all validators) at once or all from a specific validator
I propose we only allow claiming all at once for now and implement the more specific version if requested.
agreed. claim all or none at all. should still be an input on the action modal - just readonly.
should still be an input on the action modal - just readonly.
This might not work as the amount displayed on the amount field can differ from the actual amount withdrawn (i.e displayed < withdrawn)
imho showing the rewards on the header is a bad idea because of #2044. Also displaying it together with balance will bloat the header. It'd be better to have show and claim rewards on the wallet or my delegations page, preferably on the former
Let's go with Jordans solution for now and see where we can improve in a later iteration.
This might not work as the amount displayed on the amount field can differ from the actual amount withdrawn (i.e displayed < withdrawn)
is withdrawn > displayed so bad? :)
Let's go with Jordans solution for now and see where we can improve in a later iteration.
Then we should fix #2044 first
But I think it's better to get it right now instead of refactor everything later on
This might not work as the amount displayed on the amount field can differ from the actual amount withdrawn (i.e displayed < withdrawn)
@fedekunze how would this work?
imho showing the rewards on the header is a bad idea because of #2044. Also displaying it together with balance will bloat the header. It'd be better to have show and claim rewards on the wallet or my delegations page, preferably on the former
i think balance and rewards are the two most important pieces of information for our users. perhaps the font size is too big, but this info is critical. let's leave it for now and see what it feels like when we actually have balances and rewards for a while.