nwfsc-fram / boatnet

At-Sea Field Data Collection Software Components for Scientific Surveys and Observers
8 stars 5 forks source link

Slow loading issues #2326

Open melinashak-noaa opened 3 years ago

melinashak-noaa commented 3 years ago

Currently loading a bunch of data from couch and then sorting, filtering, ect on the client side. This is fine for small data sets, but when pulling in a large amount of data things get slow. So it would be great if we could have a way to paginate queries while also filtering.

Example: Currently I'm loading trip data. Each trip has a list of operations associated with it. So if a user selects to view all the hauls for all trips, then sometimes that means querying couch for 100+ hauls and displaying that in the next page. And this can get slow at times.