Commit Graph

17156 Commits

Author SHA1 Message Date
Tienson Qin
f53767dfc6 chore: remove both transit-read and transit-write
use write-transit-str and read-transit-str instead
2026-04-17 16:58:18 +08:00
Tienson Qin
12509f58db fix: plugins e2e tests 2026-04-17 15:57:53 +08:00
Gabriel Horner
eb1d921d5d enhance: add block context menu option to open an asset file
Addresses 2nd issue in https://github.com/logseq/db-test/issues/792
of not being able to download an asset that doesn't have a special
block view
2026-04-16 15:57:39 -04:00
Tienson Qin
9804728afa fix: failed to convert page to tag
fixes https://github.com/logseq/db-test/issues/805
2026-04-17 01:48:04 +08:00
Gabriel Horner
ea3a732095 fix: Can't copy image in desktop
Addresses one of the issues in
https://github.com/logseq/db-test/issues/792
2026-04-16 13:41:26 -04:00
charlie
78aded53ea enhance(ux): add retry mechanism for clicking add button after page creation 2026-04-16 15:31:13 +08:00
hoellen
3b13f5f19f fix: snapshot upload stuck when graph has large blocks 2026-04-16 15:20:17 +08:00
charlie
08f197ded9 enhance(plugin): add normalization function for user keys and enhance sidebar renderer integration 2026-04-16 13:02:01 +08:00
Gabriel Horner
eadad9df45 enhance: improve wording on recycle related ux
- Update confirmations so that tag and property are clearly explained as
  permanently deleted
- Deleted page/delete-confirmation non-en translations since the text
  has changed
2026-04-15 17:18:10 -04:00
Tienson Qin
7edeae6971 enhance(search): speed up indexing and show progress 2026-04-16 03:43:43 +08:00
Tienson Qin
843f871dc6 add log to debug search 2026-04-16 03:09:14 +08:00
Tienson Qin
989e70284d fix: number eids shouldn't be used for ops 2026-04-16 03:00:33 +08:00
Tienson Qin
7aca776183 chore: show debug checksums on dev or test environments 2026-04-15 22:47:13 +08:00
Tienson Qin
9d3a725054 style tweaks 2026-04-15 22:09:49 +08:00
Tienson Qin
86c44dc3a8 enhance(frontend): batch db-worker get-block fetch safely 2026-04-15 18:26:29 +08:00
Tienson Qin
8058ece6c4 fix(page): gate deferred root reveal by children completion 2026-04-15 17:49:50 +08:00
Tienson Qin
4c7b52c0cb fix(page): render large pages in top-down deferred order 2026-04-15 17:49:50 +08:00
Tienson Qin
9d292435c8 fix: keep property ops uuid-only 2026-04-15 17:49:50 +08:00
Ritvik Sharma
5d870d9a15 fix: preserve dark theme when installing non-theme plugins (#12434) (#12443) 2026-04-15 09:13:32 +08:00
charlie
d68d0c3a27 fix(ui): improve macro rendering and inline class handling https://github.com/logseq/logseq/pull/9234 2026-04-15 09:10:59 +08:00
Tienson Qin
9881577d7d fix: keep block indent alignment without shifting siblings 2026-04-15 01:09:28 +08:00
Tienson Qin
fc76192631 fix: stabilize uuid-based outliner ops and undo/redo replay 2026-04-14 22:11:51 +08:00
Tienson Qin
cfe00a5e71 fix(template): resolve dynamic variables in template insertion 2026-04-14 22:11:51 +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
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
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
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
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
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
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