Commit Graph

18312 Commits

Author SHA1 Message Date
Gabriel Horner
a5832cc3f2 fix: db-import of property-classes option fails on docs graph
Fixed by ensuring that tag names and namespace names don't conflict
when making class idents. The specific bug was a conflict between
Tool class and Whiteboard/Tool. Interestingly the bug didn't appear
if the Tool's description property wasn't present.

Also fixed some importer tests not parsing namespaces correctly
or taking :verbose option
2024-11-21 18:32:45 +08:00
Tienson Qin
e101718425 enhance: set table row to be at least 32px height 2024-11-21 18:32:45 +08:00
Tienson Qin
3fd6806920 fix: tag instance with positioned property shouldn't be collapsable 2024-11-21 18:32:45 +08:00
charlie
cf3102b934 enhance(ux): display the page properties on the right sidebar as default 2024-11-21 14:43:19 +08:00
Gabriel Horner
5541205674 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-20 13:31:42 -05:00
Gabriel Horner
484648b986 fix: docs graph fails to import with both property*
options enabled
2024-11-20 10:39:21 -05:00
Tienson Qin
7dff15223c fix: can't add existing number values to available choices 2024-11-20 18:19:27 +08:00
Tienson Qin
96373fc03f enhance: checkbox to set default choice 2024-11-20 18:09:31 +08:00
Tienson Qin
d9d04f0244 fix: position properties not shown with default values 2024-11-20 17:52:03 +08:00
Tienson Qin
b83d8fda55 enhance: don't show bullet when the last open block is not empty 2024-11-20 17:33:55 +08:00
charlie
be186d73ed fix(ui): missing drag handle for the table header columns 2024-11-20 16:18:24 +08:00
Tienson Qin
ba611fd06f Add increase viewport by back 2024-11-20 15:47:00 +08:00
Tienson Qin
ccaa94acb7 perf: render primary column then other columns 2024-11-20 15:41:57 +08:00
Gabriel Horner
fde9956d59 fix: remove unused fn 2024-11-19 16:49:19 -05:00
Gabriel Horner
5c05497293 fix: frontend lint 2024-11-19 16:44:17 -05:00
Gabriel Horner
b5203fa4d3 fix: db-import of property-classes option fails on docs graph
Fixed by ensuring that tag names and namespace names don't conflict
when making class idents. The specific bug was a conflict between
Tool class and Whiteboard/Tool. Interestingly the bug didn't appear
if the Tool's description property wasn't present.

Also fixed some importer tests not parsing namespaces correctly
or taking :verbose option
2024-11-19 16:43:23 -05:00
Tienson Qin
5d0763e382 enhance: set table row to be at least 32px height 2024-11-19 21:17:58 +08:00
Tienson Qin
5c5c96ea5a fix: tag instance with positioned property shouldn't be collapsable 2024-11-19 18:24:52 +08:00
Tienson Qin
8809509fec enhance: set as default choice from choices list 2024-11-19 18:08:17 +08:00
Tienson Qin
3b31135246 fix: add available choices 2024-11-19 18:08:17 +08:00
Tienson Qin
4327317837 fix: remove blank strings from existing values 2024-11-19 18:08:17 +08:00
Tienson Qin
07a809b5c5 enhance: use default value for new text block 2024-11-19 18:08:17 +08:00
Tienson Qin
a97fc07be4 fix: datalog lint rules 2024-11-19 18:08:17 +08:00
Tienson Qin
3f6704e42f fix: db large vars lint 2024-11-19 18:08:17 +08:00
Tienson Qin
15e3ce9858 fix: graph parser tests 2024-11-19 18:08:17 +08:00
Tienson Qin
23c4bbcf05 enhance: hide default value pages 2024-11-19 18:08:17 +08:00
Tienson Qin
ab360c3d91 fix: db dep tests 2024-11-19 18:08:17 +08:00
Tienson Qin
d4a30cfbc1 Add more small rules 2024-11-19 18:08:17 +08:00
Tienson Qin
78c409b44c Add full-deps test 2024-11-19 18:08:17 +08:00
Tienson Qin
a48fbd9e97 wip: default-value rule 2024-11-19 18:08:17 +08:00
Tienson Qin
b6d6a04148 feat: add :property-value db rule 2024-11-19 18:08:17 +08:00
Tienson Qin
d50a2069c6 fix: create a new text block when clicking the default one 2024-11-19 18:08:17 +08:00
Tienson Qin
8dc95098fc fix: checkbox value update 2024-11-19 18:08:17 +08:00
Tienson Qin
82a476e214 Display property default value if there's no value specified 2024-11-19 18:08:17 +08:00
Tienson Qin
828615dc5e Add default value for :checkbox type 2024-11-19 18:08:17 +08:00
Tienson Qin
efd2b4035c fix: edge cases for :number type default values 2024-11-19 18:08:17 +08:00
Tienson Qin
dab43e1853 Add default value for :number type 2024-11-19 18:08:17 +08:00
Tienson Qin
8882926c63 wip: property default value 2024-11-19 18:08:17 +08:00
Tienson Qin
9acd633b6f fix: built-in property's properties 2024-11-19 18:01:55 +08:00
Gabriel Horner
fb18cc5f52 fix: typo 2024-11-18 17:00:54 -05:00
Gabriel Horner
3469dfd65d fix: db import of blocks with namespaced tags are only tagged
with child leaf tag. Fixes two tags issue reported in
https://github.com/logseq/db-test/issues/7#issuecomment-2463162620
2024-11-18 16:53:03 -05:00
Gabriel Horner
bb98ec1004 refactor: most class creation in db import is like any other page tx
and not embedded in :block/tags. Doing this allows for simpler import tx
and is necessary in order to post process :block/tags
2024-11-18 15:47:31 -05:00
Gabriel Horner
7c6ba2dbc2 fix: importer tests with individual files didn't have flag set
Resulted in some incorrect block extraction e.g. namespaces
2024-11-18 13:55:12 -05:00
Gabriel Horner
2569488493 fix: db import of namespaced tags across multiple pages
Fixes conflicting upserts seen in
https://github.com/logseq/db-test/issues/7#issuecomment-2480564898
2024-11-18 11:40:55 -05:00
Gabriel Horner
7e25dd2a5d fix: db import of empty journal failing hard
Fixes `Vector's key for assoc must be a number.` error from
https://github.com/logseq/db-test/issues/7#issuecomment-2480564898.
This lower level graph-parser had been returning the wrong data
structure for awhile
2024-11-18 09:46:39 -05:00
charlie
9494686b64 enhance(ui): alignments for the highlight area marker 2024-11-18 15:19:41 +08:00
charlie
2596fbb323 enhance(ux): improve experience for the scrolling virtual list table 2024-11-18 11:34:55 +08:00
charlie
897d18f524 enhance(plugin): block properties related apis 2024-11-16 15:33:05 +08:00
Tienson Qin
94f02125ca fix: ensure assets dir created after adding a new graph 2024-11-16 10:39:21 +08:00
Tienson Qin
9f8cf016f4 fix: ensure assets dir after db restored 2024-11-16 10:29:01 +08:00