First of all, despite the topic title sounding “threatening”, this is not a bug report. I’d just like to read other points of view about the problem described below.
Bundler plugin designs tiddler bundles as regular tiddlers. I think it is fine if an user wants to export a bundle tiddler as JSON. For a foo.bundle
tiddler, a foo.bundle.json
file will be created (Android, Tiddloid). Notice that this exports the tiddler itself - the bundle “template” as in the explicit list of other tiddler titles belonging to the bundle, or a filter expression if it’s a filtered bundle.
If trying to export the bundle from the Bundles
tab, by clicking the button before the bundle name, again, a file named foo.bundle.json
is created. Except this time the actual content of the tiddlers included in the bundle is written to the file.
I ran the two tests above separately, I exported to a directory that contained no foo.bundle.json
file, and I ended with two files having the same name (which was suggested to me, I accepted the default), yet having different content. This feels somehow “wrong”, I don’t know if I should say “technically wrong” or “aesthetically wrong” here.
I think it is fair if a tiddler named foo.bundle
will get exported (as a tiddler, regardless of context!) to a file named foo.bundle.json
, because that’s how TiddlyWiki works. But I wonder if another file name should be suggested by the Bundler plugin, when a bundle gets exported (see second test above).