Commit Graph

14056 Commits

Author SHA1 Message Date
rcmerci
b3ce641fca fix(rtc): dont treat string-value as ref if attr is not ref-type 2025-04-12 21:55:14 +08:00
rcmerci
e3b57eb915 refactor: use db instead of conn as much as possible in outliner/core.cljs
fns that do not update db should use `db` instead of `conn` whenever possible.
it becomes easier to determine which outliner functions have no side effects.
2025-04-12 16:54:10 +08:00
rcmerci
2b4a562da1 refactor: simplify invoke-hooks-default 2025-04-12 16:04:49 +08:00
Tienson Qin
3e8bee7325 fix: use tooltip instead of tippy for block metadata 2025-04-12 14:38:21 +08:00
rcmerci
411292cd73 fix: skip add created-by when no user-block 2025-04-11 22:00:00 +08:00
rcmerci
c591598d22 enhance: move adding created-by logic to pipeline-hook 2025-04-11 21:49:03 +08:00
charlie
aa91713460 fix(ui): broken line for the annotation block ref 2025-04-11 14:55:31 +08:00
charlie
b64b678439 fix(pdf): invalid asset url for the file graph 2025-04-11 12:39:05 +08:00
rcmerci
d5f78356c5 fix: add created-by to auto created first-block when create-page 2025-04-11 12:02:10 +08:00
charlie
993e99c28c fix(pdf): selection text mixed 2025-04-11 10:55:31 +08:00
Tienson Qin
74886f9fab enhance(ux): show block metadata when hovering on bullet 2025-04-11 09:11:06 +08:00
rcmerci
ff40821994 feat(rtc): add property :logseq.property/created-by-ref 2025-04-10 19:22:16 +08:00
charlie
25cbf32bd0 fix(pdf): react warning for the pdf region hls container 2025-04-10 18:14:35 +08:00
charlie
4f26956ce7 fix(pdf): open pdf file 2025-04-10 18:13:33 +08:00
charlie
f3c42fa972 fix(electron): invalid copy file for the file based graph 2025-04-10 17:05:36 +08:00
Gabriel Horner
a18afc62f8 fix: shui/button triggers double-click when Enter is pressed
Follow up to 6cb93386ae which only
fixed it for one button
2025-04-09 09:00:54 -04:00
charlie
fefedab525 fix(ui): codemirror container overflow 2025-04-09 17:02:37 +08:00
Gabriel Horner
6cb93386ae fix: creating a choice with keyboard
always displays invalid warning. This happened because Enter was
causing a 2nd click, upsert and then the message to display.
Fixes https://test.logseq.com/#/page/67f52d87-3858-4b06-a26b-f601b0c4c1ef
2025-04-08 10:17:14 -04:00
Gabriel Horner
286c302eeb fix: classes allow for buggy, nonsensical built-in properties
Users could add Alias or Parent to a class and then it created
buggy or unusable combinations when class was used from a block
2025-04-07 14:30:21 -04:00
Gabriel Horner
dae782ed6a fix: multiple tabs fail hard
instead of showing user a dialog. Fixes
https://test.logseq.com/#/page/67f3e868-d5a3-4941-97ff-11ec7432f2df
2025-04-07 11:09:40 -04:00
Gabriel Horner
c14885d7fd fix: frontend lint 2025-04-07 09:54:01 -04:00
Tienson Qin
7e01c82c9f fix: re-render 2025-04-07 20:42:07 +08:00
Tienson Qin
70e2012e29 bump React to 18 2025-04-07 19:51:14 +08:00
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