Commit Graph

4990 Commits

Author SHA1 Message Date
Tienson Qin
dd9a32d4de refactor: RTC reuse :db/id for deleted blocks when undo/redo (#12101)
1. reuse old eids for block/uuid when apply-remote-ops

2. enhance: clear undo history when failed to validate db

Also, throw transact error from db worker
3. test(rtc): add timeout for wait-for cloud-idle
4. fix: rtc extra tests
5.  enhance(test): retry new-block once when assert timeout
---------

Co-authored-by: rcmerci <rcmerci@gmail.com>
2025-09-15 22:29:45 +08:00
Tienson Qin
5cf7fed1e0 fix: don't run <rtc-get-users-info when starting rtc 2025-09-15 18:26:46 +08:00
Tienson Qin
0520166e98 fix: quick add blocks should be separated for different users 2025-09-15 11:46:06 +08:00
Tienson Qin
06082b63ac Merge branch 'master' into enhance/rtc-migrate 2025-09-11 17:18:37 +08:00
Tienson Qin
3eab751feb fix: delete an empty block doesn't preserve properties for the next
related to https://github.com/logseq/db-test/issues/470
2025-09-10 22:30:49 +08:00
Tienson Qin
0860d295db fix: notification status somehow takes non-keyword status 2025-09-10 20:13:00 +08:00
Tienson Qin
b2405291cc Merge branch 'master' into enhance/rtc-migrate 2025-09-09 17:48:52 +08:00
rcmerci
78660f9374 enhance: import-debug-transit support db type 2025-09-09 17:14:28 +08:00
Tienson Qin
1849d7a96a fix: show tag's extends when auto-complete or setting extends
fixes https://github.com/logseq/db-test/issues/466
2025-09-09 16:29:19 +08:00
Tienson Qin
f137da94f6 fix: share text or picture doesn't work if the app has been closed 2025-09-09 14:15:52 +08:00
rcmerci
b486bde595 refactor: remove usages of navigator.onLine, window.ononline 2025-09-08 21:44:36 +08:00
Tienson Qin
1a9b5b843c refactor: move fs/pfs to db-worker.js 2025-09-07 12:51:02 +08:00
Tienson Qin
59f75319b8 fix: util/web-platform? is not a function 2025-09-05 13:06:57 +08:00
Tienson Qin
cfbb563bc5 fix: don't show file graphs on both web and mobile 2025-09-05 12:52:47 +08:00
Tienson Qin
43e7eda18d fix(mobile): reload the app if db worker closed 2025-09-03 16:36:39 +08:00
Tienson Qin
5846e0544e fix: deleting current node move its properties to previous block
fixes https://github.com/logseq/db-test/issues/448
2025-08-31 13:18:15 +08:00
Tienson Qin
c00460a97d fix: press on indentation line should work recursively
related to https://github.com/logseq/db-test/issues/423
2025-08-27 19:43:40 +08:00
Tienson Qin
8f1d01daad fix: don't show mod+enter to inline #Page 2025-08-27 10:34:28 +08:00
Gabriel Horner
0722097df1 enhance: export cmd reuses existing namespaces 2025-08-26 11:27:34 -04:00
Tienson Qin
bb1a502806 fix: click on indentation line to unfold nodes not working
related to https://github.com/logseq/db-test/issues/423
2025-08-26 21:04:09 +08:00
Tienson Qin
be2977dd40 fix: t o to toggle open all blocks
related to https://github.com/logseq/db-test/issues/423
2025-08-26 20:31:08 +08:00
Tienson Qin
ce933b3c36 enhance: display humanized coerce errors when downloading rtc graph 2025-08-26 12:54:31 +08:00
rcmerci
56f9426740 fix(rtc): fix apply-ops schema 2025-08-26 10:58:59 +08:00
Tienson Qin
0696a556d9 fix: page refs not saved in quick capture 2025-08-25 20:49:48 +08:00
Tienson Qin
063aec02a7 fix: can't create page with the same name if namespace page exists
fixes https://github.com/logseq/db-test/issues/429
2025-08-25 14:56:05 +08:00
Tienson Qin
77c7412271 fix: references not calculated right
related to https://github.com/logseq/db-test/issues/436#issuecomment-3217902953
2025-08-25 12:49:56 +08:00
Tienson Qin
2b624a4b9b fix: graphs should be grouped by :url instead of :graphUUID
Because we don't store :graphUUID in manifest for remote db graphs
compared to sync file graphs.
2025-08-22 10:02:53 +08:00
rcmerci
c668ba2166 chore(rtc): update log 2025-08-21 00:28:02 +08:00
Tienson Qin
060a0dd86b fix(mobile): don't switch to editing mode when scrolling 2025-08-14 13:50:34 +08:00
Tienson Qin
3faee9cc7e fix: stale embedding check (#12049)
* fix: slow stale embedding check

* fix: mark all blocks for embedding when full embedding

Also, store hnsw index for each batch so that embedding can continue
when aborted by switching graph or closing the app.

* remove embedding/re-embedding-graph-data!

* enhance: mod+c mod+s to rebuild both keyword and semantic search
2025-08-14 13:24:50 +08:00
Tienson Qin
061528d082 fix: slow switch to large graph with local embedding enabled 2025-08-14 13:24:50 +08:00
charlie
5e6e5596aa Merge branch 'master' into enhance/mobile-silk 2025-08-10 10:50:38 +08:00
rcmerci
123d03f293 fix: use transit for :inflateGraphsInfo ipc 2025-08-09 22:25:48 +08:00
Tienson Qin
a4d41f63ef Merge branch 'master' into enhance/mobile-silk 2025-08-05 19:27:16 +08:00
Tienson Qin
d84d3f9652 enhance(ux): set/unset #Page to convert between page and block (#11970)
* enhance(ux): add/remove #Page to toggle page/block

* enhance(ux): "p t" to set tags for selected blocks

Updated "p a" to toggle displaying all properties including hidden ones.

* feat: cmd+k move blocks

* fix: block could be converted to page and create invalid nodes

Pages with block namespace parents is nonsensical and pages in
property values led to multiple validation errors. Also guard
against class and property pages as namespace parents

* fix: warn on failed cut+paste or indent/outdent of page blocks. Better to warn than silent failure which leaves user confused on
what happened. 

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2025-08-05 17:45:57 +08:00
Tienson Qin
c2c8727f6c Merge branch 'master' into feat/hnswlib+transformer-js 2025-08-03 16:40:22 +08:00
charlie
ebc14a51f7 Merge branch 'master' into enhance/mobile-silk 2025-08-02 10:16:14 +08:00
Tienson Qin
de67a46e92 fix: video assets can not play on desktop app
fixed https://github.com/logseq/db-test/issues/398
2025-08-01 02:37:57 +08:00
Tienson Qin
1fe46682e4 Merge branch 'master' into feat/hnswlib+transformer-js 2025-08-01 00:14:28 +08:00
Tienson Qin
8c402676a9 fix: page references with same name in one block (#12017)
* fix: page references with the same name in one block

* fix: empty :block/name for Library pages

* fix: invalid call to uuid-string?

trace suddenly showing up in multiple CLI calls

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2025-08-01 00:09:31 +08:00
Tienson Qin
67a0f7cd8c Merge branch 'master' into feat/hnswlib+transformer-js 2025-07-31 20:08:29 +08:00
Tienson Qin
9ed4cdc34d fix: blocks in Library pages have incorrect page relationship
fixed https://github.com/logseq/db-test/issues/394
2025-07-31 17:53:35 +08:00
Tienson Qin
110f5b18e5 Merge branch 'master' into feat/hnswlib+transformer-js 2025-07-28 12:29:32 +08:00
charlie
957109bcad enhance(mobile): improve scroll for the editing block 2025-07-22 16:48:21 +08:00
Tienson Qin
910c8f448f Use missionary clock for auto embedding 2025-07-21 16:13:17 +08:00
Tienson Qin
f296c1e67d fix: auto embedding stops when switching graph 2025-07-19 15:32:16 +08:00
Tienson Qin
de80615c5f enhance: index embedding for updated blocks every 30s 2025-07-19 14:36:11 +08:00
Tienson Qin
4b0cb79d0d fix: vector search 2025-07-16 04:33:05 +08:00
Gabriel Horner
e0632f0e25 fix: published file graph loading bugs
On startup of a published file graph, error notification displayed:
'read:Error: No protocol method Fs.readdir defined for type null' .
Came from :graph/ready event. Also was throwing console error '`Unknown Repo URL type:`'
2025-07-14 10:42:04 -04:00
rcmerci
dbb20dea4b enhance(rtc): try to restart rtc if stop reason is ws-timeout 2025-07-12 23:09:00 +08:00