enso/app/gui2/shared
Adam Obuchowicz 2e7d71d459
Refactor widgets to handle dynamic config in input (#8624)
* Merged ArgumentAst and ArgumentPlaceholder into single class.
* Created `AnyWidget` input being a "general use" widget input. Most wigets try to match with it; the `Argument` input is now solely for WidgetArgument(Name) or those handling arguments in a specific way (like selector which want to show on arg name click).
* dynamic config is now part of widget input, and is properly propagated through vector editor/function widgets.

# Important Notes
The widgets still does not work perfectly:
* The chosen options often don't have argument placeholders - that's because we don't display them for constructors. Needs to be added on our side, or engine should send us methodCall info for constructors.
* There are issues with engine's messages sent to us. This makes widgets does not set up (so there is no drop-down, or vector adds `_` instead of default). I'm investigating them and going to fill issues.
2024-01-03 13:37:52 +00:00
..
__tests__ Preparing for AST-based synchronization (#8625) 2024-01-02 15:18:11 +00:00
dataServer E2E tests (#8239) 2023-11-27 15:48:37 +00:00
languageServer Read custom visualizations (#8180) 2023-11-03 20:09:45 +00:00
languageServerTypes Refactor widgets to handle dynamic config in input (#8624) 2024-01-03 13:37:52 +00:00
binaryProtocol.ts E2E tests (#8239) 2023-11-27 15:48:37 +00:00
dataServer.ts E2E tests (#8239) 2023-11-27 15:48:37 +00:00
languageServer.ts [GUI2] Widget update handlers (#8545) 2023-12-22 10:59:57 +00:00
languageServerTypes.ts Fixes for Language Server sync server (#8514) 2023-12-19 05:41:14 +00:00
retry.ts Fixes for Language Server sync server (#8514) 2023-12-19 05:41:14 +00:00
uuid.ts Read custom visualizations (#8180) 2023-11-03 20:09:45 +00:00
websocket.ts E2E tests (#8239) 2023-11-27 15:48:37 +00:00
yjsModel.ts Preparing for AST-based synchronization (#8625) 2024-01-02 15:18:11 +00:00