Commit Graph

19256 Commits

Author SHA1 Message Date
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
90dbdd6cdc chore: disallow user idents from clobbering internal idents
If users can clobber internal idents it would create bugs and possibly
security issues for internal idents associated with security.
Also updated docstrings of related fn
2025-04-07 16:40:42 -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
1e1e7d34af update yarn.lock 2025-04-07 20:11:22 +08:00
Tienson Qin
70e2012e29 bump React to 18 2025-04-07 19:51:14 +08:00
charlie
48591f0085 chore(dev): restore package.json style 2025-04-07 19:19:32 +08:00
charlie
c9a87a0e37 chore(dev): upgrade capacitor to latest 2025-04-07 19:13:00 +08:00
Gabriel Horner
99331545c4 enhance: give partial exports reliable page sort order
Could be useful as partial exports are used more often
2025-04-04 15:12:11 -04:00
Gabriel Horner
ffca9c862f enhance: add export+import of selected nodes
Fixes https://github.com/logseq/db-test/issues/232
2025-04-04 14:48:09 -04: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
cf114803ff remove silent failing of CI jobs
Can't debug failures if we can't see their output e.g.
https://github.com/logseq/logseq/actions/runs/14252668697/job/39948918589?pr=11807
2025-04-04 08:34:31 -04:00
Gabriel Horner
f4c5e6b0bb Add time assertion on largest test import to prevent regression 2025-04-04 08:34:31 -04:00
Gabriel Horner
26cbd74cd1 enhance(perf): speed up db graph importer for larger graphs
Use atom cache based on tx instead of full db lookup to create
all-existing-page-uuids
2025-04-04 08:34:31 -04:00
Gabriel Horner
a3dfa00ccf chore: Add optional verbose test runner for graph-parser dep 2025-04-02 12:12:31 -04:00
Gabriel Horner
c6af79a260 enhance: export property aliases 2025-04-02 10:25:30 -04:00
Gabriel Horner
7c38daef24 fix: block/alias failing partial exports
e.g. ontology and page exports. Also remove unused fn option
2025-04-02 10:07:26 -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
798928aed5 refactor: clean up mutually recursive fns
Better to localize dependent fns than to make them circular dependencies
2025-04-01 14:56:38 -04:00
Gabriel Horner
a1bd567906 fix: build+export of closed :many property values 2025-04-01 13:42:42 -04:00
Gabriel Horner
ad64632c1b enhance: export tags for property values 2025-04-01 11:47:33 -04:00
rcmerci
b342d122f2 enhance(rtc): adjust some properties' rtc config 2025-04-01 16:39:39 +08:00
Gabriel Horner
29ac5a9c18 enhance: export+import property value properties
For https://github.com/logseq/db-test/issues/242. Also added timestamp
support for proprety values
2025-03-31 18:24:11 -04:00
Gabriel Horner
1e29c9ee15 enhance: add sqlite.build support for properties on property values
Needed for export in https://github.com/logseq/db-test/issues/242
2025-03-31 17:04:45 -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
f38b09f51f Merge pull request #11795 from logseq/refactor/remove-deftype-main
refactor: remove deftype Main
2025-03-29 14:15:15 +08:00
Gabriel Horner
6209bd0ae2 fix: block/collapsed? not built for properties 2025-03-28 11:16:06 -04:00
Gabriel Horner
dd4b68a140 fix: export for overlapping property+class
overlapping entity with blocks was exporting duplicate blocks
2025-03-28 10:39:20 -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
Gabriel Horner
872b130eec fix: export of class + property aliases 2025-03-27 17:27:47 -04:00
Gabriel Horner
9dfb6713ca enhance: export+import supports properties
that double/overlap as classes
2025-03-27 17:02:32 -04:00
Gabriel Horner
e5061f1504 enhance: add export option to exclude-files
Useful for demo graphs as it's noisy and not useful to include since
imported graphs already have it. Also added descriptions for properties
graph to share it
2025-03-27 09:13:14 -04:00
Gabriel Horner
144ad2623c enhance: export+import of class + property page blocks 2025-03-27 09:13:14 -04: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