Hi Sylvain, On Wednesday, June 24, 2015 at 6:41:14 PM UTC+2, Sylvain Naudin wrote: > > I have tested the vis.js Timeline plugin (emkay plugin, reloaded) : > http://kixam.github.io/TW5-visjsTimeline/ >
Thank you for testing! > I've found a little complicate to clearly understand howto create > correctly tiddler and show a timeline. > I know documentation needs to be improved. Can you give me some advice on what is missing, or what should be detailed? > But if I import the 3 plugins on an empty TW file, I've got JavaScript > error like "Error with vis.js Timeline : Not a startDate () on > MySubStoryList.created". > > Do you have some advices or other example to help me ? > On the issue #9 discussion on github, we are discussing a way to change the user experience, should a problem be detected by the plugin. This is actually what you experienced: - I guess you created a blank tiddler, and typed <$visjstimeline/> there - since you did not pass any value to any attribute, the plugin uses defaults. In particular, for the two relevant attributes here: 1. filter has value [!is[system]], which means all tiddlers that are not system tiddlers are selected for insertion into the timeline 2. startDateField has value created, which means all the selected tiddlers must have a field called "created", and the contents of this field will be used as start date on the timeline - unfortunately, in your case, the plugin found your tiddler "MySubStoryList", but when it wanted to insert it into the timeline, found that it did not have a "created" field, or that its contents where not using the specified format - so, the plugin shows a blue popup with this error message, to tell you what went wrong - then, when you discard the popup, the timeline is shown, only not with these tiddlers that generated errors - but, by reading the blue popup, you know what to do to have them shown: in your case, the "created" field is automatically created and set appropriately when you close the tiddler's draft and save your tiddlywiki. If you do that, the timeline should refresh and show your tiddler ! Please tell me if something is not clear -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/305b4077-0bb6-464a-8a59-c48fc3cf0296%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

