Commit Graph

2083 Commits

Author SHA1 Message Date
Gabriel Horner
052d239682 enhance(dev): add debug context for get-page-uuid in importer 2024-12-19 14:54:13 -05:00
Gabriel Horner
409107f385 fix: duplicate journal pages when deadline is on same day
as block's page. Switched to using page-names-to-uuids instead
of db since it has the uuids of current page. Fixes logseq/db-test#192
2024-12-19 14:27:37 -05:00
rcmerci
f33fac9563 feat(rtc): inject users info into graphs 2024-12-19 20:33:23 +08:00
charlie
96fb8da599 enhance(ui): add ghost shui button for the toolbar 2024-12-19 17:51:33 +08:00
rcmerci
c75aad8bff enhance: add properties logseq.user/<xxx> 2024-12-19 15:09:02 +08:00
Tienson Qin
85632cc631 enhance: paste block with text value should duplicate the value 2024-12-16 12:45:31 +08:00
Tienson Qin
277096d458 fix: unable to add a comment using # in codeblocks
fixes https://github.com/logseq/db-test/issues/168
2024-12-15 21:08:24 +08:00
Tienson Qin
4cb793e1e8 fix: can't link a block via ID & a page in the same block
fixes https://github.com/logseq/db-test/issues/178
2024-12-15 20:50:56 +08:00
Tienson Qin
8f57de2add fix: can't delete choice 2024-12-15 19:16:48 +08:00
rcmerci
9ff47dc1ed fix: config.edn content must be a string 2024-12-10 21:43:13 +08:00
Gabriel Horner
bcdd162145 fix: queries with default values
and objects that are descendants of a tag with
a default-value property. Fixes
https://test.logseq.com/#/page/67551ea7-bd58-48bb-a0ea-8b976fa94423.
Also extended sqlite.build to allow closed value properties to
be configured with :build/properties
2024-12-09 12:11:06 -05:00
Gabriel Horner
b89a4925d8 fix: Task descendant object added Task tag
when Status added. Fixes
https://test.logseq.com/#/page/675326b3-7e92-4cf0-b9d3-cc367049b920.
Also fixes class-instance? not working for parent classes
2024-12-06 14:41:21 -05:00
Gabriel Horner
af044ddb1e fix: remove unnecessary block/refs task calculations
Part of LOG-3198. Also fix test assertion and add another
2024-12-04 15:57:55 -05:00
Tienson Qin
07c8b7ed74 fix: undo && redo 2024-12-04 17:33:46 +08:00
Gabriel Horner
d0a6ebf389 chore: add test for page block/refs fix
test for logseq/db-test#134
2024-12-03 17:12:18 -05:00
Gabriel Horner
1fc9a2f085 fix: outliner lint 2024-12-03 16:32:03 -05:00
Gabriel Horner
14a621fdcb fix: imported pages don't have :block/refs
Fixes logseq/db-test#134. Also does a good chunk of
https://github.com/logseq/db-test/issues/134 as ref calculation of db
graphs was refactored to be reused across UI and CLI
2024-12-03 16:16:56 -05:00
Tienson Qin
8b8fd8712c feat: highlight recent blocks 2024-12-02 21:07:04 +08:00
rcmerci
b0379811c0 fix: fix validate db test (2) 2024-12-02 13:59:06 +08:00
rcmerci
d2c877b484 fix: fix validate db test 2024-12-02 13:51:27 +08:00
Tienson Qin
31ffe5ae8d fix: migration 2024-11-30 17:12:15 +08:00
Tienson Qin
af31d3d846 fix: tests 2024-11-30 17:12:15 +08:00
Tienson Qin
aaf739ddbe fix: replace id ref with name for search indice 2024-11-30 17:12:15 +08:00
Tienson Qin
0c0b4dc0c3 fix: nested page ref 2024-11-30 17:12:15 +08:00
Tienson Qin
27006e414b add migration 2024-11-30 17:12:15 +08:00
Tienson Qin
665d7a817c fix: tests 2024-11-30 17:12:15 +08:00
Tienson Qin
cc27407699 fix: store #tag as #[[uuid]] internally 2024-11-30 17:12:15 +08:00
Tienson Qin
faf7f48860 refactor: internal ref uses [[uuid]] instead of ~^[[uuid]] 2024-11-30 17:12:15 +08:00
rcmerci
a9642ed66d perf: faster db validator
1. remove slow postwalk on big nested schema vector, use dynamic
var *db-for-validate-fn* instead
2. make static validator and explainer, instead of constructing them
every time
2024-11-29 18:37:03 +08:00
charlie
4e1f7bbdbd fix(ui): table new button from the right sidebar 2024-11-29 11:55:38 +08:00
charlie
6654831a8b fix(ui): hide collapsible arrow for the default annotation block 2024-11-28 13:55:39 +08:00
Gabriel Horner
a987826a48 enhance: import cards correctly regardless of tag options
and also ignore card properties which can't be applied in db version.
Fixes LOG-3062
2024-11-26 16:03:12 -05:00
Tienson Qin
683a0bad94 fix: remove empty value if exists when setting a property value 2024-11-26 16:13:06 +08:00
Tienson Qin
188af6f497 Merge branch 'feat/db' into feat/property-default-value 2024-11-26 15:34:33 +08:00
Gabriel Horner
96f0415da1 fix: couldn't undo a node display typed class
Fixes https://github.com/logseq/db-test/issues/175
2024-11-25 11:57:05 -05:00
Tienson Qin
326a7aa6ea Merge branch 'feat/db' into feat/property-default-value 2024-11-25 14:39:11 +08:00
Tienson Qin
471d413d80 Rename checkbox-default-value to scalar-default-value 2024-11-25 14:38:22 +08:00
Tienson Qin
d65834104b enhance: use default text value when adding property to non-tag node 2024-11-25 14:05:47 +08:00
Tienson Qin
d46dc73870 fix: creating a new text block when focusing on default value 2024-11-25 13:37:28 +08:00
Tienson Qin
6d0bdd6af0 fix: delete default value from a property result in empty placeholder 2024-11-25 12:43:09 +08:00
Tienson Qin
0f1cb55dce fix: set value to empty after deleting default property value 2024-11-25 12:21:50 +08:00
Gabriel Horner
99bf950bd1 fix: import with journal refs result in invalid blocks 2024-11-22 16:07:38 -05:00
Gabriel Horner
6f0885b374 fix: importing a class via :parent that is then used
in :type property fails
2024-11-22 15:01:08 -05:00
Gabriel Horner
bfffde8b2d fix: import of some class pages can still lose identity
Some pages that turn into classes were still having split uuids.
Underlying cause was that existing page uuid was incorrect
2024-11-22 11:30:07 -05:00
Gabriel Horner
ce18010b2b refactor: Decouple simple queries in db graph
from original *property rules by giving simple queries
their own rules. This allows simple queries to grow in functionality
and complexity without affecting other features. Also fixed
private-property rule wasn't working because deps weren't configured
2024-11-21 17:56:58 -05:00
Gabriel Horner
8864c3515f enhance: add tests for default value querying
Had to extend sqlite.build with :build/properties-ref-types for
:logseq.property/default-value's internal ref type needs
2024-11-21 16:31:48 -05:00
Gabriel Horner
9c3785bca6 Merge branch 'feat/db' into feat/property-default-value 2024-11-21 11:49:44 -05:00
Gabriel Horner
8e81d7d855 enhance(dev): task to import multiple file graphs easily
Also add a --continue option to see all errors on a CLI import
2024-11-21 10:30:58 -05:00
Gabriel Horner
049bcd069f enhance: default to importing all tags
Fixes LOG-3235. Still default to not importing all tags in tests and
scripts to simplify their workflows
2024-11-21 18:32:45 +08:00
Gabriel Horner
b1cbc4aa35 fix: docs graph fails to import with both property*
options enabled
2024-11-21 18:32:45 +08:00