Jeremy,

On Thu, Feb 7, 2019 at 5:56 PM Jeremy Ruston <[email protected]>
wrote:
[...]

> I plan to improve it a bit further, in particular I want to get it working
> well in the client server configuration so that local storage can be used
> as a temporary holding area in case the connection to the server is lost.
>

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.

I ask the question because of this workflow I thought of:

   1. file:/// wiki with this plugin enabled
   2. The plugin automatically saves changes to localstorage as they are
   made
   3. Every once in a while (several times per day), the user clicks the
   save button which downloads a backup of the full wiki
   4. Less frequently, at the OS level, the user copies the latest
   downloaded version over top file:/// they started with and refreshes browser
   5. 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.

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].
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/CAO5X8Cwu6TVD47BunWE9sY9wbf7t_s%2B2FmOtOqOjbrKoJ9wtyg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to