Open barrybecker4 opened 5 years ago
Might consider making the editor in js using Vue. See https://medium.com/vuetify/building-a-treeview-component-part-i-93d19733682f Probably it would be better to store the data in JSON instead of XML.
Perhaps the existing Scala-based Adventure editor can be used for these xml files. The structure of the xml data file is a little different. Adventure is a graph where children are listed explicitly for each node. For the aikido xml, children are implicit according to the hierarchical nesting. But it seems like the Adventure editor could be easily adapted to read and write the aikido style xml files.
Right now it's complicated to add more techniques and corresponding images. What would really help is a rich editor that would show the technique hierarchy in collapsible folders and allow editing any row by changing any of the fields or adding images. It should also be possible to add rows with are references to other branches of the tree (so that nothing is repeated). Changing a node in a reference branch would change it everywhere. The references would just be pointers to the original.
When mousing over a row, you should see all the images from the parent to that node. You should be able to right click on a row and choose to
The editor: