Re: [twdev] Re: [TW5] [TW-jsoneditor] Json Editor for Tiddlywiki Open Beta v0.0.5

2019-04-09 Thread TonyM
joshua

This is starting to sound revolutionary. I have being playing with a version 
and am quite impressed. 

Once I start to grasp the details a bit more I can help with user support and 
writting some detailed user documentation however if we could wrap it up with a 
turn key solution or two I think it may get a lot of adoption. Some effort to 
maintain tiddlywiki style doco and language would also help.

Amazing work thankyou
tony

-- 
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/bbad7e86-1f33-4672-8c1f-ac21bd6ce546%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [twdev] Re: [TW5] [TW-jsoneditor] Json Editor for Tiddlywiki Open Beta v0.0.5

2019-04-08 Thread Joshua Fontany
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.


Re: [twdev] Re: [TW5] [TW-jsoneditor] Json Editor for Tiddlywiki Open Beta v0.0.5

2019-04-02 Thread Joshua Fontany
Thanks Josiah (@TiddlyTweeter)!

Be sure to explore the Advanced Examples. The key things I improved upon
from btheado's version is that the widget now has different modes (edit,
view, design, & preview), and there is some smart state-handling (currently
just detects which collapse buttons have been closed and then if the
view/edit mode toggles), and various other bugfixes and workflow helpers.

The key thing is to follow the procedure outlined in the Advanced Examples
_if_ you have a json object to start with. If not, just spawn a $jsoneditor
in design mode, point it to a storage tiddler, and design the form (which
then builds/creates the data object). Starting from scratch can lead to
'options paralysis' tho, which is why I gave some concrete examples of
starting with a simple form/schema of a simple object, and then adding onto
it and using it in more complex cases.

@DavidNebaur - , looks like IE11 not supporting the assign() function
is quite a problem. Still researching it.

Best,
Joshua Fontany

On Tue, Apr 2, 2019 at 3:46 PM @TiddlyTweeter 
wrote:

> Ciao Joshua
>
> Brilliant piece of work!
>
> It works well and looks good too.
>
> I have in mind to maybe use it for a food nutrition database. That will
> take me time---but this looks like it will do the job properly.
>
> Best wishes
> Josiah
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWikiDev" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywikidev/xa9PunBvrbE/unsubscribe.
> To unsubscribe from this group and all its topics, 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/13e8158b-dd4e-42fe-a6a5-44c112a11f98%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAM1fME5wnmpamUoHZcGhFOyOfrRsZrv_GvGMVyWbVr4yd2dycA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[twdev] Re: [TW5] [TW-jsoneditor] Json Editor for Tiddlywiki Open Beta v0.0.5

2019-04-02 Thread @TiddlyTweeter
Ciao Joshua

Brilliant piece of work! 

It works well and looks good too.

I have in mind to maybe use it for a food nutrition database. That will 
take me time---but this looks like it will do the job properly.

Best wishes
Josiah

-- 
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/13e8158b-dd4e-42fe-a6a5-44c112a11f98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.