Commit Graph

14046 Commits

Author SHA1 Message Date
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
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