Feature #12611

Add paging to full-width treeview for top-level records with more than 50 immediate children, to improve performance

Added by Mike Cantelon 9 months ago. Updated 4 months ago.

Status:VerifiedStart date:12/03/2018
Priority:MediumDue date:
Assignee:-% Done:

0%

Category:Treeview
Target version:Release 2.5.0
Google Code Legacy ID: Tested version:
Sponsored:Yes Requires documentation:No

Description

When the full-width treeview is used and a large collection with many immediate children (i.e. many series below a collection, etc) is opened, the page takes a vary long time to load. The sidebar treeview opens much faster for the same collection, because it already has a sort of paging built in.

This feature will add paging to the full-width treeview for direct children of the top-level record. This will not affect lower level descendants - if you have a collection with a few series, but each series has thousands of file-level descendants, the pager will not appear. However, for cases where there are many direct child descendants of the top-level parent record, this can improve performance.

Implementation has been modeled off how paging was added to the hierarchy browser in feature #11955: when there are more than 50 child records from the top-level parent, AtoM will only display the first 49, and will present a button (top-right above the treeview) that includes a count of the remaining records. Clicking it will load the next 50 descendants, and provide a reset button to return the treeview to its initial load state prior to paging. Additionally, if there are still more records after the first page, the count will be updated and a button to load the next 50 will be available.

See the attached screenshots for more information. Also attaching a CSV for testing - copied from the Irving Steinberg Collection in AtoM's public demo site, but with the child records repeated so there are 108 children total.

irving-steinberg-collection.csv Magnifier - CSV of a collection with 108 item-level children for testing (81 KB) Dan Gillean, 01/09/2019 12:42 PM

treeview-paging-1.png - Notice the "58 more" button above the treeview, to the right (267 KB) Dan Gillean, 01/09/2019 12:42 PM

treeview-paging-2.png - When the button is clicked, but there are still more children to be loaded (267 KB) Dan Gillean, 01/09/2019 12:42 PM


Related issues

Related to Access to Memory (AtoM) - Bug #13124: Full-width treeview paging button not shown for public users Verified 07/26/2019

History

#1 Updated by Mike Cantelon 9 months ago

  • Requires documentation set to Yes

#3 Updated by Mike Cantelon 9 months ago

Limit results to 50 items per page so smaller collections won't require paging.

#4 Updated by Mike Cantelon 9 months ago

  • Status changed from New to QA/Review
  • Assignee changed from Mike Cantelon to Dan Gillean

#5 Updated by Dan Gillean 7 months ago

#6 Updated by Dan Gillean 7 months ago

  • Subject changed from Add paging to full-width treeview to Add paging to full-width treeview for top-level records with more than 50 immediate children, to improve performance
  • Status changed from QA/Review to Verified
  • Assignee deleted (Dan Gillean)

#7 Updated by Corinne Rogers 4 months ago

  • Requires documentation changed from Yes to No

Documentation done.

#8 Updated by Dan Gillean 27 days ago

  • Related to Bug #13124: Full-width treeview paging button not shown for public users added

Also available in: Atom PDF