SCIInstitute / shapeworks-cloud

A web version of ShapeWorks Studio
https://www.shapeworks-cloud.org/#/
Apache License 2.0
1 stars 0 forks source link

fix: (Charts) Analysis PCA charts not rendering #368

Closed JakeWags closed 4 months ago

JakeWags commented 4 months ago

This PR fixes the issue where analysis charts weren't rendering.

Some experimenting revealed that the Analysis charts weren't rendering if they were in a CLOSED expansion panel on mount. By setting the default panel to the charts, they rendered and were cached in the browser.

To fix this and keep the PCA tab as default open tab for analysis, the charts component was moved into the PCA panel and the charts panel was removed. This behavior is still acceptable, as the charts are directly related to the PCA values generated.