Commit Graph

13709 Commits

Author SHA1 Message Date
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
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
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
bcd1d33940 fix(regression): can't edit property name from config 2025-01-20 15:53:50 -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
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
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
Tienson Qin
20fad17f5d Merge branch 'feat/db' into refactor/block-schema 2025-01-16 01:01:06 +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
charlie
9224df59cc enhance(apis): add remove property & types 2025-01-14 17:51:15 +08:00
Tienson Qin
f05cb555fe Merge branch 'feat/db' into refactor/block-schema 2025-01-14 15:43:39 +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
Gabriel Horner
c87da72b95 enhance: allow a tag to be converted back to a page
People do sometimes accidentally tag a page like in
https://github.com/logseq/db-test/issues/201 and should have a way to
undo it
2025-01-13 17:43:21 -05:00
Gabriel Horner
86807f5420 fix: frontend lint 2025-01-13 11:47:28 -05:00
Gabriel Horner
1ab621069d enhance: importer displays one notification about ignored files
rather than one notification per file. Also ignore pdf highlight pages
as user graphs shouldn't fail hard on features that aren't imported yet.
This allowed the user graph in
https://github.com/logseq/db-test/issues/191 to import without errors
2025-01-13 11:44:02 -05:00
Tienson Qin
911d45616a fix: tests 2025-01-13 16:58:53 +08:00
Tienson Qin
61a895fbd3 fix: tests 2025-01-13 16:31:39 +08:00
Tienson Qin
2c04eb76d7 fix: db tests 2025-01-13 16:20:45 +08:00
charlie
ba9b84c206 fix(e2e): plugin apis related tests 2025-01-13 12:07:47 +08:00
Tienson Qin
1535816625 Rename position to ui-position 2025-01-13 10:06:48 +08:00
Tienson Qin
93a7034249 Remove more cases of :block/schema 2025-01-13 10:00:00 +08:00
rcmerci
18d4afa482 fix: profile multi-arity fns 2025-01-12 23:08:15 +08:00