Tienson Qin
b4a887c026
fix: can't paste headings
...
fixes https://github.com/logseq/db-test-cn/issues/7
2024-08-08 20:28:11 +08:00
Tienson Qin
a6004f416d
fix: ensure all pages list pages only
2024-08-08 16:07:18 +08:00
Tienson Qin
72552d6224
fix: avoid :block/refs self cycle
2024-08-06 15:21:13 +08:00
Tienson Qin
c1c6197b9b
fix: pages of different types can use the same name
2024-08-06 13:08:35 +08:00
Tienson Qin
f46372b346
chore: keep using class instead of tag for internal usage
2024-08-06 07:15:41 +08:00
Tienson Qin
825b6d0678
fix: allow closed values to be deleted when they've been refed
2024-08-05 19:04:18 +08:00
Tienson Qin
411b05e7ba
Prefer to use ldb/{type}? check when possible
2024-08-05 17:51:24 +08:00
Tienson Qin
ccc9c99744
fix: outliner test
2024-08-05 15:46:01 +08:00
Tienson Qin
4083a2d0a0
enhance: prefer tag instead of class on UI
...
Some users are confused with Classes/Objects, so on UI it'll be
Tags/Nodes.
2024-08-05 15:06:54 +08:00
Tienson Qin
8bef1d7742
Merge branch 'refactor/boolean-not-ref-type' into refactor/single-block-type
2024-08-03 15:37:17 +08:00
Tienson Qin
4cb9cb63a6
Merge branch 'feat/db' into refactor/single-block-type
2024-08-03 15:34:40 +08:00
Tienson Qin
390b44985c
chore: bump mldoc to 1.5.9
2024-08-03 15:19:51 +08:00
Tienson Qin
a85fcdb842
Merge branch 'feat/db' into refactor/boolean-not-ref-type
2024-08-03 15:10:53 +08:00
Gabriel Horner
eb63add1f0
enhance: provide a built-in description property
...
that is used by properties and closed values and can easily be used by
other blocks. Also removes :block/schema for closed values and schema
:description for properties which helps get away from data modeling debt
of :block/schema
2024-08-03 00:13:13 -04:00
Tienson Qin
09ad9d6d97
fix: outliner tests
2024-08-03 00:51:08 +08:00
Gabriel Horner
2e13c9758b
enhance: add a table for property pages
...
that display all nodes for the current property.
Property pages now behave like classes and display a table instead of blocks.
Also update linter to include objects ns
2024-07-31 15:25:03 -04:00
Tienson Qin
d26e620a82
refactor: update :block/type to cardinality one instead of many
2024-07-31 19:35:26 +08:00
Gabriel Horner
3767f1d3c7
chore: rename task class ident
...
Only class ident name that wasn't capitalized and didn't match its
title. Considered renaming :logseq.task but unsure if it even makes
sense for their names to match since they aren't sharing a common ns.
:logseq.task may be better off under :logseq.property.*
2024-07-30 17:09:27 -04:00
Gabriel Horner
37cbdf7f47
fix: outliner test broken by #11433
...
Also fix lint
2024-07-30 11:53:51 -04:00
Tienson Qin
dac75b7794
chore: remove debug
2024-07-30 12:55:22 +08:00
Tienson Qin
b3a786db02
Merge branch 'feat/db' into refactor/narrow-gap-between-page-and-block
2024-07-29 13:36:00 +08:00
Gabriel Horner
d3f9defb6d
chore: bump nbb to latest datascript
2024-07-26 21:27:10 -04:00
Gabriel Horner
15b66b1cfb
fix: public built-in properties not being linked to blocks
...
properties like status should be visibly linked to their tasks
2024-07-26 14:28:56 -04:00
Tienson Qin
50eb74927b
chore: bump datascript
2024-07-25 22:28:21 +08:00
Tienson Qin
cada6e2d9b
fix: delete tagged block
2024-07-22 21:14:59 +08:00
Tienson Qin
d847023dc1
Refactor: rename :block/content to :block/title
2024-07-10 22:33:44 +08:00
Tienson Qin
a1f352773b
refactor: rename :block/original-name to :block/title
2024-07-10 21:43:03 +08:00
Tienson Qin
dc456c0c72
fix: get children classes' objects too for a parent class
2024-07-05 22:08:26 +08:00
Tienson Qin
31305e1904
Merge branch 'feat/db' into feat/tables
2024-07-04 14:48:55 +08:00
Tienson Qin
d078974ee2
fix: loop recur of get-class-parents
2024-07-03 18:05:21 +08:00
Gabriel Horner
ba9d8d7920
Bump nbb with latest datascript
...
Test fixes are reasonable as datascript catches more invalid uses of
query
2024-07-02 20:17:02 +08:00
Tienson Qin
6c653094dd
wip: class objects table
2024-06-29 00:50:30 +08:00
Gabriel Horner
e24b386079
Bump nbb with latest datascript
...
Test fixes are reasonable as datascript catches more invalid uses of
query
2024-06-27 18:07:44 -04:00
Tienson Qin
b6bdc4b1d5
chore: update datascript version
2024-06-27 00:35:37 +08:00
Tienson Qin
039804d87a
chore: bump upstream datascript
2024-06-27 00:26:31 +08:00
Tienson Qin
da4f9b5498
chore: remove :block/collapsed-properties
2024-06-25 10:57:44 +08:00
Gabriel Horner
3c838bc243
fix: disallow changing property cardinality from :many to :one
...
for existing data as it leads to invalid data. Fixes LOG-3164
2024-06-24 14:10:23 -04:00
Gabriel Horner
0ea8a414f2
chore: move and rewrite outliner.property tests
...
Moved tests to be next to implementation. Rewrote some tests
so that they matched common usage of fns and rewrote some tests
so that each fn is tested independently
2024-06-23 23:47:08 -04:00
Tienson Qin
1c22c78c94
chore: remove buggy and rough template
...
Also, :object kinda works like template, and we also plan to
support templates on Classes.
2024-06-23 22:22:33 +08:00
Tienson Qin
eb245e5a76
fix: lint
2024-06-23 17:58:15 +08:00
Tienson Qin
caf1af1911
enhance: bring back inline tags support
2024-06-23 17:50:51 +08:00
Tienson Qin
797b13ac78
fix: lint and test
2024-06-21 18:09:20 +08:00
Tienson Qin
30230b38ca
fix: test
2024-06-21 14:04:42 +08:00
Tienson Qin
b0c03b0003
fix: tests
2024-06-21 12:50:29 +08:00
Tienson Qin
0b38900d70
fix: blocks->vec-tree
2024-06-21 11:31:52 +08:00
Gabriel Horner
eae2156f6c
chore: move and add create-property-text-block tests
2024-06-19 23:01:44 -04:00
Gabriel Horner
c23513eaa8
fix: non :default property reuses existing entities
...
Also add tests for this and a common set-block-property case
2024-06-19 22:17:03 -04:00
Tienson Qin
adae8ef5eb
fix: get-block-and-children returns sorted blocks
...
Fix unit tests
2024-06-20 07:56:30 +08:00
Gabriel Horner
b35f30e203
fix: circular dependency between outliner and frontend
...
by moving batch-tx into outliner dep. Outliner dep is
now fully independent and we are able to write unit tests
for all outliner namespaces unlike before
2024-06-19 17:21:22 -04:00
Tienson Qin
71dc122a75
fix: copy block properties doesn't work
...
Fixes LOG-3160
2024-06-20 00:39:08 +08:00