Commit Graph

17706 Commits

Author SHA1 Message Date
Tienson Qin
9881577d7d fix: keep block indent alignment without shifting siblings 2026-04-15 01:09:28 +08:00
Gabriel Horner
09b598094e fix(cli): multiple upsert commands randomly choose first page found
when an ambiguous page is given instead of erroring to ask for the
specific page. Like dd6b8975c7, there are still several
paths where we incorrectly assume :block/name is unique (and don't
take into account recyling). This commit fixed the following options:
* upsert block --target-page
* upsert task --target-page
* upsert asset --target-page
* upsert page --page

There are still two bugs where ambiguous page names leads to random
page selection but which can't be addressed easily because there is no
way for a user to select by page id in those contexts. Put a TODO next
to the ensure-first-page! workaround
2026-04-14 12:15:21 -04: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
Mega Yu
43cc74c097 add missing command text in i18n dict 2026-04-14 17:47:49 +08:00
Mega Yu
47c4e9e468 rtc log don't need to i18n 2026-04-14 17:47:15 +08:00
Mega Yu
5eda6a8ab6 Merge master into enhance/i18n 2026-04-14 16:42:19 +08:00
Mega Yu
810f95f5ae enhance(ui): left sidebar ui improve 2026-04-14 15:49:28 +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
Mega Yu
a678ba1fc8 refactor(i18n): remove unused keys 2026-04-14 12:07:12 +08:00
Mega Yu
45848caeb1 enhance(context-menu): improve page title custom context menu handling 2026-04-14 11:38:02 +08:00
Mega Yu
60ffb5592c enhance(ui): add tooltips to various buttons for improved accessibility 2026-04-14 08:58:49 +08:00
Gabriel Horner
e4228ebe38 fix(cli): remove block --id gives false positive
for pages and doesn't delete them. Should instead error explicitly for pages,
like with other subcommands when the given target isn't the right type
2026-04-13 18:03:41 -04: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
Mega Yu
f10db4a934 enhance port input handling and optimize ui 2026-04-13 21:14:44 +08:00
Tienson Qin
927795d73c fix: should transact all schema related datoms first 2026-04-13 18:56:31 +08:00
Mega Yu
69b7a0e893 improve i18n 2026-04-13 14:39:53 +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
rcmerci
28cd63907f enhance(cli): humanize human-mode output formatting (2) 2026-04-12 21:57:13 +08:00
rcmerci
1db53d14fb enhance(cli): humanize human-mode output formatting 2026-04-12 21:24:01 +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
rcmerci
8281d344d9 fix(cli): upsert task --priority not working 2026-04-11 22:52:08 +08:00
rcmerci
cdfe541552 enhance(cli): update list asset output columns 2026-04-11 21:48:21 +08:00
Gabriel Horner
86bf58d0b6 fix (cli): upsert commands fail with partial updates
Running `upsert block -c b1 --update-tags='["nonexistent-tag"]'`
errors for the nonexistent tag but surprisingly still
creates a block with no indication that it was created. Fixed this
and a similar case for `upsert page`. Also cleaned up `upsert task`
which had unnecessary error throwing which could also result in the
same error type. Longer term we need a better solution than moving
all error/validation checks to the beginning of each upsert
2026-04-11 09:24:10 -04:00
rcmerci
1ae912fd92 feat(cli): add list/upsert asset 2026-04-11 17:31:49 +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
Mega Yu
476fba4fc3 refactor(quick-add): simplify logical and remove duplicated button 2026-04-10 23:14:30 +08:00
rcmerci
94be3a0bbb enhance(cli): remove 'server status'; add 'server cleanup' 2026-04-10 23:07:04 +08:00
Mega Yu
5a752ef99d fix multiple logic errors caused by date format switching 2026-04-10 22:58:48 +08:00
rcmerci
22f1e6c867 refactor(cli): centralize output mode handling 2026-04-10 22:06:20 +08:00
Mega Yu
7522b53b6a feat(i18n): remove trailing spaces in update-available messages across multiple locales 2026-04-10 22:03:57 +08:00
Mega Yu
5fc9e4aa51 improve dev right sidebar layout 2026-04-10 21:22:35 +08:00
Mega Yu
2306464e94 feat(page): improve error screen layout and styling for better user experience 2026-04-10 20:13:17 +08:00
Mega Yu
c54c54b65d feat(settings): update theme icons and adjust styles for better appearance 2026-04-10 19:01:55 +08:00