UI: transition rough between manage and workbench/graph
Make the transition between the manage app and dashboard smoother, specifically when jumping directly to graph or workbench.
#4 Updated by Yan-Fa Li over 7 years ago
I think the issue is that a certain API hasn't loaded yet, when the UI is trying to populate the dropdown. Normally this info is requested from another object which has previously been refreshed, this isn't true when we switch over to the UI element and the drop down doesn't get populated correctly.
I should probably delay letting the UI be usable until the data is loaded.
#8 Updated by Yan-Fa Li over 7 years ago
Fixes in this bug
- keep cards visibility: hidden during initial loading to prevent FOUC when jumping from manage to Workbench or Graph
- force a reset whenever we reload the workbench to prevent rendering errors due to calculations being made when display: none
- add a promise to OSD Viz which is only resolved once the collection has been loaded successfully once, this resolves the graph's not loading due to the host data not being loaded yet