frontend-monorepo
frontend-monorepo copied to clipboard
Reward card summary visual refresh
The Chore
Need to rework these with Joelle's designs
Reward cards
- [ ] All reward cards should show the summary type data with teh button for teh detail ... even if there is only 1 reward behind it (so we have consistent experience)
- [ ] The button should count how many rewards are behind it and include in the text as shown
- [ ] The lock icon removed since this is now in the reward detail
- [ ] Instead the dispatch strategy is now in the top right and has icons for pro rata vs rank
Reward details
- [ ] Create new page with the sketch shown
- [ ] The table shows the actual detail from the
transfers
API and shows- [ ] The settlement asset
- [ ] The market name (looked up from the code)
- [ ] The start and end epoch
- [ ] The "Rewards paid"
- [ ] This is taken from
transferInterval
- [ ] If = 1 then display "Daily"
- [ ] If > 1 then display "X days"
- [ ] This is taken from
- [ ] The lock period
- [ ] The reward amount
- [ ] The reward card (from
capRewardFeeMultiple
)
Additional details / background info
Sketch
https://www.figma.com/design/ywcCZvXdvG28bg0AmCY9mF/Console-v3?t=bOVxi9w1DHzKnGOE-0