enso/app/gui2/parser-codegen
Paweł Grabarz e492d3f260
[GUI2] Render widget arguments (#8339)
Fixes #8256 #8257

Implemented displaying node argument placeholders. Refactored widgets to allow arbitrary input types, and split widget matching into two phases, separating input type validation step and allowing it to influence the derived TypeScript type of widget component props.

Connecting an edge to the placeholder is not implemented yet. Only connections to existing arguments are supported for now.

https://github.com/enso-org/enso/assets/919491/ad3bf254-5f56-4f2f-8c0d-616a7195c6d8


Nested argument lists are also supported:
<img width="396" alt="image" src="https://github.com/enso-org/enso/assets/919491/b61f6870-0f01-48c3-9b45-c7c6bc464638">
2023-11-22 14:43:58 +00:00
..
codegen.ts Use Enso AST in graph editor (#8123) 2023-10-24 14:05:12 +00:00
index.ts Parser TS bindings (#7881) 2023-10-11 13:04:38 +00:00
schema.ts Parser TS bindings (#7881) 2023-10-11 13:04:38 +00:00
serialization.ts [GUI2] Render widget arguments (#8339) 2023-11-22 14:43:58 +00:00
util.ts line:col positions in parser (#8203) 2023-11-08 16:53:39 +00:00