Opening and closing component browser without creating a node breaks the metadata
Create a simple workflow (or any workflow) like so
Open the component browser by pressing enter or the plus button.
Imagine user has now changed their mind and wants to close the component browser.
Click on the graph editor background.
Expected behaviour:
Component browser is closed and no new component is added.
Actual behaviour:
Metadata gets broken, so layout is lost. A = component gets created
Clicking-off the opened component browser always accepted the input - this was by design, to keep it consistent with other fields (like numeric/text widget)
The lost metadata are indeed an issue
But in this case I didn't input anything in the component browser.
This is much better in the ide2-enso-win-x64-2024.1.1-nightly.2024.2.21 build. Everything reported is fixed :).
But in testing I found one more. If you drag from an existing component and then click off without typing anything it produces a strange rhs component
Again in this case I think it shouldn't create a component.
@AdRiley What you see is an argument placeholder for the dot operator right-hand side, since the default node expression (operator1.) includes the trailing dot. This isn't really a bug, more like a missing feature to remove that dot. An implementation of that is already in progress by @farmaazon.
OK. I'll test it again after that feature is done and see if it then feels better as an end user.
The PR: https://github.com/enso-org/enso/pull/9127