Commit Graph

15367 Commits (9bab096def6570e2f8b7cac373d9eea3cbb3bb03)

Author SHA1 Message Date
Gabriel Horner 9bab096def fix: built-in string properties with internal :string type
Also fix a bug that caused numbered list to fail after first item
2024-04-18 09:06:10 -04:00
Gabriel Horner 390892e524 fix: build all closed value property types correctly
Fixes building of :url and :number closed value properties which
affected properties graph and would effect future built-in properties.
Also simplify translation of property values by keeping it only
in create-graph namespaces
2024-04-17 15:52:55 -04:00
Gabriel Horner 71aa3fed7b fix and enhanced validation of property values
Fixed close value validation of url and number.
Enhanced :default, :page and :date types with stricter checks.
Closed values are now validated at the malli-schema level
2024-04-17 11:12:27 -04:00
Tienson Qin 330ec99063 fix: align property values and other blocks 2024-04-17 23:00:55 +08:00
Tienson Qin 2884fc7f52 fix: select of :default typed closed values 2024-04-17 22:53:15 +08:00
Tienson Qin d4b2958af7 fix: add new closed value to :default type property 2024-04-17 21:18:00 +08:00
Tienson Qin bcf0d5b7cf fix: hide bullet only 2024-04-17 19:53:08 +08:00
Tienson Qin 36acf6096c enhance: hide bullet when :default has only one child block 2024-04-17 19:48:26 +08:00
Tienson Qin ed8aa987c0 fix: toggle displaying page properties 2024-04-17 12:44:29 +08:00
Tienson Qin acf5512b30 Increase property gap 2024-04-17 12:44:29 +08:00
Gabriel Horner 8f806dbbab chore: use block/properties instead of property?
don't need guess at property keys anymore
2024-04-16 16:25:59 -04:00
Gabriel Horner 37974a8e80 fix: built-in? not working
Also fix :entity type incorrectly allowing things to be edited as
:default when it's an internal property type. No longer need this as
:default can be used for closed :entity values
2024-04-16 14:57:43 -04:00
Gabriel Horner 0aa4bda66c fix: inlined db-based-graph? calls in db-property
Addressed fixmes for db-based-graph fns that were inlined to prevent
circular dependencies b/n db-property and sqlite-util.  Moved multi
graph fns to db-property-util and existing db-property-util to
db-property-build to address this
2024-04-16 14:43:28 -04:00
Tienson Qin bacba9db6e fix: delete property pair entities when deleting a property page 2024-04-17 01:56:34 +08:00
Gabriel Horner 6f5b744189 fix: use user-property type :default for public built-in properties
Fixes a property configuration issues since configuration works with
user-property types. Also remove :entity from UI as it is an internal
property type and we can now use :default type
2024-04-16 12:29:24 -04:00
Gabriel Horner 0853940a34 fix: closed :default values validate correctly
and values can be selected from UI. Also tweak query to expand
properties if available
2024-04-16 11:59:04 -04:00
Tienson Qin 5833b84889 fix: closed values tempid errors 2024-04-16 23:56:51 +08:00
Tienson Qin adcc76eac4 fix: keep property cardinality when switching to closed values 2024-04-16 23:38:38 +08:00
Tienson Qin 2195c4b63a fix: convert to ref type when updating a property to closed values 2024-04-16 23:24:53 +08:00
Tienson Qin 8554e15be7 fix: closed values for default type 2024-04-16 21:04:19 +08:00
Tienson Qin 202576a862 fix: load property pairs for structured blocks 2024-04-16 16:30:03 +08:00
Tienson Qin daafe5f4e0 fix: default type values 2024-04-16 15:56:43 +08:00
Tienson Qin ee9391e091 fix: display class properties 2024-04-16 15:07:42 +08:00
Gabriel Horner 1e1a17aaf4 fix: validation of single value for a :many property
Single value of a :many property wasn't being rolled up as a set,
in CLI or in app validation
2024-04-15 17:17:24 -04:00
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