NASA-AMMOS / aerie-ui

The client application for Aerie.
https://nasa-ammos.github.io/aerie-docs/
MIT License
29 stars 5 forks source link

ActivityDecomposition Pagination #1225

Closed AaronPlave closed 5 months ago

AaronPlave commented 5 months ago

Paginate child nodes in ActivityDecomposition to resolve performance issues when loading decompositions with very large sets of children. Click on "show more" button to load next page of child nodes.

Closes #1223

Testing

  1. Load a plan with an activity that decomposes into a tree where at least one node has a very long and flat list of children. Endurance model is best for this test but certain Clipper activities may also work. One way to test smaller decompositions is to modify the childPageSize prop in ActivityDecomposition to set the pagination limit to a much lower size.
  2. View the metadata for a span
  3. Activity Decomposition tree should render performantly
  4. If more child nodes are available but not shown, a "show more (x)" button should appear where "x" is the number of remaining spans yet to be shown.