enso/lib/rust
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
..
automata Build script merge (#3743) 2022-10-10 23:38:48 +02:00
callback Bump rustc nightly-2022-11-22 (#3911) 2022-11-30 03:16:25 +01:00
code-builder Build script merge (#3743) 2022-10-10 23:38:48 +02:00
config-reader Fox warnings about colliding filenames. (#3908) 2022-11-24 18:54:45 +01:00
data-structures Wip/wdanilo/text shape system single scene 183406745 (#3776) 2022-11-03 08:35:06 +01:00
debug-api Bump wasm-bindgen (#3971) 2022-12-13 22:20:25 +01:00
ensogl Basic dropdown widget integration (#4013) 2023-01-11 14:32:25 +00:00
frp Grid-view based dropdown component (#3985) 2022-12-22 18:19:40 +00:00
fuzzly Build script merge (#3743) 2022-10-10 23:38:48 +02:00
generics Rust compile time optimizations (#3873) 2022-11-15 14:09:39 +01:00
json-rpc removing optional dependencies from prelude (#3922) 2022-11-28 12:42:31 +01:00
launcher-shims Add docs explaining the purpose and mechanisms of launcher-shims project (#3834) 2022-11-04 07:04:57 +00:00
logger Bump wasm-bindgen (#3971) 2022-12-13 22:20:25 +01:00
macro-utils Fox warnings about colliding filenames. (#3908) 2022-11-24 18:54:45 +01:00
metamodel Bump rustc nightly-2022-11-22 (#3911) 2022-11-30 03:16:25 +01:00
parser AST support for new annotation syntax (#4018) 2023-01-04 09:50:38 -08:00
prelude Auto Layouts (#3937) 2022-12-19 02:16:54 +01:00
profiler Bump wasm-bindgen (#3971) 2022-12-13 22:20:25 +01:00
reflect Bump rustc nightly-2022-11-22 (#3911) 2022-11-30 03:16:25 +01:00
shapely Basic dropdown widget integration (#4013) 2023-01-11 14:32:25 +00:00
shortcuts Bump wasm-bindgen (#3971) 2022-12-13 22:20:25 +01:00
text Editing via esc does not correctly update node view (#3799) 2022-10-25 15:37:49 +00:00
types Grid-view based dropdown component (#3985) 2022-12-22 18:19:40 +00:00
web Bump wasm-bindgen (#3971) 2022-12-13 22:20:25 +01:00