Hello,

I was going to post a question in TW-Dev and I just realized that I would 
prefer to have the opinion of the community first.

I have been investigating about couchdb, and I learned a lot thanks to the 
couchdb adaptor. So I decided to create a pochdb adaptor for tiddliwiki.

Basically this means: Having an offline database locally (inside the 
browser) that syncs to an online database whenever you have internet 
connection.

My question is: How the sync state should be notificated? I mean, you lost 
internet connection, then you lost sync to the server, Internet comes back, 
sync starts again.

Possible states are:

   - Connected and synced
   - Connected but syncing 
   - Offline

My first idea was to use the state color of the "save button". Leaving it 
red when you're offline, but this can be confusing, because you will not 
know if the changes have been saved locally. I think the best approach is 
to notify with an alert when you lost sync. I choose alert because they 
last until you remove them, so there is no chance to not be aware of it. 
Then, when connection comes back, that alert can be removed automatically. 
Any other notification just use a notification (toast)

What do you think?

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4ecc7418-c742-424d-a427-1b594440f7be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to