Open hexus opened 5 years ago
These were helpful so far
Getting Ace Editor to import was a pain, very antiquated. If only it properly supported ES modules! And brace
was last published in 2018! 😩 Either way, it's working nicely.
Here's where to continue: https://github.com/hexus/pragma/blob/dd90eb121c3ad1297b358cef00ec8b6235f23a7c/src/services/FormProcessor.js#L801-L804
Adding and updating fields in the playground works nicely, but they don't get removed because of this optimisation from a while back. Time to do some proper dictionary diffing in updateDictionary()
.
The main reasons we want to update the dictionary rather than rebuilding from scratch every time:
Looks like all this needed was field diffing and removal to work! 🎉
Things to do before closing:
Build a playground page with a YAML input for form definitions.
Would be fine to look a little like this with the form showing on the right.