status-im / open-bounty

Enable communities to distribute funds to push their cause forward.
https://openbounty.status.im/
GNU Affero General Public License v3.0
118 stars 36 forks source link

Server-side pagination #250

Open vitvly opened 6 years ago

vitvly commented 6 years ago

Description

As number of SOB users increases, item count in Bounties and Activity pages will increase. This might slow down initial page load.

Solution

Implement server-side pagination for queries populating bounty and activity lists. This will affect open-bounties and bounties-activity queries. Sorting/filtering functionality will have to be heavily modified.

pablodip commented 6 years ago

@siphiuel This is a bit tougher than it gets, since filtering and sorting are also involved in the pagination.

vitvly commented 6 years ago

Right! This will also affect sort/filter.

rcullito commented 6 years ago

Guessing that as this is implemented then the reasonable behavior for the UI filter/sort is to only take into account the current "slice" the user is viewing 10 entities, 20 entities, etc...

Is that what you also had in mind @siphiuel?