Commit Graph

19272 Commits

Author SHA1 Message Date
Tienson Qin
88eb293a28 fix: can't see bullet for level-1 parent blocks 2025-04-13 13:16:36 +08:00
Tienson Qin
7e21d87672 fix: don't show block metadata when dragging bullet 2025-04-13 11:25:25 +08:00
rcmerci
dc003b3319 fix: add block/created-at, updated-at to user-block 2025-04-12 22:06:49 +08:00
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
768b745a26 fix: skip nil created-by 2025-04-10 20:39:07 +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
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