Current progress on v0.0.6:

   - The Lame: The IE11 .assign() polyfill problem is a bit difficult, as 
   IE11 debugging sucks, and I'm not sure where I need to be loading the 
   polyfill to catch the error in time...
   - The Awesome: I was successfully able to setup View-Mode so that any 
   content in the JSON data that has wiki-text syntax is automatically 
   rendered into an appropriate widgetTree and attached as children to the 
   $jsoneditor, while the DOM nodes (rendered HTML) they generate is attached 
   to the appropriate place in the form. This works so well that interactive 
   wiki-text components like Buttons WORK!!!

Kinda pleased with myself on that, as it lets $jsoneditor become a full 
member of the tiddlywiki-ecosystem. This opens up a HUGE design space to 
play around in.

For example, TonyM mentioned that he might need to refactor his "data 
structure" in one of his wikis from tiddler-fields holding data to 
json-tiddler-indexes holding data. This is NOT going to be necessary, as we 
can now:

   - design a JSON object with blank values that represents the structure 
   of each tiddler,
   - then auto-generate a schema from this abstract-data-object,
   - then, tweak the schema with a $jsoneditor in Design-Mode to look as we 
   like (hide labels, etc),
   - then go back and fill in the blank values in our abstract-data-object 
   with actual wikitext that will reference the current tiddler where we will 
   render the editor-UI
   - create a view-template (or edit-template) tiddler (& tagged 
   appropriately) with a $jsoneditor widget pointing to our 
   schema+abstract-data-object UI-definition
   - tag each tiddler we need the UI to render in, where it will 
   automatically pick up the data FROM THE TIDDLER and render it through our 
   new UI
   
At least, that's the theory. Now to get an example implemented. Once I have 
that I will release v0.0.6.

Best,
Joshua Fontany

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/78f2da2a-005d-4bb7-8384-2075e009afb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to