Hi Charlie,

On Tuesday, August 17, 2021 at 8:18:27 PM UTC+2 [email protected] wrote:

> Say I have a TiddlyWiki running on node.js, and two people currently 
> viewing the same TiddlyWiki in their browsers.
>
> Say User 1 is editing a tiddler.  I'm thinking it would be cool if  User 2 
> could know that User 1 is editing the tiddler (or that anybody is editing 
> the tiddler.)
>

I think most of the basics for this are in place and just needs some 
cobbling together.

Note that the nodejs server does synchronize tiddlers from client to 
server,  and from server to client. I believe the default refresh interval 
to get new changes from the server is about a minute if my memory serves me 
well.

 If User 1 is editing a tiddler, that creates a Draft tiddler that will get 
sync'ed to User 2's wiki. This would appear as a red draft indicator at the 
bottom of the screen, though it could easily be used to display a message 
on the tiddler in question as well.
 

> And/or, it would be cool if User 2 can get a notification that a 
> particular tiddler has changed (because of User 1's editing), and that User 
> 2 should refresh the browser to get that change if he/she wants it.
>

The new tiddler should automatically get sync'ed from the server to User 
2's wiki without need for a reload.

Note that there is work underway on making the server to client sync 
instantaneous:
- https://github.com/Jermolene/TiddlyWiki5/pull/5279
- https://github.com/Jermolene/TiddlyWiki5/pull/5882

Also, Joshua is doing some interesting work on implementing a real time 
multi-user feature.

Regards,
Saq

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ab3e600a-9b85-444f-b900-79c7e5ed8c8cn%40googlegroups.com.

Reply via email to