Commit Graph

24324 Commits

Author SHA1 Message Date
charlie
cff7f58d46 fix(ui): adjust icon size for header and NativeTopBarPlugin 2026-05-09 16:51:41 +08:00
Tienson Qin
cd1a9926e2 chore: remove outdated assert 2026-05-09 15:46:34 +08:00
Tienson Qin
9712b1ed7b fix: handle deprecated properties when db validate failed 2026-05-09 15:35:30 +08:00
Tienson Qin
4af721d67b update AGENTS.md 2026-05-09 15:28:11 +08:00
Tienson Qin
05e8d0c435 fix: remove deleted property pairs from remote tx 2026-05-09 15:26:12 +08:00
Charlie
4970a83a1e enhance(plugins): uninstall unused plugins (#12603)
* feat(plugin): add bulk removal of disabled plugins and related UI components

* enhance(plugin): add bulk removal feature for disabled plugins and themes

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* enhance(plugin): update bulk remove disabled plugins and themes messages

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-09 15:22:37 +08:00
charlie
62e66f30b9 fix(android): adjust native top bar layout and icon sizes 2026-05-09 13:42:27 +08:00
Tienson Qin
c19eca0fd6 fix: handle wrong e2ee password on download 2026-05-09 12:18:45 +08:00
Tienson Qin
b71228a7b0 fix: client ops db is not ready when creating remote graph on web 2026-05-09 11:59:58 +08:00
Tienson Qin
8857be2baf fix: can't download graphs on Android 2026-05-09 11:44:44 +08:00
rcmerci
314c68cd9a enhance(cli): warn about outdated installed skill 2026-05-09 10:42:37 +08:00
rcmerci
319d07a2e5 enhance(cli): show --page-hierarchy 2026-05-08 21:36:22 +08:00
rcmerci
9aa73a1976 enhance(cli): show --page library 2026-05-08 20:40:03 +08:00
megayu
55514be9a2 Merge pull request #12602 from logseq/chore/update-i18n-lint-8b4f9304ecff
chore: update logseq-i18n-lint binaries to 8b4f9304ecff
2026-05-08 18:29:39 +08:00
github-actions[bot]
898a7002a5 chore: update logseq-i18n-lint binaries to 8b4f9304ecff 2026-05-08 10:27:09 +00:00
megayu
cf30893ed8 fix(calc): expand calculator CodeMirror without scrollbars (#12600) 2026-05-08 17:19:33 +08:00
megayu
51f0ce261c Enhance breadcrumb display (#12595)
* feat(breadcrumb): enhance breadcrumb functionality and styling

* feat(breadcrumb): enhance breadcrumb label handling and add tooltips

* feat(breadcrumb): add tooltip for breadcrumb search overflow

* fix lint and test

* feat(search): enhance subtitle handling for native search results

* fix doc

* feat(breadcrumb): add accessibility attributes to tooltip button

* fix: no need to pull refs for block parents

* enhance(breadcrumb): remove ref-resolution layer from parent breadcrumbs

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2026-05-08 17:14:13 +08:00
rcmerci
08a479f2c8 feat(cli): add cmd 'sync asset download' 2026-05-08 15:23:36 +08:00
Tienson Qin
c5775df851 fix: large-title rehydrate
Root cause: large-title rehydrate was reusing the remote tx’s
original entity id. When that id was a string tempid,
Datascript had already resolved it during remote apply, so rehydrate
created a new invalid entity with only :block/title.
2026-05-08 11:31:50 +08:00
VictorVow
1423a38062 fix: restore :ref/default-open-blocks-level 0 behavior in DB graphs
Make `:ref/default-open-blocks-level 0` collapse references by default
in the DB version, matching the previous file-graph behavior. The
section fold is scoped to the page-bottom "Linked References" panel
only — the inline "Open block references" popup rendered next to
blocks always shows its references uncollapsed.

1. Collapse the "Linked References" section when the configured level
   is 0, gated on a new `:linked-refs-section?` config flag set only
   by the page-bottom call site in page.cljs. The inline popup at
   block.cljs:3366 passes `{}` and is unaffected.

2. Propagate `:block.temp/has-children?` on the top-level fetched
   block in `get-block-and-children`. The list-view loads linked-
   reference blocks with `:children? false`, so `(:block/_parent ...)`
   is always nil in the client DB and the collapse check in
   `block-default-collapsed?` could never fire. Use a lightweight
   `d/datoms :avet :block/parent` scan that stops at the first match,
   rather than the reverse-ref `(:block/_parent block)` which
   materializes the full child set. Includes a regression test.

3. Fall back to `:block.temp/has-children?` when computing `has-child?`
   in `block-container-inner-aux`. This renders the collapse arrow for
   blocks whose children exist in the worker DB but haven't been
   lazily loaded into the client DB yet (e.g. linked-reference blocks).
   Clicking the arrow calls `expand-block!` which loads them.

The `:ref/default-open-blocks-level 0 → (int? ...)` state.cljs fix
from PR #12228 is already present on this branch.
2026-05-08 11:18:51 +08:00
Tienson Qin
427dbe3f58 feat: export Logseq markdown syntax
Move the Logseq Markdown Mirror syntax/export work out of the two-way sync branch while leaving file-to-DB sync behavior behind.

Details:\n- add docs/logseq-markdown-syntax.md and update ADR 0016 with the one-way mirror syntax contract\n- export mirror files with page id markers, property list items, nested default property values, node page refs, task status markers, and datetime values with time\n- preserve block refs as uuid links where needed while keeping page/node refs readable\n- update focused export and markdown mirror tests

Validation:\n- bb dev:lint-and-test
2026-05-08 10:58:45 +08:00
Tienson Qin
f7ff5301fa fix: should never retract asset remote-metadata 2026-05-07 21:47:34 +08:00
charlie
7018f62bf7 fix(ux): incorrect keyboard navigation for installed themes 2026-05-07 21:24:22 +08:00
charlie
7306cc8916 feat(ui): add open folder action for repository context menu 2026-05-07 20:14:07 +08:00
Tienson Qin
a256c65cbc fix: handle mirror file errors 2026-05-07 18:24:43 +08:00
Tienson Qin
0a4b59f0e0 fix: markdown mirror path collisions 2026-05-07 17:09:27 +08:00
Tienson Qin
98baff725b fix: e2e tests 2026-05-07 16:09:12 +08:00
Tienson Qin
1524621936 Merge pull request #12589 from logseq/feat/markdown-mirror
feat: add markdown mirror
2026-05-07 15:34:53 +08:00
Tienson Qin
2bda15bf56 Merge branch 'master' into feat/markdown-mirror 2026-05-07 15:32:13 +08:00
Charlie
3c2359a79e enhance(plugins): libs improvements (#12588)
* enhance(libs): add Commands proxy and unified command APIs

* enhance(plugin): improve unregistering of simple and palette commands

* enhance(plugin): add unregister functionality for plugin commands

* chore(libs): add logseq.Commands API guide and implementation

* enhance(libs): introduce LSPluginNet for HTTP client functionality

* fix(ipc): ensure proper handling of IPC messages and improve plugin call structure

* enhance(libs): add HTTP methods (GET, HEAD, POST, PUT, PATCH, DELETE) and error handling

* enhance(api): support additional identifier types for opening blocks in sidebar

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-07 15:21:48 +08:00
Tienson Qin
cb0c961998 fix: isolate editor async test state
Keep editor async tests pinned to their test graph and restore frontend state so full cljs:run-test order does not leak into persist-db tests.

Issue: https://github.com/logseq/db-test/issues/821
2026-05-07 14:59:03 +08:00
Tienson Qin
fae97c8003 Merge branch 'master' into feat/markdown-mirror 2026-05-07 14:07:23 +08:00
Tienson Qin
7e7d9dd81f fix: flaky tests 2026-05-07 14:06:58 +08:00
charlie
66b1140fc9 feat(markdown): enhance markdown block formatting and handling for quotes, code, and headings 2026-05-07 13:54:51 +08:00
Tienson Qin
46227b05eb fix: queue tab for pending new block
Fixes rapid Enter then Tab applying indentation to the previous editing block while the newly inserted block is still pending.

fixes https://github.com/logseq/db-test/issues/821
2026-05-07 13:23:21 +08:00
rcmerci
6ddf90732d enhance(skill): add logseq-review-workflow 2026-05-07 12:43:58 +08:00
rcmerci
58cf05dc39 enhance(skill): update logseq-repl 2026-05-07 11:13:00 +08:00
rcmerci
a772e6582b fix: render mhchem reaction arrows correctly 2026-05-07 10:48:43 +08:00
rcmerci
5301d39f07 fix(db-worker): compare repo-name failed sometimes because of db-version-prefix 2026-05-06 23:03:11 +08:00
Tienson Qin
575ddecced fix: ci 2026-05-06 22:05:20 +08:00
Tienson Qin
a973c4fb85 fix: speed up large graph search 2026-05-06 21:38:04 +08:00
Tienson Qin
5bc8fafb1b fix: debounce search results 2026-05-06 21:38:04 +08:00
Tienson Qin
e47539398b fix: speed up worker search 2026-05-06 21:38:04 +08:00
rcmerci
028ac07348 enhance(skill): update logseq-repl 2026-05-06 21:14:22 +08:00
rcmerci
a610925bca fix(export): ignore legacy-property 2026-05-06 21:03:23 +08:00
Tienson Qin
8bc8c435ba Merge branch 'master' into feat/markdown-mirror 2026-05-06 20:47:32 +08:00
rcmerci
c6d21e2006 fix(db-worker): protect db-worker server-list writes 2026-05-06 20:37:38 +08:00
Tienson Qin
56494fdb05 add js hints 2026-05-06 19:10:54 +08:00
Tienson Qin
971ccf21f1 update AGENTS.md 2026-05-06 19:04:08 +08:00
Tienson Qin
7c339462d0 fix: keep latest title sync conflict
Store only the latest non-empty server :block/title conflict for a block, clearing previous title conflict candidates before inserting the new one.

Add a regression test covering previous title candidates, empty server titles, and the latest non-empty title.
2026-05-06 19:02:39 +08:00