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
Gabriel Horner
4cc8ef3ce4
fix: importing property value that changes
...
from :date to :node. Should fix
https://github.com/logseq/db-test/issues/748
2026-02-10 14:10:04 -05: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
Gabriel Horner
cd7c1ef50e
enhance(dev): add linters for db-sync
...
Fix minor kondo errors. Also removed obvious dead code found by carve linter
2026-02-09 12:25:50 -05:00
Gabriel Horner
8bf63e9715
chore: docs on running wrangler locally
2026-02-09 11:31:41 -05: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
e428d52ee3
fix: can't upsert user in node adapter
2026-02-06 18:13:25 +08:00
Tienson Qin
7a915a31b1
remove static auth because signin/up doesn't support custom login
2026-02-06 17:35:30 +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
Tienson Qin
2ea618b76f
fix: don't notify source client with presence update
2026-02-06 15:55:55 +08:00
Tienson Qin
e6b7fdd16e
fix: duplicated online-users messages
2026-02-06 15:20:19 +08:00
Tienson Qin
94b2d5018d
fix: no UX feedback when downloading a large graph from 'Graphs' screen
2026-02-06 15:07:09 +08:00
Tienson Qin
ee30d51c46
fix: show user doesn't exist error when inviting wrong email
2026-02-06 14:57:35 +08:00
Tienson Qin
11bd281987
fix: ensure RSA keys for new users
2026-02-06 14:51:49 +08:00
Tienson Qin
b9f321bb13
fix: no block creator when hovering on block bullets
2026-02-06 14:34:39 +08:00
Gabriel Horner
adf9770da0
fix: lint and docstring
2026-02-05 13:13:46 -05:00
Gabriel Horner
229bd14318
chore: mark sync unit tests as :long
...
Allows for local dev to still run all non-long unit tests in under 30s
2026-02-05 11:10:17 -05:00
Gabriel Horner
58cb27adf2
fix: frontend test
...
remove dupe test in handler
2026-02-05 10:24:39 -05:00
Gabriel Horner
1a1896ba5b
fix: internal-ident?
...
Also fix db test
2026-02-05 09:01:04 -05:00
charlie
f6996c5e3e
enhance(css): add styles for priority level icons in property component
2026-02-05 09:49:36 +08:00
charlie
911caa0673
fix(apis): improve case page retrieval with safe navigation
2026-02-05 09:49:04 +08:00
Gabriel Horner
4fbd147f08
Merge branch 'master' into feat/worker-sync
2026-02-04 16:54:56 -05:00
Gabriel Horner
c1ca626b36
enhance(dev): add workflow to run db-sync's tests
...
Also disable test ns that has hanging tests. Was able to pinpoint
where tests are hanging and left logging there to fix it in the future
2026-02-04 16:36:16 -05:00
Mega Yu
48f0a5ba88
feat: implement snippet windowing and highlight markers for search results
2026-02-04 17:56:21 +08:00
Mega Yu
1aacbbabad
feat: add snippet highlighting functionality
2026-02-04 14:34:55 +08:00