Commit Graph

1926 Commits

Author SHA1 Message Date
Tienson Qin
5d6f5ad8dd fix: a few bugs on sentry 2025-06-19 14:33:22 +08:00
Tienson Qin
477029d2ed fix(regression): assets referenced in blocks do not load correctly
on initial graph load

fixes https://test.logseq.com/#/page/6852fb42-bb45-486c-82cc-23ce9a4013d4
2025-06-19 14:11:52 +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
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
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
bb31c4e6f1 fix: importing assets in subdirectories
Also fix lint
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
ed42ae17b2 enhance: able to delete pages from Library 2025-06-16 15:05:13 +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
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
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
charlie
336f76b2fe Merge branch 'master' into feat/capacitor-new 2025-06-09 09:02:36 +08:00
Tienson Qin
6551c9ba9f fix: query tables not rendering contents on app start up
Related to https://github.com/logseq/db-test/issues/310
2025-06-08 23:12:36 +08:00
Tienson Qin
dc8f2f4984 fix: redirect to alias 2025-06-08 16:52:06 +08:00
Tienson Qin
9cf01cecdf fix: pages not resolved until visited
related to https://github.com/logseq/db-test/issues/291
2025-06-08 11:22:24 +08:00
Tienson Qin
3cbdcfc1b9 fix: no child block inheritance from parent blocks when filtering
fixes https://github.com/logseq/db-test/issues/304
2025-06-08 09:57:06 +08:00
Gabriel Horner
ec22e71df5 fix: bump nbb-logseq to include datascript and nbb fixes 2025-06-06 11:45:25 -04:00
Tienson Qin
c74abbb7a3 Merge branch 'master' into feat/capacitor-new 2025-06-06 10:28:24 +08:00
Tienson Qin
c264599d6b fix: valid datoms are skipped from tail address 2025-06-06 05:48:48 +08:00
Gabriel Horner
f6d8595645 fix: view edn export fails for group by
Fixes https://github.com/logseq/db-test/issues/300
2025-06-05 10:07:31 -04:00
Tienson Qin
a4bfa4477e Merge branch 'master' into feat/capacitor-new 2025-06-03 00:36:17 +08:00
Tienson Qin
17f5e9127c fix: don't collapse blocks in list views if there's no children 2025-06-02 23:48:35 +08:00
Gabriel Horner
ec668757fe fix(dev): exclude long running test in db dep
e.g. `yarn test -e long`
2025-06-02 09:42:49 -04:00
charlie
48d541acd0 Merge branch 'master' into feat/capacitor-new 2025-06-02 20:05:31 +08:00
Gabriel Horner
1336b46941 chore: change test flag for use with test --exclude
:focus is for one-time dev use
2025-06-02 11:13:43 +08:00
Tienson Qin
ad190a0f3a full-gc run when from user command
Also, update gc to run every 3 days
2025-06-02 11:13:43 +08:00
Tienson Qin
524260f6ec add gc walk addresses 2025-06-02 11:13:43 +08:00