Folks,
I note that when you use an index to add a key/value to a data tiddler, that the first time you do this it sets the type=application/json
on the data tiddler. To me this makes a lot of sense, well at least the first time if the type field is empty, as it is by default.
With further use I have discovered this is actually done every time you add an item via an index, even if the tiddler has a different type, it is simply overridden by application/json.
This to me is too opinionated. If I set the destination tiddler to another type I would like it to remain so, or at least if I could say what type that data tiddler is (would require more changes).
I do not know where this would be occurring perhaps within the actionsetfield widget and perhaps elsewhere when ever the index parameter is available.
- I would like this process not to be so opinionated and leave the type field alone if it already has a value.
- This I believe requires a core change, and should be backward compatible?
- If potentially not backward compatible provide, a way to stop this behaviour when using the index parameter.
Why?
- Even if I use an index to populate the text field of a tiddler, if that tiddler is of
type=text/vnd.tiddlywiki
or blank it is wikifield. If such entries contain a link to a tiddler title eg[[this title]]
or[[oneword]]
title, this title is now listed as a missing tiddler, and all titles in that data tiddler can be listed with{{{ [[data-tiddler-title]links[]] }}}
.