frontend-monorepo
frontend-monorepo copied to clipboard
Live game stats snags
The Chore
Some feedback for minor imporvements
Tasks
- [ ] When the epoch first starts you get a generic "no scores for this epoch" message. I wonder if we could do something nicer here and look at the last update on the API (which will be on the previous epoch), add the
rewards.updateFrequency
to that and then say how many mins it is until that time So we'd say "No scores yet for this epoch, next update in X mins" - [ ] The sketches included showing the last update time when on live scores view ... can we add this
- [ ] Add the units to the live score in the column header, these vary based on the reward type
- [ ] Price taking, price making, relative returns use the
dispatchMetricAssetId
- [ ] Average position is currently "Contracts" but will change to
dispatchMetricAssetId
once this bug is fixed - not sure this will be done in this release though. - [ ] Returns volatility is technically
dispatchMetricAssetId squared
... lol ... which we could show ... I guess ... or maybe show "VAR" or "σ2" seems to be standard finance notation for variance. - [ ] Staking, LP, market creation, and validator ranking just leave unitless
- [ ] Price taking, price making, relative returns use the
- [ ] I think the spacing on the header could be bigger ... feels a bit cramped and theres loads of room up there
- [ ] I do think we need to add the third tab for "Payout structure" if it is a rank strategy game and show the table
- [ ] I feel like the little epoch bar graphic in the top right would be useful on this page? I find myself regularly needing to know the epoch and navigating to the rewards page and back again ... but maybe that is just because I'm testing?
- [ ] We should include the explainer text from the card in the header somewhere, not sure where ... experiment.
- [ ] Change "Eligibility criiteria" to "Entry conditions" and make it a little pill .... I think this will look better?
- [ ] Showing the ranking strategy alongside the eligibility doesnt make sense ... Maybe we need to split this top box into two? One for "Entry conditions" and one for "Game details"? Then game details would have the rank strategy and the fee cap if applicable? Or we could pull those two things up into the header alongside the reward amount? I think the sketches included a vertical bar to at least slightly distinguish them, at minimum I think we should do that.