Commit Graph

20 Commits

Author SHA1 Message Date
Tom Alexander
d73f344dd0 Compact form for plain text nodes. 2024-01-27 22:04:22 -05:00
Tom Alexander
8f360fda4b Show the portion of the original source for the AST node in the AST tree. 2024-01-27 21:46:44 -05:00
Tom Alexander
bb15dbcbaf Add support for optional pairs. 2024-01-27 20:49:43 -05:00
Tom Alexander
0e02e09018 Add support for highlighting when hovering over a node. 2024-01-27 18:52:18 -05:00
Tom Alexander
e89be0feff Render object trees. 2024-01-27 18:12:51 -05:00
Tom Alexander
3f0ac05513 Moving the rendering of property values out to their own component.
There is going to be a bunch of logic associated with it to detect what type the value is, so I am moving it out to its own component.
2024-01-27 17:19:37 -05:00
Tom Alexander
f435e73ec1 Remove noop entries.
The noop entries are not actually implemented in organic so it wouldn't make sense for them to be rendered in the UI.
2024-01-27 17:07:17 -05:00
Tom Alexander
c03bf7458f Fix line breaks in property list keys. 2024-01-27 17:01:09 -05:00
Tom Alexander
1507050128 Switch to using tables for properties. 2024-01-27 16:38:34 -05:00
Tom Alexander
1c8f84ab4c Very basic org properties rendering. 2024-01-27 15:27:23 -05:00
Tom Alexander
c397688a4a Pass uid down from parent.
This fixes an issue where lists of nodes did not have the key attribute.
2024-01-27 15:01:37 -05:00
Tom Alexander
aac0ebe619 Move parsing up into the Editor. 2024-01-27 14:56:12 -05:00
Tom Alexander
3fa5ba1546 Update to using createRoot. 2024-01-27 14:38:34 -05:00
Tom Alexander
8be7f3c290 Switch to using unique id for node selection.
This lets us pass the selected node down from the top instead of propagating calls to set/clear the selected boolean in each node.
2024-01-27 14:27:23 -05:00
Tom Alexander
6e791d119a Setting highlight based on clicks. 2024-01-27 14:27:22 -05:00
Tom Alexander
87406ee0fd Render the children. 2024-01-23 23:08:20 -05:00
Tom Alexander
6ede136e61 Show the standard properties. 2024-01-23 22:27:31 -05:00
Tom Alexander
d1ce90ac42 Format the code. 2024-01-23 22:06:47 -05:00
Tom Alexander
4847ec07d8 Render if the node has children. 2024-01-23 22:06:22 -05:00
Tom Alexander
6901541fe4 Start rendering the Org Ast. 2024-01-23 21:44:49 -05:00