mirror of
https://github.com/enso-org/enso.git
synced 2024-12-25 08:03:14 +03:00
3b6f13c7b9
Closes #6417 Creating and editing nodes with a component browser does not edit the node in place but creates a temporary AST node with the execution context switch. When the node is committed, the original AST is replaced by the new one, and the temporary node is removed. This solves several issues: 1. Previewing suggestions or editing nodes should no longer produce unwanted side effects, as the edited node expression is always evaluated with the output context being disabled. 2. Errors no longer propagate down the graph when you edit the node. The edited node has no outputs connected. Inputs behave normally, though. 3. Undo-redo and editing abort is much simpler. To abort editing, remove the temporary node. https://github.com/enso-org/enso/assets/6566674/8d38e6bc-a4de-4e69-8d48-52d9b45b6554 # Important Notes The code is a bit awkward in a few places. This is the consequence of previous architecture. |
||
---|---|---|
.. | ||
double-representation | ||
engine-model | ||
engine-protocol | ||
src | ||
Cargo.toml |