Replies: 1 comment 2 replies
-
Hi @linonetwo The tiddlyweb adaptor handles deletions via the syncer module which keeps track of the tiddlers that are known on the server; if it later finds a tiddler that it marked as present on the server but not present on the client, then it will send a deletion request to the server. The code is here: The browser storage plugin uses similar logic in https://github.com/Jermolene/TiddlyWiki5/blob/master/plugins/tiddlywiki/browser-storage/rawmarkup.js |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When fixing tiddly-gittly/tw-mobile-sync#7 , I think I may need to know how other plugins handle async deletion.
If a client is offline, and later online, how will it let tiddlyweb server know there is an deletion? By sending a full tiddlers list to it? (This will be huge, I have 20k tiddlers now).
I think it may just record the recent changes since last sync, and it contains changedTiddlers, which has delete and modify field set to
true
.I need to read the code to learn this. Just record here.
Beta Was this translation helpful? Give feedback.
All reactions