Open gabrieljaegerde opened 2 years ago
that also implies we should think about paginated queries (mainly for past referendums + revisit the indexer logic) I thnk there is an open issue for referendum stats where queries which is currently not possible. i think a big part would be on the indexer side as well. while for active referenda the filtering could be done frontend it would be good to have a filter on the indexer too.
also gov2 would imply a function (best from indexer) to get all tracks and include the track in the referendaStats table
The Kusama runtime now includes the gov2 code. We should make sure that the current functionality is not affected by the changes. Furthermore we should incorporate the changes to our UI. It would be interesting to have a badge for each referendum's track as well as a filter to filter by the tracks.
Things needed: