From 52cf0dad827b67520d31b6305ab1a34d2ec198e6 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 30 Sep 2022 15:00:11 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- pwiki2.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pwiki2.js b/pwiki2.js index 5c79404..181f141 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -4,9 +4,13 @@ * XXX ASAP start writing docs in pwiki * - functional editor -- DONE * - WYSIWYG markdown editor/viewer (ASAP) -* - fs store/export in browser or a simple way to export/import... +* - transparent sync +* - fs store/export in browser or a simple way to export/import.. +* - pouchdb-couchdb sync +* - pouchdb-pouchdb sync (p2p via webrtc) * * +* XXX formalize in-page api... * XXX npx http-server ... -- for testing file access... * XXX test puchdb latency at scale in browser... * XXX BUG: for some reason deleting and refreshing takes ~2x as long as @@ -18,9 +22,12 @@ * pwiki.path = '/tree' // reports about ~2sec * await pwiki.get('/Test/Subtree/Page2').delete() // fast * pwiki.path = '/tree' // reports about ~2sec +* XXX test with action... * XXX macros: should we add the pattern path to .depends instead of the * final path... * ...would also need a fast way to pattern match... +* XXX macros / CACHE: convert a /path/* dependency to /path/** if a script +* is recursive... * XXX CACHE strategy and architecture * controlled caching * - cache is a layer of linked data