Gabriel Horner
455ccec296
chore: rename sqlite.build edn to remove mention
...
of schema. schema concept no longer exists and these old
names would be confusing
2025-01-21 14:22:16 -05:00
Gabriel Horner
5cdc35b962
chore: mv 2 helper fns that are only used in one ns
...
to their respective ns
2025-01-21 13:55:58 -05:00
Gabriel Horner
9ca0ca1523
chore: cleanup schema mapping spread across the app
...
Now that schema is no longer a persisted concept there is no need
to spread built-in-properties keyword mappings across the app.
Doing so makes built-in-properties more rigid as it would be
needlessly coupled to the frontend, exporter and migrations.
With this cleanup it'll be easy to deprecate :schema from
built-in-properties when we need to
2025-01-21 12:57:51 -05:00
Gabriel Horner
878f0f869b
fix: logseq.property/value isn't a schema property
...
Was mistakenly put in because it started with 'property' previously.
Also cleaned up get-property-schema since it overlaps with
schema-properties and removed an unnecessary use of get-property-schema
2025-01-21 09:53:34 -05:00
Gabriel Horner
fab1de6429
fix(regression): changing a property type
...
from ref to non-ref e.g. :default to :checkbox
created an unusable property type since :db/valueType
wasn't removed
2025-01-20 18:12:50 -05:00
Gabriel Horner
7b2d5ceebd
fix: changing property type or cardinality
...
doesn't update its timestamp. Changing a property's core behavior is
worthy of a timestamp update
2025-01-20 17:13:09 -05:00
Gabriel Horner
bb1f20048c
fix(regression): changing property cardinality dropped :db/valueType
2025-01-20 17:00:37 -05:00
Gabriel Horner
bcd1d33940
fix(regression): can't edit property name from config
2025-01-20 15:53:50 -05:00
Gabriel Horner
69f5818604
fix: delete existing graph for properties script
...
Didn't work when just graph name is given. Also remove test graph
that was accidentally checked in
2025-01-20 12:26:56 -05:00
Gabriel Horner
eed3d76970
fix: migrating empty graph has one invalid property
2025-01-20 11:32:20 -05:00
Gabriel Horner
53ed226d53
fix: bootstrapping of properties
...
Some bootstrapped properties weren't in indexes. Didn't need
all schema properties to be bootstrapped, just the first 2.
Also fixed built-in? having the wrong title
2025-01-18 00:50:08 -05:00
Gabriel Horner
0181a332ab
Merge branch 'feat/db' into refactor/block-schema
2025-01-17 15:50:50 -05:00
Gabriel Horner
3a62177082
chore: rename public property to publishing-public?
...
Since #11673 will provide a lower level public? property,
made sense to rename to avoid confusion between public and public?.
Also start deprecating :name config in built-in-properties as it
is barely used and is somewhat confusing
2025-01-17 15:29:20 -05:00
Gabriel Horner
bec095ee6c
fix(regression): properties and classes collapsed on publishing
...
Properties and class pages have critical info in their properties.
When reading on a published site, it's bad ux to have this useful info
hidden on hover
2025-01-17 13:48:59 -05:00
Gabriel Horner
fdfcc4fb1a
fix: public publishing pages missing tags, properties
...
and property values that are nodes
2025-01-17 12:41:29 -05:00
Tienson Qin
7cda45eea9
fix: migration
2025-01-17 17:42:56 +08:00
charlie
a15a9e15b1
enhance(plugin): install plugin from Github releases for development mode
2025-01-17 16:50:24 +08:00
Gabriel Horner
5c52cac2d4
fix: init properties after merge
2025-01-16 17:12:29 -05:00
Gabriel Horner
68896c257f
Merge branch 'feat/db' into refactor/block-schema
2025-01-16 17:11:53 -05:00
Gabriel Horner
961f6ec241
fix: tests and incorrect schema property detection after rename
2025-01-16 16:41:55 -05:00
Gabriel Horner
7e89dd3865
fix: don't initialize rtc components in publishing
2025-01-16 15:20:24 -05:00
Gabriel Horner
fb5dbaac02
fix(regression): multiple ways to edit property config when published
2025-01-16 15:06:45 -05:00
Gabriel Horner
27a8ec636b
fix: publishing failing to load
...
Was calling enable-sqlite-wal-mode on nil client-ops-db
2025-01-16 11:56:21 -05:00
Gabriel Horner
e61f046be5
fix: publishing failing to load on undefined LSPluginCore
...
Plugins shouldn't be on for publishing. Moved PUBLISHING to
common-config as it is now relied on by frontend.util. Also removes
needless state/publishing? and its wonky initialization
2025-01-16 11:44:05 -05:00
charlie
cd4d675bf3
fix(e2e-tests): api related tests
2025-01-16 15:00:09 +08:00
Gabriel Horner
769e68a3c6
enhance(dev): add :dispatch-key to validate-db! errors
...
so it's available to tests and to app
2025-01-15 18:04:47 -05:00
Gabriel Horner
a2609f4d9d
enhance: Allow built-in properties to use most properties
...
without hardcoded configuration. For example
:logseq.property/description can be added to any built-in property that is below
it in built-in-properties. Added descriptions to scheduled and deadline
since it's not obvious from their ux how they differ
2025-01-15 16:24:46 -05:00
Tienson Qin
50bf71a673
fix: tests
2025-01-16 01:33:43 +08:00
Tienson Qin
c26b3507b0
chore: remove bak
2025-01-16 01:21:23 +08:00
Tienson Qin
59054c4eee
fix: tests
2025-01-16 01:03:20 +08:00
Tienson Qin
20fad17f5d
Merge branch 'feat/db' into refactor/block-schema
2025-01-16 01:01:06 +08:00
Tienson Qin
c1ae8f6793
fix: duplicated key
2025-01-16 00:55:53 +08:00
charlie
ab6abef14d
fix(apis): sanitize property key from the plugin id
2025-01-15 22:15:50 +08:00
Tienson Qin
bd96226443
fix: lint
2025-01-15 19:51:28 +08:00
Tienson Qin
1d9fbc8a3d
perf: reduce :block/properties calls on db graphs
...
`:block.temp/property-keys` was added to get all the properties
for given entity.
2025-01-15 19:35:09 +08:00
charlie
029a3e07cb
enhance(apis): property prefix for the block property key
2025-01-15 15:30:18 +08:00
Tienson Qin
a7e9d073cd
chore: rename :property/* to :logseq.property/*
2025-01-15 14:59:08 +08:00
rcmerci
d14c4393f9
chore: update comment
2025-01-15 12:22:04 +08:00
Gabriel Horner
04aa88b43e
fix: importer fails when misconfigure journal ref is a property value
...
Fixes failure Ramses graph is seeing. Also fix typo in test graph
causing blank journal ref
2025-01-14 11:58:37 -05:00
Gabriel Horner
2a4f49e541
enhance: importer can import :logseq.task/scheduled
...
Follow up to #11654 . Fixes
https://test.logseq.com/#/page/677d36f0-5d8f-4b82-85ad-486d81a46e7e
2025-01-14 08:43:21 -05:00
charlie
03592a26b6
chore: typo
2025-01-14 17:51:53 +08:00
charlie
9224df59cc
enhance(apis): add remove property & types
2025-01-14 17:51:15 +08:00
Tienson Qin
f28c698909
fix: tests
2025-01-14 16:03:35 +08:00
Tienson Qin
f05cb555fe
Merge branch 'feat/db' into refactor/block-schema
2025-01-14 15:43:39 +08:00
Tienson Qin
d7590fddc7
fix: schema validation for hidden pages
2025-01-14 15:34:05 +08:00
Tienson Qin
868f066e07
enhance: use :property/hide? for hidden pages instead of public?
2025-01-14 15:30:05 +08:00
charlie
ac3b643a11
chore(dev): react key warnings
2025-01-14 15:13:08 +08:00
charlie
0b7c9b4a26
chore(dev): patch console error for React
2025-01-14 15:02:50 +08:00
Tienson Qin
7f17532e04
fix: react key warning
2025-01-14 15:01:26 +08:00
rcmerci
22fcaa2452
chore: update docstring
2025-01-14 14:59:43 +08:00