Commit Graph

3732 Commits

Author SHA1 Message Date
Tienson Qin
1e911808c4 fix: tests 2025-06-19 13:11:40 +08:00
Gabriel Horner
ca108e9ea6 fix: remove test and export support for tags
that doubled as properties. Follow up to
https://test.logseq.com/#/page/684af61f-7cf9-4680-a7da-e7f647332e0c
2025-06-18 15:52:53 -04:00
Gabriel Horner
4a6a3f8169 fix: schema not validating extends
Properties that are validated in a top-level schema need to be declared
in exceptions-to-block-properties. Also remove unused attribute for empty-placeholder
2025-06-18 15:26:14 -04:00
Gabriel Horner
8c6146a00d enhance: import markdown quotes
Went ahead and implemented ast block to string
as regex version of this would've been to buggy
2025-06-18 13:54:48 -04:00
Gabriel Horner
5b4f43d6f4 enhance: import quotes as #Quote
Can only support one quote per block so text around quotes
and multiple quotes aren't possible
Fixes https://github.com/logseq/db-test/issues/195
2025-06-18 13:54:48 -04:00
Tienson Qin
785e5b3203 fix: remove :block/order for tags 2025-06-19 00:58:48 +08:00
Tienson Qin
170b0a9a81 fix: migrate for using properties as tags 2025-06-18 23:06:02 +08:00
Tienson Qin
f5d678b1ac fix: tests 2025-06-18 22:31:11 +08:00
Tienson Qin
9bb6842b1e fix: missing db/ident for inline tags 2025-06-18 21:57:57 +08:00
Tienson Qin
54a82f38cd fix: load all user datoms when opening a graph 2025-06-18 18:32:21 +08:00
Tienson Qin
e09b8ca97e fix: task status in references are not loaded when rendering 2025-06-18 16:52:06 +08:00
Tienson Qin
e5a75db04d fix: tag properties migration 2025-06-18 14:28:46 +08:00
Tienson Qin
0158194815 fix: block/tags are not displayed on table view 2025-06-18 12:26:13 +08:00
Tienson Qin
53e0d1a4ca enhance: put library page name to config to make it easier to rename 2025-06-18 08:25:47 +08:00
Tienson Qin
7b46076170 Merge branch 'master' into refactor/page-parent 2025-06-17 19:44:34 +08:00
Tienson Qin
3b718f70c8 enhance(ux): render blocks by their orders (#11948)
* enhance: render nested children when rendering its parent

except that for long pages (500+ blocks).

* refactor: rename :block.temp/fully-loaded? to :block.temp/load-status

* fix: tests

* enhance: define keyword :block.temp/load-status

* update to :self

* chore: remove buggy parent cycle detect

* enhance(ux): don't delay rendering block properties

---------

Co-authored-by: rcmerci <rcmerci@gmail.com>
2025-06-17 19:41:13 +08:00
Gabriel Horner
ace71b2b25 enhance: asset import supports multiple assets
per block and preserves text around assets.
These were both enabled by moving asset blocks to Asset page
2025-06-17 19:36:05 +08:00
Gabriel Horner
501063e625 fix: importing assets for more complex blocks like paragraphs with links
Used extract-blocks to group ast blocks for each block instead of
previous buggy version. Also renamed bindings that were all confusingly
`block`
2025-06-17 19:36:05 +08:00
Gabriel Horner
f318d68530 enhance: import assets handles
unused assets by still copying them by name and handles
existing assets
2025-06-17 19:36:05 +08:00
Gabriel Horner
bb31c4e6f1 fix: importing assets in subdirectories
Also fix lint
2025-06-17 19:36:05 +08:00
Gabriel Horner
4524fc8370 enhance: import asset metadata
Also handle multiple assets per block and displaying that to user
2025-06-17 19:36:05 +08:00
Gabriel Horner
90c7fc5775 enhance: UI imports assets as #Asset
Also made importer and db asset creation use same helper fns
2025-06-17 19:36:05 +08:00
Gabriel Horner
38734bde40 enhance: CLI imports assets as #Asset
Had to split assets into two steps now that asset naming is dependent
on uuids. Also add explicit asserts in exporter to catch silent
failure in tests
2025-06-17 19:36:05 +08:00
Tienson Qin
63b75dfab7 add plugin property validation 2025-06-17 17:31:34 +08:00
Tienson Qin
7d8be51072 enhance(ux): preload children references when loading a block 2025-06-17 09:20:26 +08:00
Tienson Qin
3759046885 Merge branch 'master' into refactor/page-parent 2025-06-17 08:09:57 +08:00
Gabriel Horner
2e19702afc fix: property? should not treat classes as properties 2025-06-17 06:29:01 +08:00
Tienson Qin
096c474654 fix: add migration to separate properties from classes 2025-06-17 06:29:01 +08:00
Tienson Qin
bb46a48322 fix: pages shouldn't have :block/page attribute 2025-06-16 20:43:09 +08:00
Tienson Qin
5c506e340a fix: lint 2025-06-16 19:51:12 +08:00
Tienson Qin
b348b031e4 enhance(ux): able to move existing pages to Library 2025-06-16 19:00:53 +08:00
Tienson Qin
19168f92f7 fix: don't validate empty pages for Library pages 2025-06-16 15:50:34 +08:00
Tienson Qin
ed42ae17b2 enhance: able to delete pages from Library 2025-06-16 15:05:13 +08:00
charlie
8e11f0c752 Merge branch 'master' into feat/capacitor-new 2025-06-16 13:57:44 +08:00
Tienson Qin
f442ae82a0 enhance(ux): able to create pages directly on Library 2025-06-16 11:05:22 +08:00
Tienson Qin
edfd020276 enhance(ux): list pages only on the Library page 2025-06-15 17:09:17 +08:00
Tienson Qin
7497363d6a chore: bump schema version 2025-06-15 08:33:15 +08:00
Tienson Qin
92ec65d61d Merge branch 'master' into refactor/page-parent 2025-06-15 08:27:33 +08:00
Tienson Qin
88216d2992 fix: able to convert an existing page to a property (#11940)
* enhance: use page as property

* fix: ensures block/uuid doesn't change after converting to property
2025-06-14 13:17:33 +08:00
Gabriel Horner
7cc9ddc26b chore: bump docs graph being tested
Hadn't been updated in over a year
2025-06-13 10:43:42 -04:00
charlie
0fe2cca44a Merge branch 'master' into feat/capacitor-new 2025-06-13 11:13:17 +08:00
Tienson Qin
6fec5f1c17 fix: don't popup property config when cmd+click the property title 2025-06-13 00:16:48 +08:00
Tienson Qin
1cac99d0c0 fix: task sort by scheduled field make empty rows disappeared
fixes https://github.com/logseq/db-test/issues/315
2025-06-12 19:26:42 +08:00
charlie
018a18253d Merge branch 'master' into feat/capacitor-new 2025-06-12 11:21:27 +08:00
Tienson Qin
be66270a49 fix: filters not work for linked references (#11937)
* fix: linked references

* Using datascript query for linked references

* don't render blocks children that have excluded refs

* fix: set persistent width for reference filter

* fix: duplicated refs

* fix: separate queries for children refs and non-children refs

* refactor: move reference fns to logseq.db.common.reference

* fix: set matched children ids even if it's empty

* add tests

* add unlinked reference test

* add transit files to typos ignore

* don't memoize on node

* add comment
2025-06-12 01:56:13 +08:00
Gabriel Horner
658a25b1b5 chore: bump nbb-test-runner
Bump to upstream version now that
https://github.com/nextjournal/nbb-test-runner/pull/3 is merged
2025-06-10 08:47:52 -04:00
charlie
0b3cbaaa6d Merge branch 'master' into feat/capacitor-new 2025-06-10 16:52:17 +08:00
Gabriel Horner
3fa32ae990 fix(dev): CLI import not copying assets to correct location 2025-06-09 12:38:23 -04:00
Tienson Qin
b1ee3f5a5a fix: applying a template to the Journal tag removes it
This commit also add #Template when assigning template applied to.

Related to https://github.com/logseq/db-test/issues/312.
2025-06-09 21:10:51 +08:00
Tienson Qin
9f50aca908 fix: no child block inheritance from parent blocks when filtering
related to https://github.com/logseq/db-test/issues/304
2025-06-09 20:36:19 +08:00