Closed mitchellchou closed 2 years ago
@Rico-Wong @chihimng @ivanng-oursky Confirmed with client, it's rare for people to stake a lot of validators (Let's say more than 5?), we can just handle it in the easiest way. e.g.
@Rico-Wong @chihimng @ivanng-oursky Confirmed with client, it's rare for people to stake a lot of validators (Let's say more than 5?), we can just handle it in the easiest way. e.g.
- pagination, without sorting
- pagination, frontend sorting
- fixed height, scrollable, with or without sorting
IMO 3 would be easily implemented, since all stake rows are fetched and unpaginated when obtaining the total staked amount (used in your portfolio panel), that code can be reused.
1 and 2 involves reimplementing pagination with a page size of 4, since the cosmjs sdk doesn't allow specifying pagination page size, so additional work is needed.
Since component requires data from both RPC server and bdjuno db, it is better fetch and combine both from the graphql server. Which will be handled in oursky/likedao#103.
Only UI will be implemented in this story.
As a likecoin owner, I want to see a list of which validators I have delegated so that I can arrange my coin or participate in governance.
Acceptance criteria
Positive
Negative
General
Content
Design
Figma
Reference