15610: Avoids loading the file list on big collections, offers manual loading.
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Mon, 15 Jun 2020 19:03:58 +0000 (16:03 -0300)
committerLucas Di Pentima <lucas@di-pentima.com.ar>
Mon, 15 Jun 2020 19:03:58 +0000 (16:03 -0300)
commit7131c732cffb1383099b5e1593b3ee4b48635df5
tree6eddc222587f05dfdb4ce76ac785e3f355c89c7d
parent6381c9957d1b936937ebe79a9e4b5c08f74dce16
15610: Avoids loading the file list on big collections, offers manual loading.

After the previous performance enhancements, 75% of the time spent to show
the collection's files goes to the WebDAV request + parsing, so to avoid
inadvertently freezing the UI, when the file_count field passes a predefined
value (now 40k files), the user gets the option to manually load the file
listing by clicking on a button.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>
src/components/collection-panel-files/collection-panel-files.tsx
src/store/collection-panel/collection-panel-action.ts
src/store/collection-panel/collection-panel-files/collection-panel-files-actions.ts
src/store/collection-panel/collection-panel-reducer.ts
src/views/collection-panel/collection-panel.tsx