Commit Graph

2083 Commits

Author SHA1 Message Date
Tienson Qin
30053d372b fix: can't edit block type property value after it's deleted 2024-03-30 04:20:42 +08:00
Gabriel Horner
e08e52acd3 enhance: db graph importer supports optional parent class property 2024-03-29 10:37:09 -04:00
Tienson Qin
81b09cdfc8 feat: dynamic db attributes 2024-03-29 20:33:18 +08:00
Tienson Qin
9d5008d0a4 bump datascript 2024-03-29 17:48:08 +08:00
charlie
833384a361 enhance(ux): diagnosis for the shui popup trigger response is not immediate enough 2024-03-29 16:40:30 +08:00
Tienson Qin
fe922ba035 fix: rename logseq.property/status to logseq.task/status 2024-03-29 16:22:45 +08:00
Tienson Qin
958507262e Merge branch 'feat/db' into refactor/db-properties-schema 2024-03-29 15:51:28 +08:00
Tienson Qin
f7d418c376 fix: class schema 2024-03-29 14:14:36 +08:00
Tienson Qin
2c26581815 fix: add schema spec for :class/schema.properties 2024-03-29 14:03:41 +08:00
Tienson Qin
872bc00216 fix: db ident 2024-03-29 13:04:50 +08:00
Tienson Qin
5660d420fb fix: class properties order 2024-03-29 11:27:58 +08:00
Tienson Qin
cda9ac3e26 fix: display class properties 2024-03-29 10:02:29 +08:00
Tienson Qin
9115ca72ad fix: wrong arguments 2024-03-29 09:18:06 +08:00
Tienson Qin
da42189deb fix: property ref value 2024-03-29 09:02:51 +08:00
Gabriel Horner
2e580df0da chore: rename exporter built-in property
use dashes like other built-ins
2024-03-28 14:41:37 -04:00
Gabriel Horner
ad35e83958 enhance: properties can also be block only
configure built-in properties that are block only.
Fixes LOG-2874
2024-03-28 13:44:29 -04:00
Gabriel Horner
3e5e7f9f7e enhance: built-in properties can be page only
This allows properties like alias and public to not
show up nonsensically in block contexts. In the case
of alias it fixed a bug where it couldn't be removed from a block
context. Also fixed :public property losing its :public?

Part of LOG-2874
2024-03-28 11:20:32 -04:00
Gabriel Horner
e0c6cc1514 fix: deprecate :macros property for db graphs
It's not used much and would require building a new UI since
we don't have one yet for a :map type property
2024-03-28 09:13:39 -04:00
Tienson Qin
41e2944720 Replace more property name usage with db/ident 2024-03-28 20:41:12 +08:00
Tienson Qin
8d31f94b24 Remove :block/uuid and :block/name for properties 2024-03-28 17:37:28 +08:00
charlie
1364e25714 enhance(ui): polish the shui dialog details 2024-03-28 14:32:56 +08:00
Gabriel Horner
9c5309da47 enhance: frontend consistently uses :db/ident
for fetching built-in properties instead of :block/name
2024-03-27 20:36:48 -04:00
Gabriel Horner
eecb510ccb enhance: built-in properties are indexed by :db/ident
built-in-properties are identified by their :db/ident instead
of :block/name. This removes reliance on :block/name and allows
us to consistently use namespaces when identifying built-in properties

:visible was renamed to :public? and is now included in :block/schema to
allow for querying. Also added a couple more new graph tests and tweaked
CI for db dep
2024-03-27 15:03:18 -04:00
charlie
6f98985aa9 enhance(ui): add shui close button for the property editor 2024-03-27 10:18:38 +08:00
Gabriel Horner
78371c1ccd fix: schema for properties and classes can have namespaces 2024-03-26 14:33:35 -04:00
Gabriel Horner
832e88b91d fix: CLI db graphs setting wrong schema
Names of db graphs do not have db-prefix from CLI. Rely on
file graph prefix which does have indicator from CLI
2024-03-26 12:21:45 -04:00
Gabriel Horner
c5f72221ea fix: update schema and script to use new attribute 2024-03-26 12:20:41 -04:00
Tienson Qin
76ebf19364 feat: class children area 2024-03-26 10:16:40 -04:00
Tienson Qin
55d7ef95dc fix: :class/parent instead of block/namespace 2024-03-26 10:16:40 -04:00
Tienson Qin
ce8c13065c wip: properties refactor 2024-03-26 14:18:33 +08:00
Gabriel Horner
eb621e191d chore: remove attribute that hasn't been used
almost 3 years. Removed it because otherwise we should make it
valid for a db graph
2024-03-25 17:21:10 -04:00
Gabriel Horner
51828ee8fe fix: invalid ident ns when creating new graph 2024-03-25 17:13:32 -04:00
Gabriel Horner
9b8540921e enhance: more property helper fns uses db-ident
instead of name
2024-03-25 16:34:51 -04:00
Gabriel Horner
dd1b0ea5f0 enhance: validate :db/ident namespaces
also add test for a new graph to be valid under malli-schema
2024-03-25 08:56:55 -04:00
Tienson Qin
33f418b297 wip: properties refactor 2024-03-25 18:56:36 +08:00
Tienson Qin
98d2b92ab1 fix: schema && built-in properties 2024-03-25 10:59:09 +08:00
Tienson Qin
16a927ad00 Bump datascript
Which enables transacting schema like other tx-data.
2024-03-25 09:45:19 +08:00
Tienson Qin
eaf9fc0d33 fix: use :schema keyword to get datascript db's schema 2024-03-24 17:47:59 +08:00
Tienson Qin
ab5022066a fix: use persisted db schema instead of the current one in code 2024-03-24 15:20:34 +08:00
Gabriel Horner
390c626897 fix: replace db-content fn with more specific one 2024-03-22 16:45:43 -04:00
Gabriel Horner
70b43ec71f fix: invalid schema with new rtc graph 2024-03-22 13:46:50 -04:00
Gabriel Horner
1198123513 fix: closed values for date property no longer available
Detected by failing db-graph-test CI job. Confirmed
that issue from 3b57fa626c
hasn't regressed
2024-03-22 12:36:14 -04:00
Gabriel Horner
429b257ee9 fix: query table rows should show page ref names
instead of special ids. Also tweaked page delete message to
remove needless contraction
2024-03-21 17:05:36 -04:00
Gabriel Horner
e3b67a9d9a fix lints 2024-03-21 12:35:28 -04:00
charlie
53125d6315 enhance(plugin): support custom routes from the plugin sdk 2024-03-21 19:07:16 +08:00
Tienson Qin
1cad8aa9bd enhance: batch refresh UI after applying remote blocks change
Fixes LOG-3114
2024-03-21 17:38:36 +08:00
Tienson Qin
eae35d60e4 fix: rebuild block refs & path-refs after downloading a remote graph
Fixes LOG-3115
2024-03-21 16:45:00 +08:00
Tienson Qin
c079f00daf fix: page/block refs lost after syncing from the server 2024-03-21 15:43:17 +08:00
Tienson Qin
3b57fa626c fix: can't add date if the property support multiple values 2024-03-20 17:24:20 +08:00
charlie
08ff5fa76f chore: polish rtc debug ui 2024-03-19 21:01:31 +08:00