Hi Brian

> Will it also handle the case of deleting a tiddler (one which originated from 
> the server and isn't in localstorage) while disconnected? I would think you 
> would need some sort of "whiteout" tiddler in localstorage in order to handle 
> that case.

That is listed in the readme as a problem with the current code, and indeed the 
solution is to keep a delete marker in local storage.

> I ask the question because of this workflow I thought of:
> file:/// wiki with this plugin enabled
> The plugin automatically saves changes to localstorage as they are made
> Every once in a while (several times per day), the user clicks the save 
> button which downloads a backup of the full wiki
> Less frequently, at the OS level, the user copies the latest downloaded 
> version over top file:/// they started with and refreshes browser
> This refresh will cause the localstorage items to be deleted, starting over 
> fresh
> But there will be cases with this workflow and your current implementation 
> where deleted tiddlers would reappear after refresh.  Deletes of any tiddler 
> which exists in the wiki after step 4 would persist only until the next 
> refresh.

That is indeed exactly the intended workflow.

Best wishes

Jeremy

> 
> Brian
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/tiddlywiki 
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/CAO5X8Cwu6TVD47BunWE9sY9wbf7t_s%2B2FmOtOqOjbrKoJ9wtyg%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/CAO5X8Cwu6TVD47BunWE9sY9wbf7t_s%2B2FmOtOqOjbrKoJ9wtyg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" 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/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3CB84210-3C76-4E88-A514-8E0189801630%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to