Commit Graph

23642 Commits

Author SHA1 Message Date
Tienson Qin
cfe00a5e71 fix(template): resolve dynamic variables in template insertion 2026-04-14 22:11:51 +08:00
Tienson Qin
ca6c254328 add offline scenario tests for chrome instances 2026-04-14 22:11:51 +08:00
charlie
ba18e5fbfd chore: build libs 2026-04-14 16:05:11 +08:00
Charlie
a95483655b refactor: plugin libs (#12395)
This pull request refactors the plugin library infrastructure and adds new experimental features for hosted/sidebar renderers. The main changes include:

Purpose: Refactor plugin communication library (Postmate) to support MessageChannel for improved performance, add support for hosted/sidebar renderers in plugins, add new debug APIs, and consolidate helper functions.

Changes:

Added MessageChannel support to Postmate for optimized plugin-host communication with backward compatibility
Introduced hosted renderer and sidebar renderer APIs for plugins to register custom UI components
Added new app APIs: get_current_route, export_debug_log_db, reset_debug_log_db
Refactored helper functions from helpers.ts to common.ts and updated all import paths
Extended block property APIs to include class properties with default values
Added comprehensive documentation for experiments APIs and plugin development
Added E2E test for plugin marketplace installation
Version bump from 0.2.12 to 0.3.1
2026-04-14 14:29:22 +08:00
Tienson Qin
4461a03fd5 fix: lint 2026-04-14 14:06:27 +08:00
Hounsou Dansou
8e87445b71 Update README with build instructions and discussion channels
Added instructions for building from source and updated discussion channels.
2026-04-14 13:59:46 +08:00
Tienson Qin
3a02014ebb fix: avoid task status default flicker on tagged nodes 2026-04-14 13:55:42 +08:00
Tienson Qin
1e5c7e938f fix(page): restore linked refs rendering after deferred gating 2026-04-14 05:44:16 +08:00
Tienson Qin
a215a5e0f1 perf(page): delay linked refs until content mounts 2026-04-14 05:38:33 +08:00
Tienson Qin
ff56c143ab continue to improve view performance 2026-04-14 05:37:45 +08:00
Tienson Qin
995d0bf4a9 enhance(view): speed up large-graph get-view-data 2026-04-14 04:52:10 +08:00
Tienson Qin
e3a974947a perf: views 2026-04-14 04:33:46 +08:00
Tienson Qin
e1def88148 fix(property): hide recycled node/page values in property area 2026-04-14 04:11:22 +08:00
Tienson Qin
5cecff842d fix(sync): preserve apply-template uuids in rebase replay 2026-04-14 03:58:29 +08:00
Tienson Qin
fd377168a8 fix: prevent page-child block from being promoted to class tag 2026-04-14 03:51:07 +08:00
Tienson Qin
5c2e8a9f00 fix(sim): emit inline tag block for emptyInlineTag op 2026-04-14 03:33:38 +08:00
Tienson Qin
a327063497 fix(db-sync): keep encrypted title updates after decrypt collapse 2026-04-14 03:29:42 +08:00
Tienson Qin
aefd964a1e fix(sync): simulate all outliner ops and stabilize bootstrap 2026-04-14 03:06:10 +08:00
Tienson Qin
73bc59857e fix(perf): don't call d/datoms to get all eavt
It's too slow (+8s) for a 500m sqlite file to just insert a new block
2026-04-14 00:27:36 +08:00
Tienson Qin
292db15345 add script to create clojure irc graph 2026-04-14 00:19:29 +08:00
Tienson Qin
27f0c2d271 test(sync): add schema-first import avet regression 2026-04-13 22:09:24 +08:00
Tienson Qin
3000d28d15 fix(sync): unlink db on reset import 2026-04-13 22:05:14 +08:00
Tienson Qin
927795d73c fix: should transact all schema related datoms first 2026-04-13 18:56:31 +08:00
Tienson Qin
6e737b78ac fix: db unlisten 2026-04-13 18:25:03 +08:00
Tienson Qin
0fc0bb8cef Rename logseq cloud to sync 2026-04-13 13:01:30 +08:00
hoellen
8997638e5b Custom Sync Server URL (#12459)
* Add custom sync server

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-13 13:00:19 +08:00
Tienson Qin
5818b578d5 update podfile lock 2026-04-13 12:38:35 +08:00
Tienson Qin
174fd15c8e fix(sync): stabilize incremental checksum updates 2026-04-12 19:27:05 +08:00
Tienson Qin
3dd7302dc9 fix(db-sync): handle duplicate :block/uuid in incremental checksum
Account for duplicate :block/uuid datom multiplicity during incremental checksum delta calculation.
Expand touched eids to uuid peers and apply digest add/remove by tuple counts.
Add regression fixture+test from rebased retract mismatch log.
2026-04-12 17:46:14 +08:00
Tienson Qin
30bb4acc27 fix: stabilize undo/redo raw tx replay order 2026-04-12 15:55:52 +08:00
Tienson Qin
9baeee6e49 simplify transact ops 2026-04-12 15:41:22 +08:00
Tienson Qin
6cda7fc869 fix: align outliner and db-sync tests with history-op changes 2026-04-11 07:24:28 +08:00
Gabriel Horner
5904433787 chore: mark more long running tests to keep "-e long" useful for local full runs 2026-04-10 11:58:05 -04:00
Gabriel Horner
963cdf9234 fix: recycled/deleted page can't be restored by user
When a user deletes a page and then restores it by creating it again with cmd-k,
the page wasn't restored. The previously recycled page and its block are
now restored when the page is re-created
2026-04-10 11:30:06 -04:00
Tienson Qin
32806264ce fix: reversed datoms should be normalized too for rebase 2026-04-10 14:49:54 +08:00
Tienson Qin
bf04d4cf5d refactor(sync): move client ops to sqlite and harden history ops 2026-04-10 05:44:34 +08:00
Tienson Qin
bbe75823c0 add ADR to store client ops in sqlite tables 2026-04-10 04:39:17 +08:00
Tienson Qin
e275cbef0b fix: slow checksum 2026-04-10 03:42:01 +08:00
Tienson Qin
f25083555f fix: don't rely on right sibling from UI 2026-04-10 03:10:45 +08:00
Tienson Qin
c80a3cdb98 fix: catch deps clj-kondo warnings in lint-test-deps 2026-04-10 02:37:28 +08:00
Tienson Qin
aa0fee7aee fix(db-sync): keep title-only raw txs through rebase 2026-04-10 02:25:37 +08:00
Tienson Qin
6c77cb17b8 fix(outliner): stabilize history op refs 2026-04-10 02:25:37 +08:00
Tienson Qin
0392444cdf add bb dev:lint-test-deps to run lint and tests for deps 2026-04-10 00:21:14 +08:00
Tienson Qin
c24e66f3e6 fix: lint and tests 2026-04-09 23:16:37 +08:00
Tienson Qin
6cd3708c22 enhance(debug): capture sync replay diagnostics 2026-04-09 22:46:43 +08:00
Tienson Qin
abd3e4c16b fix(outliner): stabilize history op entity refs 2026-04-09 22:46:38 +08:00
Tienson Qin
4a35692a50 tooling(db): add sqlite sync replay script 2026-04-09 22:46:32 +08:00
Tienson Qin
8fcd8fb518 test(sync): cover stale fix/reject flows 2026-04-09 22:43:52 +08:00
Tienson Qin
cba76460f2 enhance(sync): serialize pull/upload and dedupe pull 2026-04-09 22:43:47 +08:00
Tienson Qin
75bf1e683b fix(db-sync): normalize tx-reject payload shapes 2026-04-09 22:43:40 +08:00