Commit Graph

17691 Commits

Author SHA1 Message Date
Tienson Qin
9318205c32 fix: improve graph view interactions 2026-05-13 21:38:19 +08:00
rcmerci
3f5b52cc07 feat(cli): unify backup impl for desktop and cli 2026-05-13 16:27:00 +08:00
rcmerci
51c9c2970d fix lint 2026-05-13 13:51:53 +08:00
rcmerci
d12beff383 feat(graph-view): add task zoom-in view 2026-05-13 13:40:55 +08:00
Tienson Qin
cf24914e6c fix: dedupe raw node choices 2026-05-13 12:04:23 +08:00
Tienson Qin
b2fc00b31b fix: handle sidebar asset drops 2026-05-13 12:03:29 +08:00
megayu
e097ec8cd8 fix(fsrs): cloze macro with superscript/subscript markup and render improvements 2026-05-13 12:00:24 +08:00
Tienson Qin
58098303e0 fix: stop cmdk sidebar shortcut propagation 2026-05-13 11:42:28 +08:00
Tienson Qin
c8d00f5a7b fix: dedupe node property choices 2026-05-13 11:35:13 +08:00
Tienson Qin
00964157b1 dev: run lint-and-test in parallel
run cljs tests in parallel too
2026-05-12 23:36:42 +08:00
Tienson Qin
1b9a1999ac fix: block selection while scrolling 2026-05-12 21:38:21 +08:00
Tienson Qin
1c061cc871 fix: align heading bullets 2026-05-12 20:28:38 +08:00
Tienson Qin
96bf1f074b fix: align dark right sidebar header 2026-05-12 18:50:30 +08:00
Tienson Qin
9c77efda04 [codex] fix import of auto heading pre-blocks (#12612)
* fix(import): handle auto heading pre-blocks (db-test#863, db-test#864)

* fix(import): clean missing OG block refs (db-test#863, db-test#864)

* Revert "fix(import): handle auto heading pre-blocks (db-test#863, db-test#864)"

This reverts commit 08d586a2d8.

* fix(import): propagate missing block ref cleanup

---------

Co-authored-by: Mega Yu <yuhg2310@gmail.com>
2026-05-12 18:07:07 +08:00
Charlie
7194e54925 fix(ux): incorrect reaction for the order list sibling blocks (#12617)
* fix(ux): incorrect reaction for the order list sibling blocks

* 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>

* fix: lint

* chore(test): add tests for order list type and sibling block interactions

* fix: refresh nested ordered lists

* fix: split affected query keys helper

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2026-05-12 18:06:12 +08:00
Mega Yu
4c98cc6b51 fix: clear stale title when converting code block 2026-05-12 17:03:01 +08:00
megayu
7cb9144422 enhance(editor): support dollar autopair for markdown math (#12618)
* feat(editor): add support for dollar sign in autopair feature

* fix(editor): handle dollar autopair for markdown math

* feat(help): add inline math example

* fix(editor): double dollar autopair behavior
2026-05-12 16:09:06 +08:00
Grandroot
e63bc56750 Merge pull request #12470 2026-05-12 13:35:25 +08:00
Tienson Qin
3ae4d92adc fix: invalid data from old graphs
fixes https://github.com/logseq/db-test/issues/795
2026-05-12 10:52:45 +08:00
ivan-danilov
7c4111b248 Added prettify-url? option to QuickCapture (#12409)
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2026-05-12 00:16:03 +08:00
Kidy Lee
be34b7904a feat: add "Always on Top" in window menu. 2026-05-12 00:00:14 +08:00
IderAghbal
ba3ff5e5a5 feat: add support for avif and cr2 images (#11997) 2026-05-11 23:57:04 +08:00
megayu
755840c474 fix: heading icon alignment and menu active state
1. Derive the effective heading level consistently for auto headings, and reuse it for block icons, page-ref icons, and heading layout attributes.
2. Align heading bullets and page-ref icons so h3-h6 and auto heading changes no longer shift vertically.
3. Show the active heading and background color in the single-block context menu.
2026-05-11 23:26:46 +08:00
Tienson Qin
634ba33b3e fix: render markdown headings in quote blocks (#12611)
Preserve parsed Markdown heading levels for display-type blocks so quote blocks render '# heading' consistently with explicit heading properties.

Adds an app E2E regression test covering both quote heading creation paths.

Fixes logseq/db-test#599
2026-05-11 19:25:20 +08:00
Tienson Qin
e03e019a19 fix: export sqlite db as binary 2026-05-11 18:18:33 +08:00
megayu
1884911cc8 fix(exporter): preserve mixed quote blocks during DB export (#12610) 2026-05-11 18:08:14 +08:00
charlie
5726ecaa21 enhance(plugin): add thumbnail icon handling for plugin items 2026-05-11 16:32:04 +08:00
Tienson Qin
0b26f16422 fix: can't export client ops db on web 2026-05-11 16:15:22 +08:00
Tienson Qin
c32428702f fix: wrong datoms format when fixing invalid data 2026-05-11 14:45:39 +08:00
Charlie
cba65ee479 enhance(plugins): improve legacy storage apis (#12605) 2026-05-11 10:26:46 +08:00
Tienson Qin
1f9c017998 refactor: graph view V2 (#12604)
* feat(graph): rebuild global graph view with Pixi

Summary:

- Replace /graph route with a new Pixi-based global graph implementation in ClojureScript.

- Build graph data from db-worker only (no UI DB writeback) and default to tags+objects with a toggle for all pages.

- Add fast scene rendering for large graphs with indexed hit-testing, zoom/pan, node dragging, and click/shift+click node actions.

- Introduce dynamic label management (zoom hysteresis, viewport culling, overlap control, hover-emphasis) and fix hook lifecycle cleanup issues.

- Refresh graph UI styling to full-container layout, dot-first settings control, and Logseq button usage.

- Add/expand tests for global graph modes, node actions, and Pixi label/visibility logic.

- Update graph-related dependencies/lockfile as part of the new implementation.

* enhance(graph): improve drag exploration and label visibility

- Dragging a node now pulls connected nodes with depth-based weights for easier structure exploration.

- Labels are rendered only for currently visible node dots; hover no longer reveals hidden-node titles.

- Hovered node title remains promoted in foreground while respecting visibility constraints.

- Add logic/test coverage for connected drag weights and updated label text behavior.

* enhance(graph): use d3 force layout

Summary:
- Move Graph V2 node layout into graph pixi logic.
- Use d3-force link, charge, center, collision, and y forces instead of the hand-written ring/spiral layout.
- Add coverage that linked graph nodes settle closer than an unlinked island.

Dependency:
- Verified d3-force is already latest at 3.0.0.

Tests:
- bb dev:test -v frontend.extensions.graph-pixi-logic-test
- bb dev:test -v frontend.common.graph-view-v2-test
- pnpm install --frozen-lockfile --lockfile-only

* fix: graph view interactions

* enhance: speed up large graph view

* enhance: speed up tags graph

* enhance: speed up tags layout

* enhance: bound tags force layout

* enhance: speed up graph opening

* fix: keep graph objects visible when zoomed out

* fix: resize graph with sidebars

* enhance: select graph nodes

* fix: refine graph selection controls

* support icons

* fix: sharpen graph node icons

* enhance(graph): update graph v2 settings

* fix: re-render graph when theme changes

* enhance(graph): remove legacy graph view

* fix: typo

* fix: improve graph view

* test: cover graph view improvements

* enhance: improve graph view

* test: cover graph time travel behavior

* enhance: refine graph time travel

* test: cover graph layout controls

* enhance: add graph layout controls

* test: cover graph highlight controls

* fix: refine graph highlight controls

* test: cover edge label alignment

* fix: align graph edge labels

* test: keep graph lines visible on highlight

* fix: keep graph lines visible on highlight

* fix: show graph lines by default

* test: filter graph lines on highlight

* fix: filter graph lines on highlight

* test: keep graph depth incremental

* fix: update graph depth incrementally

* test: cover graph label link occlusion

* fix: occlude graph links behind labels

* test: cover graph edge visibility defaults

* fix: smooth graph edges on highlight

* test: cover graph arrow toggle

* fix: toggle graph arrows

* test: cover reciprocal graph edge offsets

* fix: separate reciprocal graph edges

* test: cover duplicate graph edge runs

* fix: dedupe graph edge render runs

* test: cover graph tag clusters

* enhance: cluster graph tags layout

* test: cover graph tag cluster colors

* fix: color graph tag clusters by title

* test: cover subdued graph node colors

* fix: mute graph node colors

* feat: grid layout

* add more options

* enhance(graph): drill into tags on zoom

* map-like navigation

* mod+click to preview node

* edge enhancements

* more tweaks

* fix: block preview

* enhance(graph): speed up large graph layout

* fix: improve graph mode switching ux

* fix: speed up graph view switching

* fix: optimize large all-pages graph render

* fix: speed up graph data build

* fix: collapse graph tag settings on mode switch

* enhance: refine graph panel width

* fix: improve graph zoom performance

* fix: satisfy graph lint

* fix: open graph nodes by uuid

---------

Co-authored-by: rcmerci <rcmerci@gmail.com>
2026-05-10 23:26:32 +08:00
rcmerci
a3e4d8a902 feat(cli): add qmd query (4) 2026-05-10 15:48:26 +08:00
rcmerci
b06eaa48a9 feat(cli): add qmd query (3) 2026-05-10 14:58:47 +08:00
rcmerci
5ec5b258c9 feat(cli): add qmd query (2) 2026-05-10 14:53:55 +08:00
rcmerci
635d4b7a73 feat(cli): add qmd query (1) 2026-05-10 14:53:55 +08:00
rcmerci
9288c1de7e enhance: markdown-mirror blocks embed id in comment 2026-05-10 14:53:54 +08:00
Tienson Qin
198e6975e1 fix: markdown mirror rendering (#12607)
* fix: markdown mirror rendering

* fix: keep markdown mirror content lines
2026-05-10 14:24:14 +08:00
megayu
0fb9c20d30 Support fullwidth left square bracket input with IME auto-completion (#12606)
* feat(editor): normalize ime-producted fullwidth ref input

* fix(editor): handle non-enter processed state in keyup handler
2026-05-10 11:53:25 +08:00
charlie
cff7f58d46 fix(ui): adjust icon size for header and NativeTopBarPlugin 2026-05-09 16:51:41 +08:00
Tienson Qin
9712b1ed7b fix: handle deprecated properties when db validate failed 2026-05-09 15:35:30 +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
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