enso/app/gui/controller
Paweł Grabarz fe1cf9a9ce
Basic dropdown widget integration (#4013)
Implements https://www.pivotaltracker.com/n/projects/2539304/stories/184023445

Added a dropdown widget to graph node for all span tree nodes that have tag values present. When an option is selected, the controller receives a partial expression update, which targets specific crumbs of the expression (similar to how edge endpoint updates work).


https://user-images.githubusercontent.com/919491/210219931-8ae418fd-3ac4-44a5-abea-9e670f15cdf9.mp4

# Important Notes
Right now the dropdown widget is recreated every time the node is edited, including a dropdown option being selected. This causes it to close every time. I wanted to get around that by diffing span trees, but I wasn't able to do it in useful way. Additionally, current implementation of node input expression view heavily relies on being reinitialized from scratch every time. This led to more necessary changes than I was comfortable with for this task. I believe it will be easier to implement it as part of more complete widget support, especially after dynamic data support, as we will have proper widget type information.
2023-01-11 14:32:25 +00:00
..
double-representation Basic dropdown widget integration (#4013) 2023-01-11 14:32:25 +00:00
engine-model Build script merge (#3743) 2022-10-10 23:38:48 +02:00
engine-protocol Basic dropdown widget integration (#4013) 2023-01-11 14:32:25 +00:00
src Build script merge (#3743) 2022-10-10 23:38:48 +02:00
Cargo.toml New IDE build script (#3466) 2022-05-23 04:16:04 +02:00