Re: [tw5] plugin Generator (single file wikis) RFC

2020-01-15 Thread TonyM
Mario, Thanks for sharing "the principle of least surprise " great stuff. To be clear, since the temp and state tiddlers are automatically "

Re: [tw5] plugin Generator (single file wikis) RFC

2020-01-15 Thread PMario
Hi I do have a similar issue with the upcoming "stories" extensions. Stories can be saved and imported. .. I think it should be possible, to import _and_ activate them, in 1 go, if the user enables importing of $:/StoryList I'm OK if the default import mechanism disables everything, that can cr

Re: [tw5] plugin Generator (single file wikis) RFC

2020-01-15 Thread PMario
On Wednesday, January 15, 2020 at 6:15:59 AM UTC+1, TonyM wrote: ... > The check boxes are not honored so perhaps its a bug? > At the moment it's "by design" or by code, if you have a look at the links. see: tiddlers[title] = Object.create(null); which deletes them. > [prefix[$:/state]] [pre

Re: [tw5] plugin Generator (single file wikis) RFC

2020-01-14 Thread TonyM
I agree Mario; Especially when there is a check box you can tick in front of temp and state tiddlers if there are such tiddlers in the import. The check boxes are not honored so perhaps its a bug? [prefix[$:/state]] [prefix[$:/temp]] can export them and they are listed on import, but checking

Re: [tw5] plugin Generator (single file wikis) RFC

2020-01-14 Thread PMario
On Tuesday, January 14, 2020 at 7:17:14 PM UTC+1, Jeremy Ruston wrote: > On 14 Jan 2020, at 18:14, PMario > wrote: > > The problem with the existing import process is relatively deeply berried > in the core. If the import mechanism "deactivates" a tiddler its content is > physically deleted. So

Re: [tw5] plugin Generator (single file wikis) RFC

2020-01-14 Thread Jeremy Ruston
Hi Mario > On 14 Jan 2020, at 18:14, PMario wrote: > > The problem with the existing import process is relatively deeply berried in > the core. If the import mechanism "deactivates" a tiddler its content is > physically deleted. So if you re-enable the checkbox _nothing_ happens. .. > That's

[tw5] plugin Generator (single file wikis) RFC

2020-01-12 Thread TonyM
Folks, Request for Comment from plugin builders. I am building a generator to create all related tiddlers when building a plugin. I am doing this because I will be migrating dozens of macro solutions to plugins. This post is seeking input, the result will be shared. The basic functionality is