Commit Graph

23218 Commits

Author SHA1 Message Date
Charlie
ffb82f1ccc fix(login): simplify user login handling for native platforms 2026-03-13 20:41:41 +08:00
Gabriel Horner
2e8d7c6303 fix: bump nbb-logseq to include datascript fix 2026-03-12 10:21:54 -04:00
Tienson Qin
fe1e41f571 fix: tests 2026-03-12 20:59:09 +08:00
Gabriel Horner
0ee04cc038 fix: intermittent clj-kondo lint for :private-call
Passes locally but fails on CI
2026-03-12 08:43:06 -04:00
Tienson Qin
ba62af5e38 fix(sync): don't sync upload metadata tx 2026-03-12 20:19:01 +08:00
Tienson Qin
81d1ded924 fix(sync): gate rtc until snapshot upload finishes 2026-03-12 20:00:29 +08:00
Tienson Qin
2fb2c56725 set large graph title size 2026-03-12 18:29:45 +08:00
Tienson Qin
7d3d3922d1 enhance: generate large graphs with random text 2026-03-12 18:01:12 +08:00
Tienson Qin
880d7d2c3f fix(rtc): isolate e2ee import temp pool 2026-03-12 17:51:23 +08:00
Tienson Qin
1b4943350b fix(rtc): reduce e2ee import finalize memory 2026-03-12 17:51:23 +08:00
Tienson Qin
f538491096 chore: reduce test noise and infer warnings 2026-03-12 17:51:23 +08:00
Tienson Qin
ae11f615a5 fix: clear old db when importing datoms for encrypted graphs 2026-03-12 17:51:23 +08:00
Tienson Qin
80b48b7b86 enhance(rtc): improve snapshot import progress 2026-03-12 17:51:23 +08:00
Tienson Qin
98e262d118 fix: reduce memory usage when encrypting large graph 2026-03-12 17:51:23 +08:00
Tienson Qin
d8e7032e78 fix(search): make index build non-blocking 2026-03-12 17:51:23 +08:00
Tienson Qin
c2512fe355 fix: stop workers when hot-reload 2026-03-12 17:51:23 +08:00
Tienson Qin
f6b5a100d6 fix(sync): stream snapshot import batches 2026-03-12 17:51:23 +08:00
Tienson Qin
0007c48003 fix(sync): close failed import setup dbs 2026-03-12 17:51:23 +08:00
Tienson Qin
6c3a94ea04 fix(sync): isolate chunked import sessions 2026-03-12 17:51:23 +08:00
Tienson Qin
59ab42598b fix(sync): invalidate stale search state on rtc import 2026-03-12 17:51:23 +08:00
briansunter
0594088149 fix(sync): use named search-db-version constant for FTS index versioning
Replace pos?/zero? checks with exact version comparison against a
search-db-version constant. Bumping the constant will auto-trigger
rebuilds when the index format changes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 17:51:23 +08:00
briansunter
7679e73b0d fix(sync): chunked import and search rebuild fixes 2026-03-12 17:51:23 +08:00
Charlie
1b0db68098 enhance(ux): align for the image asset block container (#12425)
* feat(asset): add alignment options for images
* enhance(ux): select block for the action of double click in the image asset container
* enhance(asset): change alignment property type from string to keyword and normalize alignment handling
2026-03-12 11:18:51 +08:00
Tienson Qin
b1ceaa1216 enhance: able to generate large graphs with >1M blocks 2026-03-12 10:42:07 +08:00
Tienson Qin
7386eec6db fix(db-sync): server shouldn't delete addrs 2026-03-12 08:28:38 +08:00
Tienson Qin
5d602c9d58 fix(db-sync): drop stale lookup-ref tx datoms 2026-03-12 08:18:52 +08:00
Tienson Qin
6e08f7b187 fix: remote block create split across batches 2026-03-12 08:08:01 +08:00
Gabriel Horner
ae003f1469 fix: clean up template property handling
When new built-in properties are supported in exporter, all-built-in-names
and file-built-in-property-names should be updated. No need
to handle block/properties-order and block/properties-text-values
as those are ignored
2026-03-11 15:44:12 -04:00
Gabriel Horner
fdf1a8f8cc fix: imported Template blocks
Template blocks were being copied instead of updated in place. Would
feel buggy to user as Template blocks would show up twice in search and
would not be where they had defined them
2026-03-11 15:44:12 -04:00
Mega Yu
df5fb72ed9 fix lint Shadowed var 2026-03-11 15:44:12 -04:00
Mega Yu
371b1d5301 feat(exporter): support template import 2026-03-11 15:44:12 -04:00
Mega Yu
5bc154aacb chore: update test helpers in config for async tests 2026-03-11 15:44:12 -04:00
Mega Yu
935673a860 update path handling in exporter tests to make it compatible with Windows path 2026-03-11 15:44:12 -04:00
Gabriel Horner
5f7885dff5 fix: outdated docs and misc cleanup
Also added the new option to the import CLI,
improved tests that only test one file to only import 1 file
and cleaned up some hard to read code
2026-03-11 15:44:12 -04:00
Mega Yu
7522a87939 skip heavier parsing if code fences in the title
add split-title-by-code-fences test
2026-03-11 15:44:12 -04:00
Mega Yu
304bc7c9af add trim to the lang in the code snippet 2026-03-11 15:44:12 -04:00
megayu
d8b85171e9 add guard against missing/blank args of cards macro
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-11 15:44:12 -04:00
Mega Yu
ecad45531d feat: add support for Template, Math blocks and Cards in exporter 2026-03-11 15:44:12 -04:00
Mega Yu
309070fda0 fix typo 2026-03-11 15:44:12 -04:00
Mega Yu
e2f98a1507 standalone code blocks and tag them in-place during exporting 2026-03-11 15:44:12 -04:00
Mega Yu
1c351aebff feat: add code snippet extraction functionality in exporter and UI options 2026-03-11 15:44:12 -04:00
Tienson Qin
c1a9bee798 fix: undo should skip conflicted move instead of clearing stack 2026-03-11 17:36:21 +08:00
Tienson Qin
83a716f907 chore: bump datascript 2026-03-11 14:49:12 +08:00
Tienson Qin
7c5146afcd fix(sync): improve undo/redo merge reliability 2026-03-06 00:05:45 +08:00
Tienson Qin
e7e731310f Revert "fix(sync): simplify remote tx + undo/redo reliability logic"
This reverts commit 4c307da6d6.
2026-03-06 00:03:59 +08:00
Tienson Qin
4c307da6d6 fix(sync): simplify remote tx + undo/redo reliability logic 2026-03-05 23:09:00 +08:00
Tienson Qin
722871c2c0 add undo redo sim tests 2026-03-05 18:48:41 +08:00
Tienson Qin
a092470392 enhance: copy as/export add open blocks only 2026-03-05 18:23:42 +08:00
Tienson Qin
7d85525373 add classes and properties to simulation tests 2026-03-05 18:07:10 +08:00
Tienson Qin
2faa65a45e sim tests full coverage for outliner ops 2026-03-05 17:51:52 +08:00