-
6db3dc65fa
Merge branch 'dark_mode'
main
Tom Alexander
2024-01-28 19:11:18 -05:00
-
-
43d65b4fe3
Disable spellcheck to remove red squiggles.
Tom Alexander
2024-01-28 19:11:07 -05:00
-
ff3618b67d
Add dark mode support for the editor.
Tom Alexander
2024-01-28 19:09:41 -05:00
-
8c2c48a719
Add dark mode support for the AST tree.
Tom Alexander
2024-01-28 19:00:46 -05:00
-
-
43de54039b
Move the shadow to the left.
Tom Alexander
2024-01-28 18:31:33 -05:00
-
acaf757ce3
Merge branch 'isolate_editor'
Tom Alexander
2024-01-28 18:24:24 -05:00
-
-
1cc5dd7911
Move flexbox handling up to the explorer component.
Tom Alexander
2024-01-28 18:21:38 -05:00
-
083b0aa376
Move explorer styles into local styles.
Tom Alexander
2024-01-28 18:20:22 -05:00
-
d158fafd77
Move the highlightable textarea into its own component.
Tom Alexander
2024-01-28 17:34:38 -05:00
-
33ed9c4f56
Add types to Explorer props.
Tom Alexander
2024-01-28 17:32:27 -05:00
-
a11201363e
Rename Editor to Explorer.
Tom Alexander
2024-01-28 17:28:43 -05:00
-
-
3b3ef70d3b
Put a headline in the starting text.
Tom Alexander
2024-01-28 14:39:25 -05:00
-
6129bdad3e
Remove highlight when deselecting node despite hover status.
Tom Alexander
2024-01-28 02:04:00 -05:00
-
f89e62b9e1
Allow de-selecting of nodes.
Tom Alexander
2024-01-28 01:11:21 -05:00
-
5d31d50863
Fix cursor for ast node bar.
Tom Alexander
2024-01-28 01:06:41 -05:00
-
c2850fa879
Make sure the text box starts out in sync.
Tom Alexander
2024-01-28 00:39:01 -05:00
-
d5020d3f24
Add a production release build.
Tom Alexander
2024-01-27 23:18:42 -05:00
-
e881102ade
Rename from organic wasm demo to organic ast explorer.
Tom Alexander
2024-01-27 22:55:16 -05:00
-
536e364364
Delete old code.
Tom Alexander
2024-01-27 22:51:10 -05:00
-
f60725b341
Use monospace font for source.
Tom Alexander
2024-01-27 22:15:31 -05:00
-
d73f344dd0
Compact form for plain text nodes.
Tom Alexander
2024-01-27 22:04:22 -05:00
-
04b79631d7
Get rid of flexbox.
Tom Alexander
2024-01-27 21:49:17 -05:00
-
8f360fda4b
Show the portion of the original source for the AST node in the AST tree.
Tom Alexander
2024-01-27 21:46:44 -05:00
-
bb15dbcbaf
Add support for optional pairs.
Tom Alexander
2024-01-27 20:49:43 -05:00
-
49905f1273
Lock the scroll of the div and textarea to keep the highlighting accurate.
Tom Alexander
2024-01-27 20:16:33 -05:00
-
cc48040f11
Only re-parse the ast when value changes.
Tom Alexander
2024-01-27 19:31:29 -05:00
-
8627181480
Fix creation of shadow div.
Tom Alexander
2024-01-27 19:22:31 -05:00
-
5feac8e4d7
Fix a missing key.
Tom Alexander
2024-01-27 18:57:01 -05:00
-
0e02e09018
Add support for highlighting when hovering over a node.
Tom Alexander
2024-01-27 18:39:54 -05:00
-
e89be0feff
Render object trees.
Tom Alexander
2024-01-27 18:12:51 -05:00
-
3f0ac05513
Moving the rendering of property values out to their own component.
Tom Alexander
2024-01-27 17:19:37 -05:00
-
f435e73ec1
Remove noop entries.
Tom Alexander
2024-01-27 17:07:17 -05:00
-
c03bf7458f
Fix line breaks in property list keys.
Tom Alexander
2024-01-27 17:01:09 -05:00
-
1507050128
Switch to using tables for properties.
Tom Alexander
2024-01-27 16:38:34 -05:00
-
b8eacd9c79
Clear highlights when changing the text.
Tom Alexander
2024-01-27 15:29:37 -05:00
-
1c8f84ab4c
Very basic org properties rendering.
Tom Alexander
2024-01-27 15:27:23 -05:00
-
c397688a4a
Pass uid down from parent.
Tom Alexander
2024-01-27 15:01:37 -05:00
-
aac0ebe619
Move parsing up into the Editor.
Tom Alexander
2024-01-27 14:56:12 -05:00
-
3fa5ba1546
Update to using createRoot.
Tom Alexander
2024-01-27 14:30:15 -05:00
-
8be7f3c290
Switch to using unique id for node selection.
Tom Alexander
2024-01-27 14:24:32 -05:00
-
6e791d119a
Setting highlight based on clicks.
Tom Alexander
2024-01-27 14:04:44 -05:00
-
41d4129cce
Improve the starting text for the editor.
Tom Alexander
2024-01-27 13:06:05 -05:00
-
87406ee0fd
Render the children.
Tom Alexander
2024-01-23 23:07:26 -05:00
-
6ede136e61
Show the standard properties.
Tom Alexander
2024-01-23 22:27:31 -05:00
-
d1ce90ac42
Format the code.
Tom Alexander
2024-01-23 22:06:47 -05:00
-
4847ec07d8
Render if the node has children.
Tom Alexander
2024-01-23 22:05:07 -05:00
-
6901541fe4
Start rendering the Org Ast.
Tom Alexander
2024-01-23 21:27:12 -05:00
-
c419a41998
Fix text alignment with shadow.
Tom Alexander
2024-01-22 22:52:00 -05:00
-
ba2c646a6a
Remove style from textarea.
Tom Alexander
2024-01-22 22:39:37 -05:00
-
bbf8ab0966
Highlighting text.
Tom Alexander
2024-01-22 21:59:59 -05:00
-
7390132d02
Add CSS reset sheet.
Tom Alexander
2024-01-22 20:01:30 -05:00
-
f777e4a856
Add an App component.
Tom Alexander
2024-01-22 19:41:07 -05:00
-
0d0a99c73b
Run format.
Tom Alexander
2024-01-21 21:11:38 -05:00
-
8c3dd2cee3
Add prettier.
Tom Alexander
2024-01-21 21:01:42 -05:00
-
c1a58bbbf3
Add CSS to the build system.
Tom Alexander
2024-01-21 20:55:09 -05:00
-
c644845d61
Integrate the editor from the old attempt into the new build.
Tom Alexander
2024-01-21 19:46:23 -05:00
-
323019136c
Merge remote-tracking branch 'old/main'
Tom Alexander
2024-01-21 18:53:51 -05:00
-
-
7a5784fd66
Prepare for merging.
Tom Alexander
2024-01-21 18:52:40 -05:00
-
ff62983ac0
Add organic wasm module.
Tom Alexander
2024-01-21 18:30:20 -05:00
-
b232c8d7da
React hello world.
Tom Alexander
2024-01-21 17:54:00 -05:00
-
3c19a105b1
Add initial package.json.
Tom Alexander
2024-01-21 17:26:02 -05:00
-
5b9b3d1195
Initial commit.
Tom Alexander
2024-01-21 17:22:54 -05:00
-
-
89b8b18fea
Add functions to add and clear highlights.
Tom Alexander
2024-01-21 15:51:40 -05:00
-
66bfc2da25
Make the font transparent in the underlay.
Tom Alexander
2024-01-12 23:15:52 -05:00
-
e6f16c854c
Duplicate the input text in the underlay div.
Tom Alexander
2024-01-12 23:15:06 -05:00
-
b52ee91745
Switch from an overlay to an underlay so the highlight colors do not impact the text.
Tom Alexander
2024-01-12 22:39:00 -05:00
-
949e02af2f
Add an overlay that is invisible.
Tom Alexander
2024-01-12 22:30:55 -05:00
-
636f2dabb8
Wrap the textarea.
Tom Alexander
2024-01-12 22:16:31 -05:00
-
a1b1e9e5c5
Add a pane to render the AST.
Tom Alexander
2024-01-12 22:07:59 -05:00
-
b6f74c9a6e
Add a textarea.
Tom Alexander
2024-01-12 21:42:12 -05:00
-
8fa6eecae0
Initialize project using Create React App
Tom Alexander
2024-01-12 20:19:47 -05:00