Commit Graph

2083 Commits

Author SHA1 Message Date
Tienson Qin
8c81895ff7 refactor: don't store :checkbox as ref type 2024-08-01 13:06:47 +08:00
charlie
685df8c87f fix: typo 2024-08-01 12:01:01 +08:00
Tienson Qin
76f7baedd3 fix: remove repeated clause 2024-08-01 11:43:48 +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
46c5110701 fix: document and validate a db only config.edn option
Also fix another outdated comment
2024-07-30 17:20:12 -04: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
354ffabf88 fix: outdated comments related to changes in #11433 2024-07-30 15:26:54 -04:00
Gabriel Horner
8afb337d7b chore: remove outdated test
rRemoving this test as the differences between a file and db graph are
enough that it's not worth testing. This test was helpful when we were
first developing db version
2024-07-30 15:13:24 -04:00
Gabriel Horner
6093462555 fix: db import after changes from #11433 2024-07-30 14:47:35 -04:00
Gabriel Horner
37cbdf7f47 fix: outliner test broken by #11433
Also fix lint
2024-07-30 11:53:51 -04:00
Tienson Qin
3bc1a673cb refactor: replace both :page and :object types with :node 2024-07-30 17:25:46 +08:00
Tienson Qin
dac75b7794 chore: remove debug 2024-07-30 12:55:22 +08:00
Tienson Qin
08ed6a131d refactor: show linked refs and unlinked refs for blocks too 2024-07-30 12:53:48 +08:00
Tienson Qin
edf179b1f5 fix: can't edit referenced block 2024-07-30 10:53:58 +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
Tienson Qin
e013e78c85 fix: migrate to the new schema 2024-07-29 13:27:33 +08:00
Gabriel Horner
d3f9defb6d chore: bump nbb to latest datascript 2024-07-26 21:27:10 -04:00
Gabriel Horner
9af2ff84ec fix: graph-parser clj tests missing new dep 2024-07-26 15:45:47 -04:00
Gabriel Horner
c41b1bce3a fix: db import having incorrect block/path-refs
Some block/path-refs were invalid because importer was manually setting
this instead of relying on listeners. Confirmed relying on listeners
works in the frontend and CLI. Part of LOG-3176
2024-07-26 15:35:42 -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
3799ddd5f4 fix: display tags for pages in cmdk 2024-07-26 12:17:47 +08:00
Gabriel Horner
4c0c87337b fix: db import of whiteboard block with properties
Part of LOG-3176
2024-07-25 15:58:19 -04:00
Gabriel Horner
dd73e4c21e fix: a couple class uuids not generated by their db/ident
Follow up to 04e7d2c17b
2024-07-25 10:33:56 -04:00
Gabriel Horner
22cd0b3e50 fix: use nbb compatible math fn 2024-07-25 10:33:56 -04:00
Tienson Qin
50eb74927b chore: bump datascript 2024-07-25 22:28:21 +08:00
Tienson Qin
4accddebbe fix: switch to use :map type for pdf hl-value 2024-07-25 16:25:56 +08:00
Tienson Qin
eaf35e4a27 Merge branch 'feat/db' into refactor/narrow-gap-between-page-and-block 2024-07-25 16:07:54 +08:00
Tienson Qin
4f368d5c79 fix: inline tags 2024-07-25 15:13:11 +08:00
rcmerci
04e7d2c17b enhance: generate db-ident block's uuid like:
00000002-<hash-of-db-ident>-<fill-with-0>
2024-07-25 11:18:29 +08:00
Tienson Qin
71765f88e2 fix: names 2024-07-25 10:12:37 +08:00
Tienson Qin
7274a0bb40 Merge branch 'feat/db' into refactor/narrow-gap-between-page-and-block 2024-07-25 09:57:37 +08:00
Gabriel Horner
4b365da70c fix: display more helpful notifications for invalid
properties and classes that can't build a db-ident. Part of LOG-3176
2024-07-24 16:35:05 -04:00
Gabriel Horner
3411f344e3 fix: db import with property-parent-classes option
Also fixes some bugs with docs graph having classes split into more than
one db/ident. Part of LOG-3176
2024-07-24 14:55:06 -04:00
charlie
73d42536e5 enhance(pdf): persist block highlights data to the annotation block property value 2024-07-24 15:31:59 +08:00
Tienson Qin
050890aa2f fix: docs parsing tests 2024-07-23 12:24:54 +08:00
Tienson Qin
d2b798ece5 fix: editor async tests 2024-07-23 12:09:15 +08:00
Tienson Qin
452d0e8e2b fix: query dsl tests 2024-07-23 09:21:47 +08:00
Gabriel Horner
39e0deeae8 dev: add basic integration test for importing docs graph
Part of LOG-3092
2024-07-22 17:12:45 -04:00
Gabriel Horner
f2ecca08d9 chore: update docs integration tests to use latest released docs version 2024-07-22 15:38:15 -04:00
Tienson Qin
d84639a655 fix: replace refs with content when deleting a object tag 2024-07-22 21:25:02 +08:00
Tienson Qin
cada6e2d9b fix: delete tagged block 2024-07-22 21:14:59 +08:00
Tienson Qin
a44f6c27d5 Merge branch 'feat/db' into refactor/narrow-gap-between-page-and-block 2024-07-21 11:34:49 +08:00
Tienson Qin
249d21df4a fix: don't create pages for refed objects 2024-07-21 11:10:50 +08:00
Tienson Qin
ed1ee94d88 refactor: blocks search returns all blocks including pages
Fuzzy search support both pages and objects (blocks have tags).
2024-07-20 20:10:36 +08:00
charlie
6db0e786e3 enhance(ux): improvements for the page preview editor 2024-07-18 15:41:14 +08:00
charlie
15b15af181 enhance(ui): icon color for the page reference 2024-07-13 16:29:38 +08:00
Gabriel Horner
cd4e0c5642 fix: db import inferring a class' properties
Also remove :block/namespace from page import as its unused.
Part of LOG-3176
2024-07-12 16:17:53 -04:00
Gabriel Horner
1f9b893ba0 fix: tests altered by last commit
Also add a block-ref example to last whiteboard test page
2024-07-12 14:38:03 -04:00
Gabriel Horner
62252479ee fix: db import of some whiteboard pages
Also fix old whiteboards not having correct :block/type.
Part of LOG-3176
2024-07-12 14:22:10 -04:00