Gabriel Horner
445be61fcf
enhance: Add EDN export to page+block menus
...
for db graphs for more user-friendly use of the feature and to provide
consistency. Addresses a request in #alpha-db-feedback
2025-04-04 11:07:05 -04:00
Gabriel Horner
7c583c4892
fix: export edn displayed success when errors happened
...
Also fix unreferenced :block/alias uuids as found in
https://github.com/logseq/db-test/issues/243
2025-04-02 08:27:52 -04:00
Gabriel Horner
bc47905416
fix: can't navigate to journal page in file graphs
...
Occurred when home page was configured
Fixes
https://test.logseq.com/#/page/67ea96a6-067c-4569-a02a-6ff8d43619a0
2025-03-31 10:44:17 -04:00
rcmerci
12e6284bbe
refactor: add <invoke-main-thread
2025-03-28 21:49:05 +08:00
rcmerci
0f1ceef31c
refactor: add thread-apis for ui-thread
2025-03-28 21:11:08 +08:00
rcmerci
631fdcafee
feat(rtc): add rtc-add-migration-client-ops for debug&fix
2025-03-28 18:29:37 +08:00
rcmerci
df858e1fb4
fix(rtc): ignore :retract when merge update-client-ops
2025-03-27 21:07:05 +08:00
rcmerci
9e719cc58f
fix(copy): replace block-uuid in nested block-ref
2025-03-27 17:08:46 +08:00
rcmerci
4b939e8265
fix: support args direct-passthrough to db-worker
...
:thread-api/import-db's arg is a js arraybuffer, which is unable to be transit-write
2025-03-27 16:44:43 +08:00
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
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
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
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
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
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
charlie
c51d43332a
fix(plugins): incorrect theme url for the desktop native
2025-03-20 11:29:42 +08: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
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
1148757ae9
display error if one of the import transacts fail
2025-03-17 11:58:30 -04:00
Gabriel Horner
078ac512ad
add export graph command
...
Also add properties :file option. Was useful to compare sqlite.build
EDN w/ export equivalent
2025-03-17 11:58:30 -04:00
Gabriel Horner
a7b586b2b0
add export+import support for files
2025-03-17 11:58:30 -04:00
Tienson Qin
24bee474c9
fix: copy block references
2025-03-17 23:54:31 +08:00
Tienson Qin
b3b7d919b7
fix: use [[id]] when mod+e to drag a block
2025-03-17 23:38:01 +08:00
charlie
a9fb790365
fix(ui): image resizing breaks image render https://github.com/logseq/db-test/issues/231
2025-03-17 14:47:49 +08:00
Tienson Qin
ed1f178e96
fix: generate persistent uuid for journal template blocks
2025-03-17 07:42:25 +08:00
Tienson Qin
ad4b1af31e
fix: page reference display error
2025-03-14 12:47:57 +08:00