Commit Graph

3732 Commits

Author SHA1 Message Date
Gabriel Horner
b8c569f1c4 fix: importer failing and invalid on two page to class conversion cases
Failed for edge case when page converts to class via -p or -P. Page to
class conversions sometimes resulted in invalid :block/tags. Also
cleaned up last of class or page tx that were embedded in db attributes
2025-01-09 20:57:40 -05:00
Gabriel Horner
697147540f fix: importer fails to find classes with property-parent-classes option
when on pages that have the same name as a built-in
2025-01-09 14:51:24 -05:00
Tienson Qin
68f758cdc9 fix: invalid data
/Validate current graph will try to fix those errors.

fixes https://github.com/logseq/db-test/issues/205.
2025-01-09 21:15:12 +08:00
rcmerci
3a43a81bc5 enhance(rtc): client-ops generator ignore attrs if possible 2025-01-09 18:07:13 +08:00
rcmerci
9db946c605 enhance: apply defkeywords to built-in classes, add some rtc related keywords 2025-01-09 18:07:13 +08:00
Gabriel Horner
e0b5dace85 fix: can't create page with tag from cmd-k
e.g. `Foo #Movie`. Also cleanup build-new-class which shouldn't allow
for db-ident overrides
2025-01-08 14:16:49 -05:00
Gabriel Horner
e8659d6552 fix: remove unused check in class?
That check was used in an earlier version of #11634 when Tag didn't have
:block/tags
2025-01-08 11:55:00 -05:00
Gabriel Horner
0db34bc921 fix: debug check failing importer
Only failed in prod. Fixes https://github.com/logseq/db-test/issues/206
2025-01-08 10:58:50 -05:00
Gabriel Horner
b44d644aba fix: deps tests failing to run due to missing var 2025-01-08 09:16:39 -05:00
Gabriel Horner
90924816f9 fix: common lints 2025-01-08 09:11:22 -05:00
rcmerci
8470da1786 enhance: defkeywords all built-in-properties 2025-01-08 22:00:08 +08:00
rcmerci
7b9ae93982 enhance: add logseq.common.defkeywords 2025-01-08 21:22:22 +08:00
Gabriel Horner
cadb00279c fix: exporter :datetime tests failing locally
caused by e522c73fe2
2025-01-07 17:11:51 -05:00
Gabriel Horner
c6f3eb67c1 fix: history/scalar-value schema
wrong type and didn't handle false
2025-01-07 14:12:45 -05:00
Gabriel Horner
5ac24abf41 fix: property history schema not specifying used properties
property history would be buggy if it was missing its properties
2025-01-07 12:48:30 -05:00
Gabriel Horner
a91d1d9f94 fix: db test 2025-01-07 09:34:32 -05:00
Tienson Qin
cdbe7b2d55 fix: forget to add scheduled to #Task 2025-01-07 22:02:35 +08:00
Tienson Qin
e522c73fe2 fix: Task doesn't repeat with a user :date property 2025-01-07 19:57:56 +08:00
Tienson Qin
800e30c409 fix: remove duplicated contents page 2025-01-07 10:38:44 +08:00
Tienson Qin
c15a43b3ab fix: hidden pages 2025-01-06 21:00:39 +08:00
Tienson Qin
d7cfe4171d fix: transact bootstrap properties first 2025-01-06 20:47:14 +08:00
Tienson Qin
89f52292e1 handle more :block/schema cases 2025-01-06 20:04:08 +08:00
Tienson Qin
9b751126d2 wip: replace :block/schema with corresponding properties 2025-01-06 11:41:38 +08:00
Tienson Qin
8a0a05183e refactor: remove :block/format for db graphs (#11667) 2025-01-05 12:10:47 +08:00
Tienson Qin
b24ad28bac feat: time tracking (#11666)
* Schema update for property history

* feat: record property history

* Initial support for time tracking

* enhance: status history view

* fix: reactive time tracking

* fix: tests

* enhance: set max height for status history

* enhance: disable some options for property enable-history?

* address suggestions from zhiyuan

* fix: spent-time for doing tasks

* enhance: status history support reverse order

* chore: merge feat/db
2025-01-05 11:49:34 +08:00
Gabriel Horner
1bba10c266 fix: graph counts after validation are wrong
after type->tags migration. Also update recommended validate cli options
to default to true. Also clean up graph counts spread across two
validators and importer. The property-pairs count in the UI were way off
because they were only counting pairs that are validated by malli-schema
2025-01-04 02:14:39 -05:00
Gabriel Horner
96c1cc5777 fix: unstable deadline tests for exporter 2025-01-03 17:32:01 -05:00
Gabriel Horner
0b87c36d65 chore: remove unused deps from common 2025-01-03 15:19:54 -05:00
Gabriel Horner
d1748a18d8 fix: deleting built-in blocks from queries
Was possible to delete built-in closed values from queries
like `(property :logseq.property/created-from-property)`
2025-01-03 14:07:25 -05:00
Gabriel Horner
d9d9d26116 fix: tweak file-block schema for migrations
Related to new fix-block-timestamps! in migration
2025-01-03 11:32:25 -05:00
Gabriel Horner
b7723db753 fix: importer importing some pages as both Tag and Page
Also fixed using pages as a tag first time via '#' didn't build tx correctly.
Fixing these allowed for enabling logseq.class/Page validation
2025-01-02 17:29:22 -05:00
Gabriel Horner
3d42cf7522 fix: bump nbb-logseq so that nbb scripts
that have already downloaded feat-db-v16 can use the latest nbb-logseq
2025-01-02 16:09:25 -05:00
charlie
a2b0afb5d9 chore(dev): fix react warnings 2025-01-01 17:14:33 +08:00
charlie
4bcda99145 enhance(rum): adapt react class for the component friendly keys warning 2024-12-31 18:47:05 +08:00
charlie
91f3dc3d41 chore(dev): react keys warnings 2024-12-31 16:16:13 +08:00
Tienson Qin
dd294992a7 fix: react key warnings 2024-12-30 09:37:17 +08:00
Tienson Qin
c75efabc04 fix: react key warning 2024-12-30 09:22:08 +08:00
Tienson Qin
985365a274 fix: ensure built-in data exists 2024-12-30 08:49:12 +08:00
Tienson Qin
0856030e8b Merge branch 'feat/db' into feat/repeated-tasks 2024-12-30 06:13:10 +08:00
Tienson Qin
bc362c30eb suggestions from zhiyuan 2024-12-30 05:52:50 +08:00
rcmerci
fe5ba4ff42 enhance: update entity-memoized 2024-12-29 16:36:07 +08:00
Tienson Qin
64734820df Merge branch 'feat/db' into feat/repeated-tasks 2024-12-29 16:05:24 +08:00
Tienson Qin
5a374c9e11 fix: don't cache nil as seen immutable entities 2024-12-29 15:20:45 +08:00
rcmerci
c2bb6eb86b fix lint 2024-12-29 12:20:28 +08:00
rcmerci
201a18fe5f fix: has-tag? need nbb compatible 2024-12-29 12:15:19 +08:00
rcmerci
4ad4019bf5 perf: faster has-tag? 2024-12-28 23:37:57 +08:00
rcmerci
a82d4ba150 fix: db/entid not found in nbb 2024-12-28 17:20:27 +08:00
rcmerci
70777ea473 fix: deps/ test 2024-12-28 17:03:52 +08:00
rcmerci
f7815b487d fix: nbb test 2024-12-28 16:39:33 +08:00
rcmerci
26e2fad13d fix: move missionary_util to deps/common, fix some deps issue 2024-12-28 14:22:16 +08:00