shell
shell copied to clipboard
when previewing an app, switching tabs will flash the nodes in the graph blue
if you have an app with functions that are not deployed, and switch from the tabs in the sidecar say JSON back to Visualization, ALL the rectangles flash blue then settle on the eventual state.
The flash is caused by how we detect if an action is deployed by calling action get
for every action in the graph. To avoid delays when generating the graph, Shell will first show all nodes in blue. Then as the action get
calls return, it greys out the nodes that are not found. I thought this is a better design than waiting until all action get
calls to complete to generate the graph. Or, I can change how undeployed actions are shown in the graph, such as using an icon instead of changing the background color, to avoid a big "flash" effect. Suggestions are welcome.
there are three states here. don't know yet, is deployed, and is not deployed.
if we used icons, rather than colors, i think we could better distinguish the three states. we could also use these same icons in the gutters of the editor