Tienson Qin
7bd7892635
Merge branch 'master' into feat/worker-sync
2026-02-12 22:54:32 +08:00
Tienson Qin
ae3fea3ab3
fix: don't compute refs for reactions
2026-02-12 22:52:25 +08:00
Mega Yu
ad2a067ab7
fix: overlapping term matching for highlighted snippets issue
2026-02-12 21:05:16 +08:00
Tienson Qin
4a104ec0aa
fix: error log
2026-02-12 20:33:00 +08:00
Tienson Qin
64b218896a
code cleanup suggested by gabriel
2026-02-12 20:08:20 +08:00
Tienson Qin
fa141f5e08
fix: asset zip import
2026-02-12 18:45:11 +08:00
Tienson Qin
bfae86f9c8
Merge branch 'master' into enhance/search
2026-02-12 17:34:44 +08:00
Mega Yu
77305aaf19
fix: ensure case-insensitive comparison for page name matching
2026-02-12 17:06:53 +08:00
charlie
2394c72d5a
enhance(ui): simplify plugin property check in sorting logic
2026-02-12 09:43:49 +08:00
Tienson Qin
5658b32153
fix: blocks selection bar can't be opened after visiting Graph view
2026-02-12 02:27:46 +08:00
Tienson Qin
adff65c6bc
support unencrypted graph
2026-02-12 02:15:14 +08:00
Tienson Qin
16ceb36e2b
fix: lint
2026-02-12 01:07:37 +08:00
Tienson Qin
5255e93a01
fix: assets not encrypted
2026-02-12 01:02:58 +08:00
Tienson Qin
1c8481c1ae
remove outdated pull tests
2026-02-12 00:40:52 +08:00
Tienson Qin
8b7c5d5ac8
no need to keep alive
2026-02-11 21:25:13 +08:00
Tienson Qin
ac2c067f17
fix: tests
2026-02-11 20:58:57 +08:00
Mega Yu
e8be06d3f9
fix: ensure proper scrolling behavior in keyboard mode
2026-02-11 20:46:13 +08:00
Mega Yu
0754de76cd
refactor to pass lint:large-vars
2026-02-11 20:32:23 +08:00
Mega Yu
a03d2675b7
fix: remove focus from ensure-highlighted-snippet-multi-term-split test
2026-02-11 19:42:51 +08:00
Mega Yu
eeb5bef7ff
update current-page parameter
2026-02-11 19:39:48 +08:00
Tienson Qin
2341fb9b7f
Merge branch 'master' into feat/worker-sync
2026-02-11 18:12:22 +08:00
Tienson Qin
a45a209d11
fix: lint
2026-02-11 18:08:09 +08:00
Tienson Qin
448d125f90
fix: assets import on web
2026-02-11 18:03:09 +08:00
Mega Yu
bcf057c744
stay consistent with master branch
2026-02-11 17:59:54 +08:00
Mega Yu
81f761dda4
Merge branch 'master' into enhance/search
2026-02-11 17:55:04 +08:00
megayu
40c9c86129
Fix issues related to importing Zotero ( #12313 )
...
* Fix import Zotero not recognized as asset
* Fix the inconsistency between imported Zotero label and actual filename
* Import support for zotero linked file like using zotfile
* Fix zotero highlighting block error after importing from file
* compatible with old configuration
* fix zotero picture highlight block does not consider as asset after importing
* Reconstructed to meet bb requirements
* empty datascript to avoid Conflicting upsert error after importing file to db graph
* use external-file-name instead of adding new property
* fix zotero link file can't open in asset page
* compatible with commit 33db791
* compatible with windows path & support zotero path can be relative for ci testing
* add zotero importing test
* remove prn log
* remove useless line
* Revert commit 45ebb9e
Future imports will be performed in the worker, will no longer encounter these issues
* refactor: update today page check to use async block retrieval
* Revert "refactor: update today page check to use async block retrieval"
This reverts commit 6750333df1 .
2026-02-11 17:43:04 +08:00
Tienson Qin
84122a6171
fix: ensure worker state synced before asking for user rsa keys
2026-02-11 17:22:34 +08:00
Mega Yu
6b1f4f4ac4
feat: add current page badge functionality
2026-02-11 17:01:12 +08:00
charlie
f818ba0e59
enhance(ui): improve property sorting and display with plugin name
2026-02-11 15:42:20 +08:00
Tienson Qin
6637d79f78
fix: check sync on create graph dialog automatically creates graph
2026-02-11 15:40:55 +08:00
Tienson Qin
f95600e595
fix: emoji reaction sync
2026-02-11 15:29:25 +08:00
Mega Yu
8d1db4f01d
fix: add clear filter functionality and enhance query state persistence in search
2026-02-11 15:19:23 +08:00
Tienson Qin
dbef84fbb4
fix: auto-reconnect after long sleep by adding ws health check
2026-02-11 15:15:40 +08:00
Tienson Qin
10a8e3c491
fix: integrate large graph fixes from ulcaefna
...
Discord link: https://discord.com/channels/725182569297215569/1400122537744007198/1470853605753094288
1. Added snapshot streaming endpoint on worker:
- deps/db-sync/src/logseq/db_sync/worker/routes/sync.cljs
- deps/db-sync/src/logseq/db_sync/worker/handler/sync.cljs
- Added :sync/snapshot-stream
- Increased snapshot-download-batch-size to 5000
- Added schema-init fallback probing (kvs, tx_log, sync_meta)
- Improved HTTP error responses with debug fields
2. Switched frontend graph download from R2 URL flow to direct stream:
- src/main/frontend/handler/db_based/sync.cljs
- Removed /snapshot/download + cleanup DELETE flow
- Uses direct GET /snapshot/stream
3. Applied large-graph upload stability fixes:
- src/main/frontend/worker/sync.cljs
- upload-kvs-batch-size changed 2000 -> 500
- Reworked offload-large-titles-in-datoms to avoid deep promise chains
- Fixed upload progress message to use updated loaded count
- src/main/frontend/worker/sync/crypt.cljs
- Batched <encrypt-datoms in chunks of 5000
- src/main/frontend/worker/sync/client_op.cljs
- update-graph-uuid now retracts old :graph-uuid datoms before add
4. Applied worker-side error visibility and catch hardening:
- deps/db-sync/src/logseq/db_sync/worker.cljs
- deps/db-sync/src/logseq/db_sync/worker/dispatch.cljs
- deps/db-sync/src/logseq/db_sync/worker/coerce.cljs
- deps/db-sync/src/logseq/db_sync/worker/http.cljs
- deps/db-sync/src/logseq/db_sync/worker/handler/index.cljs
5. Added/updated tests for these behaviors:
2026-02-11 14:41:26 +08:00
Mega Yu
4cd5bfc102
feat: implement scroll helpers for Cmd+K focus visibility and wheel anchoring to improve ux
2026-02-11 14:37:25 +08:00
Mega Yu
f49e472402
feat: enhance mouse hover effects and highlight styles in search results
2026-02-11 13:21:29 +08:00
Mega Yu
aa74295d44
feat: implement cmdk state persistence and enhance search options
2026-02-10 20:17:38 +08:00
Mega Yu
cacf846bd2
feat: add code search functionality
2026-02-10 15:08:10 +08:00
Mega Yu
f8b36be83a
feat: add snippet highlighting improvements for original title casing
2026-02-10 14:02:54 +08:00
Mega Yu
2fa0daed25
feat: add function to append tail ellipsis for truncated snippets
2026-02-10 11:13:52 +08:00
Mega Yu
968a730724
feat: enhance snippet highlighting logic for multi-term queries
2026-02-10 10:34:03 +08:00
Mega Yu
832f78ceaf
feat: enhance block-unique-title function to support truncation option and avoid truncate tag
2026-02-10 10:00:46 +08:00
Mega Yu
3f8be4f3ed
feat: enhance snippet highlighting and windowing for multi-term queries
2026-02-10 09:45:56 +08:00
Tienson Qin
720432d247
fix: rename db ident is no longer safe in the new sync
...
Because Datascript doesn't support multiple db/idents for the same
entity.
2026-02-06 20:04:31 +08:00
Tienson Qin
a8ed1c88e6
Merge branch 'master' into feat/worker-sync
2026-02-06 19:14:20 +08:00
Ashutosh Singh
2cabb09248
new window fix ( #12371 )
2026-02-06 19:11:44 +08:00
Tienson Qin
54844ff95f
no need to run db-sync tests in build CI
...
because it's already handled by its own dep ci test
2026-02-06 19:08:52 +08:00
Tienson Qin
cb57234881
fix: lint
2026-02-06 16:39:11 +08:00
Tienson Qin
8bbc0fede8
enhance: gzip download graph
2026-02-06 16:30:01 +08:00
Tienson Qin
0e95d09711
chore: remove unused code
2026-02-06 16:08:15 +08:00