Yes very useful documentation @pmario.
I have already started by writing a difference checker between two different tiddler names, by simply comparing each field in both tiddlers with exceptions.
- Your documentation will help me apply this to shadow/tiddler pairs.
- Later I would like to apply it to tiddlers inside a JSON (not just a plugin), more than one JSON format.
I am trying to build one that
- Returns true/false in the comparison
- I come across edited shadow tiddlers that in fact have no differences, if I knew this I could delete the tiddler.
- I have one wiki where hundreds have this state due to an upgrade mistake
- Another a count of fields changed/added/removed. I am not bothering with the differences within a changed field just the fact it is different.
- Writing a JS macro that leverages $:/core/modules/utils/diff-match-patch/diff_match_patch.js would be smarter.
- but I am not that smart
(yet)
- but I am not that smart
- It would be useful to show such tools against plugins and the import process
- Just imagine being told what field(s) have changed, or not, rather than having to go looking.
Anyone else know of “prior art” with this.