From 52cf0dad827b67520d31b6305ab1a34d2ec198e6 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 30 Sep 2022 15:00:11 +0300 Subject: [PATCH 1/3] 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 From 15bb75220ea16307ac3dc2f2aab2da2561afb638 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 30 Sep 2022 21:04:10 +0300 Subject: [PATCH 2/3] notes... Signed-off-by: Alex A. Naanou --- pwiki2.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pwiki2.js b/pwiki2.js index 181f141..dd9ca63 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -8,6 +8,8 @@ * - fs store/export in browser or a simple way to export/import.. * - pouchdb-couchdb sync * - pouchdb-pouchdb sync (p2p via webrtc) +* - tags/search +* - images * * * XXX formalize in-page api... From dcf8fbcfa5486a7e066ad9a2c23cf44763b25feb Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 1 Oct 2022 23:45:24 +0300 Subject: [PATCH 3/3] notes... Signed-off-by: Alex A. Naanou --- pwiki2.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pwiki2.js b/pwiki2.js index dd9ca63..7dd3585 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -14,7 +14,7 @@ * * XXX formalize in-page api... * XXX npx http-server ... -- for testing file access... -* XXX test puchdb latency at scale in browser... +* XXX test pouchdb latency at scale in browser... * XXX BUG: for some reason deleting and refreshing takes ~2x as long as * refreshing... * to reproduce: @@ -25,8 +25,7 @@ * 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... +* XXX macros: should we keep normal paths in .depends if a matching pattern is present? * ...would also need a fast way to pattern match... * XXX macros / CACHE: convert a /path/* dependency to /path/** if a script * is recursive...