Commit Graph

18735 Commits

Author SHA1 Message Date
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
rcmerci
3e025dd311 enhance: add created-by prop to blocks 2025-01-14 14:57:33 +08:00
Tienson Qin
c4e8fa1e72 fix: react key warning 2025-01-14 14:36:29 +08:00
Tienson Qin
0ac4b777d5 fix: react key warning 2025-01-14 14:35:33 +08:00
Tienson Qin
2b55e0da05 chore: disable schema fix 2025-01-14 14:18:43 +08:00
Tienson Qin
2e12918d5c Merge branch 'feat/db' into refactor/block-schema 2025-01-14 14:17:24 +08:00
Tienson Qin
9d7e164932 add migration 2025-01-14 14:16:54 +08:00
rcmerci
685e82502b chore: remove prn 2025-01-14 13:01:50 +08:00
charlie
8d778aa1e9 enhance(api): upsert/get property entity with caller key from the plugin api call 2025-01-14 10:34:07 +08:00
charlie
b3d6744298 enhance(ui): broken line for the datetime label 2025-01-14 08:51:58 +08:00