mirror of
https://github.com/enso-org/enso.git
synced 2024-12-18 22:21:48 +03:00
760469a4ac
Show the visualization when a newly created node is being edited. Hide it after the editing is finished, unless the user explicitly changed the state of the visualization. https://www.pivotaltracker.com/story/show/182634059 #### Visuals The following video shows the behavior of the visualization when a new node is created by the user and is being edited: - By default, the visualization is shown when the node becomes edited and disappears when the node's expression is accepted. - If the user clicks the visualization toggle button once while editing the node, the visualization disappears and stays disabled after the node's expression is accepted. - If the user clicks the visualization toggle button twice while editing the node, the visualization is visible and stays enabled after the node's expression is accepted. This PR is not concerned with the correctness of the contents of the visualization window. This is in line with the current behavior on the `develop` branch, where clicking the visualization toggle button while editing a newly created node shows `null` content in the visualization (even if the edited expression is not null). https://user-images.githubusercontent.com/273837/191294970-62143983-764a-446c-9616-9765de0923bf.mov |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |