Commit Graph

15343 Commits (eb9f422a6bfc520c6d21ec85fcdc554268e9243a)

Author SHA1 Message Date
Gabriel Horner eb9f422a6b fix: can't add a new page property 2024-04-15 16:10:45 -04:00
Tienson Qin 09f65cf842 fix: lazy load properoty value blocks 2024-04-16 00:49:29 +08:00
Gabriel Horner 236a28764b fix: new property values invalid because of placeholder
Also use cardinality in validation instead of previous hacky value-based
detection. Also disable closed-values generation so new graphs can
temporarily be valid
2024-04-15 12:22:21 -04:00
Gabriel Horner f57b0f137e fix: property always updating updated-at
updated-at is meaningless if it's always updated, especially when
updated for property values. Only update it if property itself has
changed
2024-04-15 11:02:08 -04:00
Gabriel Horner b390459a61 fix: can't uncheck checkbox property val 2024-04-15 09:56:47 -04:00
Tienson Qin dbab96771c fix: refresh property value ui when block values have been retracted 2024-04-15 21:40:57 +08:00
Gabriel Horner 8ec360759a enhance(dev): humanize option for validation script
also fix nil entity query results
2024-04-15 09:36:09 -04:00
Tienson Qin 4828cfa17d fix: handle situations when block values have been retracted 2024-04-15 21:05:11 +08:00
Tienson Qin fb93a35fbc fix: store text values as entities 2024-04-15 20:39:36 +08:00
Tienson Qin 7fb5fb7511 fix: add pair with existing property 2024-04-15 19:18:20 +08:00
Tienson Qin 3beb10c5cb enhance: store property text as blocks 2024-04-15 18:53:06 +08:00
Tienson Qin 9725934af8 fix: multi-line block content not saved 2024-04-15 17:53:10 +08:00
Tienson Qin e19879a12a fix: cleanup property related data 2024-04-15 17:00:46 +08:00
Tienson Qin 960033d9f5 fix: date picker updated value not refreshed on UI 2024-04-15 16:35:22 +08:00
Tienson Qin 4616fcb697 fix: date picker 2024-04-15 16:19:42 +08:00
Tienson Qin ac23d31f85 fix: date picker button align 2024-04-15 16:11:07 +08:00
Tienson Qin d30e20e4eb enhance: move tags outside page info 2024-04-15 14:43:55 +08:00
Tienson Qin ff53ed811c fix: display viewable properties 2024-04-15 13:52:49 +08:00
Tienson Qin 3e0849cb16 fix: set more properties as hidden properties 2024-04-15 13:01:46 +08:00
Tienson Qin 81da3a9960 enhance: move tags and icon to properties area too 2024-04-15 12:52:53 +08:00
Tienson Qin dd0de0b45f fix: closed value icon 2024-04-15 12:11:45 +08:00
Tienson Qin 837e1aad6d fix: property set icon 2024-04-15 12:00:12 +08:00
Tienson Qin afde2df1f0 fix: lint 2024-04-15 11:40:18 +08:00
Tienson Qin 356f45b8e5 Merge branch 'feat/db' into refactor/db-properties-schema 2024-04-15 11:38:34 +08:00
charlie 2ba9f28026 Merge branch 'master' into feat/db 2024-04-15 07:58:14 +08:00
charlie 1e6a7f9010 fix(ui): close all for the shui popups 2024-04-14 11:18:11 +08:00
charlie 956f380ddc fix(plugin): props for the sdk editor component 2024-04-14 11:17:46 +08:00
Tienson Qin e66e8d245e fix: cycle todos 2024-04-14 08:46:34 +08:00
Tienson Qin ebe67390fa perf: no need to get all the property pairs when asking for only one 2024-04-14 08:33:53 +08:00
Tienson Qin e03b5a2322 fix: property pairs lazy load 2024-04-14 08:19:59 +08:00
Tienson Qin 47abd92155 fix: load property pairs too when lazy load a block 2024-04-14 08:13:10 +08:00
Tienson Qin 3efc85ca6c fix: can't edit page text value properties 2024-04-14 08:03:20 +08:00
Tienson Qin 16a39c8e7b fix: tags not displayed for blocks 2024-04-14 07:56:56 +08:00
Tienson Qin dd1ae2e787 fix: property multiple values 2024-04-14 07:36:38 +08:00
Tienson Qin 52c7281e51 fix: debug block/page 2024-04-14 07:30:46 +08:00
Tienson Qin 10cb5b6d10 fix: property value not refreshed after adding new pair 2024-04-14 07:24:16 +08:00
rcmerci 836cedfd7f fix(undo): sort&merge undo-ops
because maybe some ops depend-on others, e.g. insert parent first then
its children.
2024-04-13 19:53:38 +08:00
Gabriel Horner 8ac39b3cbb fix: adding new properties for some property actions
Also removed duplicate helper fn
2024-04-12 21:53:04 -04:00
Gabriel Horner b99af712b2 fix: validating user :many properties
User properties with :many cardinality were overriding each other
instead of aggregating
2024-04-12 17:33:56 -04:00
Gabriel Horner 90a7fe62c6 fix: generating graph with properties 2024-04-12 17:07:58 -04:00
Gabriel Horner 8cbc0ac32a fix: validate property values 2024-04-12 15:27:26 -04:00
Gabriel Horner 7003903edd fix: new graph creates hidden pages all with same name '$$$' 2024-04-12 12:50:09 -04:00
Gabriel Horner 4771a97d09 fix: page-property rules to use latest schema 2024-04-12 12:29:47 -04:00
Gabriel Horner 4f3b7e7687 fix: ref checks in schema
attribute in the wrong schema and db graph only vars had file graph
keys. Also temp fix to avoid crashing ui with props
2024-04-12 12:15:59 -04:00
Gabriel Horner b2a22498ea fix: closed validation with new properties
Also fix group error reporting incorrectly and improve it by adding
:db/id
2024-04-12 11:32:03 -04:00
Gabriel Horner 354c0c1e42 fix: built-in? helper and most deps tests
Also fix validate script's count
2024-04-12 10:04:43 -04:00
charlie 1bbb8c7831 enhance(plugin): more args extensible for the exported editor component 2024-04-12 12:49:35 +08:00
rcmerci f0275db47d test(undo): update-block-op add more attrs 2024-04-12 12:01:38 +08:00
rcmerci e76a672918 enhance(undo): support :block/collapsed? 2024-04-12 11:33:16 +08:00
Gabriel Horner 97367c3d4f fix: add timestamps to built-in property pair
Also cleanup build-initial-properties and remove unused ns
2024-04-11 18:23:52 -04:00