Hey Mat,

I must admit, I did have to read up on how shadow tiddlers are actually treated within TW, but here is my take on your statements:

- Shadow tiddlers exist separately from normal tiddlers and are therefore effectively marked as "originating from a plugin"

- When you click on a title in a plugins content list, what you see as the tiddler that pops up, is TW internally redirecting to the separate shadow tiddler store to determine the contents of the shadow tiddler.

- When the shadow tiddler is closed, TW removes it from the story list... nothing special here

- There is no create/delete mechanism in place when you view shadow tiddlers

- The important distinction is that the internal shadow tiddler store is read-only, meaning, if you edit and save a shadow tiddler (even without modifications), TW saves to the regular tiddler store, thus turning the tiddler into a "normal" tiddler, since now TW will no longer redirect to the shadow tiddler store behind the scenes.


I hope this was actually more helpful than it was confusing, feel free to ask away if any more questions about this arise.
/Andreas

Am 31.05.2017 um 19:10 schrieb Mat:
Someone, please correct the following statements:

Shadow tiddlers don't really exist as individual tiddlers but are *only *present in the plugin (in JSON format).

When you click on a title in a plugins content list, what you see as the single tiddler is*created at that moment*.

When the single shadow tiddler is closed, it is *deleted*.

There is some *special mechanism* that prevents the TW from getting *dirty *from this create/delete (i.e open/close) as long as no editing is involved.

If the shadow tid is edited, it works as an overwrite because there is some TW mechanism that, as part of loading a plugin,*runs through the shadow titles list and compares it* to existing tiddler titles to see if there is an overwrite to use instead of the shadow.

Thank you!

<:-)


--
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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 https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/02846558-6419-0f76-8226-41ce7e70c1ab%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to