Commit Graph

23350 Commits

Author SHA1 Message Date
Tienson Qin
7b746adbcb fix(db-sync): rebind redo history tx-id for undo replay 2026-03-24 13:11:08 +08:00
Tienson Qin
e6a3c6a6e2 fix: indentation lost when redo insert blocks 2026-03-23 23:41:23 +08:00
Tienson Qin
53953bfa16 add apply-template op 2026-03-23 23:30:16 +08:00
Tienson Qin
5ea2f0ea44 fix: ensure template blocks fully loaded 2026-03-23 21:52:49 +08:00
Tienson Qin
37cf9b7a8a fix: preserve template block tree on redo 2026-03-23 21:08:49 +08:00
Tienson Qin
abd818aae5 fix: restore recycled page on create-page redo 2026-03-23 20:52:11 +08:00
Tienson Qin
3100525f1e add :restore-recycled handler 2026-03-23 20:40:07 +08:00
Tienson Qin
95f2829af3 enhance: delete today page removes page blocks 2026-03-23 20:18:59 +08:00
Tienson Qin
34b624d53b fix: allow non-semantic outliner-op history metadata 2026-03-23 20:14:47 +08:00
Tienson Qin
7223cf2a50 no need to clear redo stack when there's local edit 2026-03-23 19:04:26 +08:00
Tienson Qin
10553544be fix: simplify save-block replay for redo 2026-03-23 18:45:37 +08:00
Tienson Qin
5654d7b4cb fix: normalize entity id when replay 2026-03-23 18:09:22 +08:00
Tienson Qin
bfa64bd922 fix: lint 2026-03-23 18:01:30 +08:00
Tienson Qin
ae3c9092d2 fix: redo tag doesn't work 2026-03-23 17:52:17 +08:00
Tienson Qin
921befd328 fix(sync): robust undo semantic ops for move/property text 2026-03-23 17:45:03 +08:00
Tienson Qin
044c9a8c49 add fallback target for move 2026-03-23 17:15:00 +08:00
Tienson Qin
931fd57510 fix: batch rebase pending ops 2026-03-23 16:50:27 +08:00
Tienson Qin
99a378164e cache pending ops count 2026-03-23 15:46:04 +08:00
Tienson Qin
0cc6f17659 fix: reverse ops for direct outdent and move blocks 2026-03-23 13:13:51 +08:00
Tienson Qin
ad2a36687a refactor: move ops construct to deps/outliner 2026-03-23 10:26:38 +08:00
Tienson Qin
30919b91d0 refactor undo-redo ownership to worker and align db-sync history ops 2026-03-22 13:57:10 +08:00
Tienson Qin
23dbfad3c4 fix(undo-redo): treat missing worker action as bug and harden sync replay 2026-03-21 19:52:13 +08:00
Tienson Qin
f7a7391196 enhance(sync): align db-sync/undo tests and lint 2026-03-21 18:46:35 +08:00
Tienson Qin
8539db5015 test(undo-redo): align ADR 0013 test ownership 2026-03-21 17:35:08 +08:00
Tienson Qin
5d713931a2 fix: undo redo ops 2026-03-21 16:09:42 +08:00
Tienson Qin
fe97e890d6 add undo debug sidebar 2026-03-21 15:00:11 +08:00
Tienson Qin
f928d895f7 enhance(sync): persist semantic undo history actions 2026-03-21 13:20:51 +08:00
Tienson Qin
905e131770 fix: no need to fix parent cycle for blocks 2026-03-20 23:41:04 +08:00
Tienson Qin
f17e52c42f fix(db): restore full conn state in batch transact 2026-03-20 21:48:34 +08:00
Tienson Qin
2b707c1199 refactor: sync based on semantic ops 2026-03-20 20:40:38 +08:00
Tienson Qin
9e9c27af29 fix: stable property value ref id 2026-03-19 20:52:23 +08:00
Tienson Qin
d7a25ed729 refactor: outliner calls should generate :outliner-ops too 2026-03-19 19:34:14 +08:00
Tienson Qin
53b0580cdd refactor: no need to register page outliner ops 2026-03-19 18:36:27 +08:00
Tienson Qin
f076804b41 enhance(sync): persist outliner ops for rebase 2026-03-19 18:28:19 +08:00
Tienson Qin
eaa0d6ff96 fix: re-ordered tx data by replace-attr-retract-with-retract-entity 2026-03-18 16:42:21 +08:00
Tienson Qin
a928a29208 fix: remove new-graph-helper retry for rtc tests 2026-03-18 15:13:56 +08:00
Tienson Qin
8d080cd4fa fix: lint 2026-03-18 07:48:01 +08:00
Tienson Qin
e7bcdb0bcc fix: batch tx should separate schema ops from data ops 2026-03-18 07:43:23 +08:00
Tienson Qin
35206ab1f4 ignore recycle apis 2026-03-18 06:35:28 +08:00
Tienson Qin
ad3cc18a63 fix: lint 2026-03-18 06:31:47 +08:00
Tienson Qin
e122073693 fix: lint 2026-03-18 06:23:22 +08:00
Tienson Qin
9218c16a1d fix: e2e tests 2026-03-18 06:11:04 +08:00
Tienson Qin
2801276ce1 fix(sync): handle recreated lookup refs 2026-03-18 06:11:04 +08:00
Tienson Qin
e3e54eba3f tag/property/closed value should be hard retracted 2026-03-18 06:11:04 +08:00
Tienson Qin
1f30693851 fix: tests 2026-03-18 06:11:04 +08:00
Tienson Qin
6ca2cc4312 fix(sync): disable checksum for encrypted graphs 2026-03-18 06:11:04 +08:00
Tienson Qin
16f775c9ad refactor: separate sync into modules 2026-03-18 06:11:04 +08:00
Tienson Qin
9ff7b99bd4 add adr to strengthen simulation tests 2026-03-18 06:11:04 +08:00
Tienson Qin
5e957beafb add more tests 2026-03-18 06:11:04 +08:00
Tienson Qin
55834b541d fix: db-worker stops working after hot-reload 2026-03-18 06:11:04 +08:00