enso/app/gui/controller
Paweł Grabarz 6b14ec5a63
Dynamic dropdown support (#4072)
Implementation of https://www.pivotaltracker.com/story/show/184012743

https://user-images.githubusercontent.com/919491/214082311-cf49e43c-1d1f-4654-903c-a4224cd954d8.mp4

This is also a step towards more general widget support. The widget metadata is queried using `Meta.get_annotation` method through a dedicated visualization. For now only `Single_Choice` case is handled, and always all suggestions are is returned.

# Important Notes
There are limitations as to which node segments receive a widget. Only chain method calls are supported now (`thing.method` syntax), and only outside of lambda scope. Widgets in lambdas will require support for visualisations of lambda subexpressions, which is currently missing in the engine. The IDE technically tries to place the widgets there, but the data never arrives. It should work once the engine support is added.

This PR includes a mock for `Meta.get_annotation` call that only supports `Table.at` method. Real implementation is a separate task that is already in progress.
2023-02-04 00:50:24 +00:00
..
double-representation Dynamic dropdown support (#4072) 2023-02-04 00:50:24 +00:00
engine-model Build script merge (#3743) 2022-10-10 23:38:48 +02:00
engine-protocol Dynamic dropdown support (#4072) 2023-02-04 00:50:24 +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