NASA-AMMOS / aerie-ui

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

Selective profile loading #1117

Closed AaronPlave closed 8 months ago

AaronPlave commented 9 months ago

This PR improves resource loading performance by moving resource fetching into the Row component and only loading resources found within the view. The Row component now fetches all of the resources needed for the Row's layers. The Row also tracks and displays loading and error states. One caveat is that all external resources are still globally fetched since there is not currently a good mechanism for detecting changes in individual external resources (for normal resources we key off simulation ID) though maybe @Mythicaeda or @mattdailis would have some ideas.

Notes:

AaronPlave commented 8 months ago

@duranb ready for any final review