Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(server): add min/max to spacing fields #646

Merged
merged 1 commit into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions server/e2e/gql_property_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,23 @@ func updatePropertyValue(e *httpexpect.Expect, propertyID, schemaGroupID, itemID
updatePropertyValue( input: { propertyId: $propertyId, schemaGroupId: $schemaGroupId, itemId: $itemId, fieldId: $fieldId, value: $value, type: $type } ) {
property {
id
schema{
id
groups{
fields{
fieldId
type
title
description
prefix
suffix
defaultValue
ui
min
max
}
}
}
}
propertyField {
id
Expand Down
16 changes: 16 additions & 0 deletions server/pkg/builtin/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2031,6 +2031,8 @@ extensions:
type: spacing
title: Padding
ui: padding
min: 0
max: 100
- id: gap
title: Gap
type: number
Expand Down Expand Up @@ -2093,6 +2095,8 @@ extensions:
type: spacing
title: Padding
ui: padding
min: 0
max: 100
- id: default
title: Text
fields:
Expand All @@ -2113,6 +2117,8 @@ extensions:
type: spacing
title: Padding
ui: padding
min: 0
max: 100
- id: default
title: MD Text
fields:
Expand All @@ -2133,6 +2139,8 @@ extensions:
type: spacing
title: Padding
ui: padding
min: 0
max: 100
- id: default
title: Image
fields:
Expand All @@ -2153,6 +2161,8 @@ extensions:
type: spacing
title: Padding
ui: padding
min: 0
max: 100
- id: default
title: Video
fields:
Expand All @@ -2173,6 +2183,8 @@ extensions:
type: spacing
title: Padding
ui: padding
min: 0
max: 100
- id: default
title: Camera Button
list: true
Expand Down Expand Up @@ -2204,6 +2216,8 @@ extensions:
type: spacing
title: Padding
ui: padding
min: 0
max: 100
- id: default
title: Link Button
list: true
Expand Down Expand Up @@ -2235,6 +2249,8 @@ extensions:
type: spacing
title: Padding
ui: padding
min: 0
max: 100
- id: default
title: Timeline
fields:
Expand Down
Loading