Commit Graph

19211 Commits

Author SHA1 Message Date
rcmerci
434c9a67a7 Merge pull request #11790 from logseq/refactor/remove-defclass
refactor: remove defclass DBWorker
2025-03-27 14:36:52 +08:00
Gabriel Horner
61775b3e4d fix: user page crashing b/c of nil search results
Search shouldn't return this but this is a guard against
Fixes crashing page in https://github.com/logseq/db-test/issues/236
2025-03-26 14:09:58 -04:00
Gabriel Horner
1dee44aa40 chore: split overly large migration and fix lint 2025-03-26 11:42:02 -04:00
Gabriel Horner
0233adfebd fix: remove invalid page-less blocks
Also improve validation error message so it's clear what next steps are
2025-03-26 11:30:54 -04:00
Gabriel Horner
11f765638e fix: invalid graphs b/c of blocks with missing title 2025-03-26 11:10:04 -04:00
Gabriel Horner
638cb6e65f fix: export failing for some uses of :block/alias 2025-03-26 10:58:23 -04:00
Gabriel Horner
17acbbc8d4 enhance(dev): option to catch export validation errors
to write invalid edn and debug issues quicker
2025-03-26 10:25:54 -04:00
rcmerci
7913bb9bf6 chore: add a TODO to simplify ldb/read-transit-str later 2025-03-26 21:27:21 +08:00
rcmerci
ea4f872962 refactor: use <invoke-db-worker to replace @*db-worker (2) 2025-03-26 19:23:03 +08:00
rcmerci
5a87b609a5 refactor: use <invoke-db-worker to replace @*db-worker 2025-03-26 19:04:22 +08:00
rcmerci
cd0e2d438c chore: nbb.edn does not depend on lambdaisland.glogi 2025-03-26 16:47:28 +08:00
rcmerci
4c1179dff8 fix: passed the wrong wrapped-worker before 2025-03-26 16:47:28 +08:00
rcmerci
2bfb6bf5f1 fix: remove some ldb/read-transit-str calls 2025-03-26 16:47:28 +08:00
rcmerci
cae3084f9c refactor: use the namespace "thread-api" for all thread-api keywords 2025-03-26 16:47:28 +08:00
rcmerci
961a143aa1 refactor: remove unnecessary ldb/read-transit-str 2025-03-26 16:47:28 +08:00
rcmerci
a99149d6c6 fix lint 2025-03-26 16:47:28 +08:00
rcmerci
7ca1fe7569 refactor: unify the transit-read/write for the return values of the thread-api 2025-03-26 16:47:28 +08:00
rcmerci
b99581968a fix lint 2025-03-26 16:47:28 +08:00
rcmerci
1151b33df4 refactor: remove defclass DBWorker 2025-03-26 16:47:28 +08:00
rcmerci
b7d65b82e3 refactor(wip): add def-thread-api, and move fns from class DBWorker 2025-03-26 16:47:28 +08:00
rcmerci
d0422948cb fix: add some comments for logseq.common.defkeywords 2025-03-26 02:08:30 +08:00
rcmerci
336af2a2db fix(rtc): enable :logseq.property.view/xxx properties rtc-syncing 2025-03-26 01:25:23 +08:00
rcmerci
4036a36f46 test(rtc): add ut for remote-op-value->tx-data 2025-03-26 01:18:43 +08:00
rcmerci
58dd5a8f19 fix(rtc): ignore pre-configured attrs when remote-op-value->tx-data 2025-03-26 01:18:43 +08:00
Gabriel Horner
d6bb065959 fix: publishing failing to load due to nonexistent conn 2025-03-25 12:16:04 -04:00
charlie
0cf44976e5 Merge branch 'feat/db' of https://github.com/logseq/logseq into feat/db 2025-03-25 15:01:39 +08:00
charlie
3d2285f090 chore(plugin): build libs core 2025-03-25 15:01:24 +08:00
charlie
ad1bc36811 chore(dev): remove warning 2025-03-25 14:59:02 +08:00
charlie
2bc243da0d enhance(ui): improvements for the narrow screen 2025-03-25 14:58:29 +08:00
Gabriel Horner
92ff2a5436 fix: export edn should always be accessible in view 2025-03-24 12:44:51 -04:00
Gabriel Horner
b484316c2d fix: don't use new and ambiguous terms in views
We introduced "record" when table view was first introduced but it's not
a term we use anywhere else in the UI. Better to keep with existing
terms like "node". Also record is not a term that makes sense in other view
types
2025-03-24 11:57:16 -04:00
Gabriel Horner
4d58925ad7 fix: uuid nodes and view nodes not grouping by page
They were grouping instead by parent which caused parent blocks to incorrectly
export as pages
2025-03-21 17:10:12 -04:00
Gabriel Horner
1d21a120e7 Merge pull request #11784 from logseq/feat/export-graph-edn
feat: export and import graph as edn
2025-03-21 08:52:35 -04:00
charlie
1565e7541d fix(api): incorrect property type key 2025-03-21 15:27:03 +08:00
Gabriel Horner
4495728abd enhance: export+import supports :block/collapsed? 2025-03-20 17:11:26 -04:00
Gabriel Horner
aa77ef199d fix: ident from docs graph couldnt serialize to edn 2025-03-20 16:35:30 -04:00
Gabriel Horner
f3f73e53a0 enhance: graph export+import supports :block/alias 2025-03-20 15:01:50 -04:00
charlie
c51d43332a fix(plugins): incorrect theme url for the desktop native 2025-03-20 11:29:42 +08:00
charlie
e362cfa0ae enhance(plugins): types 2025-03-20 10:44:23 +08:00
Gabriel Horner
8ed2aeba37 enhance: simplify and speed up graph import
By providing ::export-type we can simplify import handling and
turn off property value translation which. Also adds an option to
sqlite.build which is then used by import
2025-03-19 17:48:16 -04:00
Gabriel Horner
f99a89f9b3 enhance: add :logseq.kv data to graph export
Addresses
https://github.com/logseq/logseq/pull/11784#pullrequestreview-2697690952.
Also improves :set option and removes outdated code in a test
2025-03-19 15:41:12 -04:00
Gabriel Horner
dc02a292a9 fix: click on some local db graphs doesn't switch to them
affected all imported db graphs and possibly some that weren't imported
Fixes
https://github.com/logseq/logseq/pull/11784#pullrequestreview-2697663428
2025-03-19 11:28:15 -04:00
Gabriel Horner
210f583cae enhance(dev): add set option for diff script 2025-03-18 13:00:43 -04:00
Gabriel Horner
103af910d0 refactor: provide default for build/prorties-ref-types
Reasonable default reduces building config which could change
2025-03-18 09:54:16 -04:00
Gabriel Horner
392fe81173 refactor: mv import to appropriate ns and reuse import fns 2025-03-18 08:58:03 -04:00
Gabriel Horner
06b3bba5fc enhance: add export edn graph as file
Remove command version of export which is a less useful dev tool
than what's possible with cli
2025-03-17 23:28:43 -04:00
Gabriel Horner
4d37ce8565 enhance: add import edn graph option
Also fix lint and move other db import fns to db ns
2025-03-17 17:16:49 -04:00
Gabriel Horner
332b7a0825 fix: lints and new scripts having same path bugs as feat/db 2025-03-17 12:08:44 -04:00
Gabriel Horner
e1f7bdfa9d enhance(dev): add test of export,create and diff to CI
A more thorough test than ones in unit tests
2025-03-17 11:59:16 -04:00
Gabriel Horner
9b9c22933f fix: built-in pages option
also renamed option and fixed a sorting bug
2025-03-17 11:59:16 -04:00