securedrop icon indicating copy to clipboard operation
securedrop copied to clipboard

Pagination

Open redshiftzero opened this issue 7 years ago • 4 comments

Description

Currently, we have no pagination on results on either the SecureDrop source or journalist interface. For example, this means that if a news organization isn't great about deleting sources then they will have a list of potentially hundreds of sources appear whenever they load the journalist interface. This is bad for usability as it is overwhelming and it increases page load times, which are already slow due to Tor.

User Stories

As a journalist user, I want to see only the N most recent sources on the index so that I'm not overwhelmed with hundreds of sources.

redshiftzero avatar Aug 03 '17 21:08 redshiftzero

When JS is enabled, we should flag it like ?js=1 so that we can send all the results and do pagination / sorting in the UI. Otherwise we use the backend to do this. I mean, assuming we want to tack any more JS on to the app.

heartsucker avatar Aug 04 '17 06:08 heartsucker

In-work. Currently not taking JS into account.

zyphlar avatar Aug 16 '18 07:08 zyphlar

Closing per rationale here (API pagination - #5073 - is of course still very much on the table).

eloquence avatar Jun 18 '20 22:06 eloquence

It's worth looking at pagination or similar solutions to address potential timeouts on instances with a large (5k+) number of sources (though obviously the advice to journalists to delete old or unwanted conversations is still sound, the app server should not be seen as a long-term data store). Reopening for now.

zenmonkeykstop avatar Apr 10 '22 19:04 zenmonkeykstop