From 303378bf7d64ac059e6f9e7baf87152524ca147e Mon Sep 17 00:00:00 2001 From: Jordan McFarlane Date: Tue, 30 Apr 2024 13:42:14 +0200 Subject: [PATCH 1/3] Additional April release notes for Heartcore --- .../content-management/content/type.md | 407 +++++------------- .../release-notes/2024-04-releasenotes.md | 5 + 2 files changed, 112 insertions(+), 300 deletions(-) diff --git a/umbraco-heartcore/api-documentation/content-management/content/type.md b/umbraco-heartcore/api-documentation/content-management/content/type.md index 9e2b1ac2d9a..a3656355d61 100644 --- a/umbraco-heartcore/api-documentation/content-management/content/type.md +++ b/umbraco-heartcore/api-documentation/content-management/content/type.md @@ -93,304 +93,6 @@ Get a list of all available Content Types. }, "_embedded": { "contenttypes": [ - { - "allowCultureVariant": false, - "alias": "contentBase", - "compositions": [], - "groups": [ - { - "name": "Content", - "sortOrder": 10, - "properties": [ - { - "allowCultureVariant": false, - "alias": "pageTitle", - "label": "Page Title", - "propertyEditorAlias": "Umbraco.TextBox", - "sortOrder": 0, - "validation": { - "required": false - } - }, - { - "allowCultureVariant": false, - "alias": "bodyText", - "label": "Content", - "propertyEditorAlias": "Umbraco.TinyMCE", - "sortOrder": 1, - "validation": { - "required": false - } - } - ] - } - ], - "name": "Content Base", - "_createDate": "2019-10-04T07:10:08.99Z", - "_id": "ffb4c01b-9b1b-41b7-8a51-dd1c86b847a8", - "_updateDate": "2019-10-04T07:10:08.99Z", - "_links": { - "self": { - "href": "https://api.umbraco.io/content/type/contentBase" - }, - "root": { - "href": "https://api.umbraco.io/content/type" - } - } - }, - { - "allowCultureVariant": false, - "alias": "navigationBase", - "compositions": [], - "groups": [ - { - "name": "Navigation & SEO", - "sortOrder": 20, - "properties": [ - { - "allowCultureVariant": false, - "alias": "seoMetaDescription", - "label": "Description", - "propertyEditorAlias": "Umbraco.TextArea", - "sortOrder": 0, - "validation": { - "required": false - } - }, - { - "allowCultureVariant": false, - "alias": "keywords", - "label": "Keywords", - "propertyEditorAlias": "Umbraco.Tags", - "sortOrder": 1, - "validation": { - "required": false - } - }, - { - "allowCultureVariant": false, - "alias": "umbNaviHide", - "label": "Hide in Navigation", - "propertyEditorAlias": "Umbraco.TrueFalse", - "sortOrder": 2, - "validation": { - "required": false - } - } - ] - } - ], - "name": "Navigation Base", - "_createDate": "2019-10-04T10:15:14.937Z", - "_id": "43b0c73e-effd-4ccd-8213-9828245b3feb", - "_updateDate": "2019-10-04T10:15:14.937Z", - "_links": { - "self": { - "href": "https://api.umbraco.io/content/type/navigationBase" - }, - "root": { - "href": "https://api.umbraco.io/content/type" - } - } - }, - { - "allowCultureVariant": false, - "alias": "home", - "compositions": [], - "groups": [ - { - "name": "Hero", - "sortOrder": 0, - "properties": [ - { - "allowCultureVariant": false, - "alias": "heroHeader", - "description": "This is the main headline for the hero area on the Homepage", - "label": "Header", - "propertyEditorAlias": "Umbraco.TextBox", - "sortOrder": 0, - "validation": { - "required": true - } - }, - { - "allowCultureVariant": false, - "alias": "heroDescription", - "label": "Description", - "propertyEditorAlias": "Umbraco.TextArea", - "sortOrder": 1, - "validation": { - "required": true - } - }, - { - "allowCultureVariant": false, - "alias": "heroCTACaption", - "label": "Call to Action Caption", - "propertyEditorAlias": "Umbraco.TextBox", - "sortOrder": 2, - "validation": { - "required": true - } - }, - { - "allowCultureVariant": false, - "alias": "heroCTALink", - "label": "Call to Action Link", - "propertyEditorAlias": "Umbraco.ContentPicker", - "sortOrder": 3, - "validation": { - "required": false - } - } - ] - }, - { - "name": "Content", - "sortOrder": 1, - "properties": [ - { - "allowCultureVariant": false, - "alias": "bodyText", - "label": "Content", - "propertyEditorAlias": "Umbraco.TinyMCE", - "sortOrder": 0, - "validation": { - "required": false - } - } - ] - }, - { - "name": "Footer", - "sortOrder": 2, - "properties": [ - { - "allowCultureVariant": false, - "alias": "footerHeader", - "label": "Header", - "propertyEditorAlias": "Umbraco.TextBox", - "sortOrder": 0, - "validation": { - "required": false - } - }, - { - "allowCultureVariant": false, - "alias": "footerDescription", - "label": "Description", - "propertyEditorAlias": "Umbraco.TextArea", - "sortOrder": 1, - "validation": { - "required": false - } - }, - { - "allowCultureVariant": false, - "alias": "footerCTACaption", - "description": "Caption on the Call To Action Button", - "label": "Call to Action Caption", - "propertyEditorAlias": "Umbraco.TextBox", - "sortOrder": 2, - "validation": { - "required": false - } - }, - { - "allowCultureVariant": false, - "alias": "footerCTALink", - "label": "Call to Action Link", - "propertyEditorAlias": "Umbraco.ContentPicker", - "sortOrder": 3, - "validation": { - "required": true - } - }, - { - "allowCultureVariant": false, - "alias": "footerAddress", - "label": "Address", - "propertyEditorAlias": "Umbraco.TextBox", - "sortOrder": 4, - "validation": { - "required": true - } - } - ] - }, - { - "name": "Design", - "sortOrder": 3, - "properties": [ - { - "allowCultureVariant": false, - "alias": "heroBackgroundImage", - "description": "Spice up the homepage by adding a beautiful photo that relates to your business", - "label": "Hero Background", - "propertyEditorAlias": "Umbraco.MediaPicker", - "sortOrder": 0, - "validation": { - "required": true - } - }, - { - "allowCultureVariant": false, - "alias": "font", - "label": "Font", - "propertyEditorAlias": "Umbraco.RadioButtonList", - "sortOrder": 1, - "validation": { - "required": true - } - }, - { - "allowCultureVariant": false, - "alias": "colorTheme", - "label": "Color Theme", - "propertyEditorAlias": "Umbraco.RadioButtonList", - "sortOrder": 2, - "validation": { - "required": true - } - }, - { - "allowCultureVariant": false, - "alias": "sitename", - "description": "Used on the homepage as well as the title and social cards", - "label": "Sitename", - "propertyEditorAlias": "Umbraco.TextBox", - "sortOrder": 3, - "validation": { - "required": true - } - }, - { - "allowCultureVariant": false, - "alias": "logo", - "description": "Optional. If you add a logo it'll be used in the upper left corner instead of the site name. Make sure to use a transparent logo for best results", - "label": "Logo", - "propertyEditorAlias": "Umbraco.MediaPicker", - "sortOrder": 4, - "validation": { - "required": false - } - } - ] - } - ], - "name": "Home", - "_createDate": "2019-10-04T10:54:53.297Z", - "_id": "0a87cb29-ba6e-4520-8ce6-85e70d89e539", - "_updateDate": "2019-10-04T10:54:53.297Z", - "_links": { - "self": { - "href": "https://api.umbraco.io/content/type/home" - }, - "root": { - "href": "https://api.umbraco.io/content/type" - } - } - }, { "allowCultureVariant": false, "alias": "blog", @@ -416,6 +118,15 @@ Get a list of all available Content Types. { "allowCultureVariant": false, "alias": "bodyText", + "configuration": { + "editor": null, + "blocks": null, + "useLiveEditing": false, + "overlaySize": null, + "hideLabel": false, + "mediaParentId": null, + "ignoreUserStartNodes": false + }, "label": "Content", "propertyEditorAlias": "Umbraco.TinyMCE", "sortOrder": 1, @@ -442,6 +153,11 @@ Get a list of all available Content Types. { "allowCultureVariant": false, "alias": "keywords", + "configuration": { + "group": "default", + "storageType": "Json", + "Delimiter": "\u0000" + }, "label": "Keywords", "propertyEditorAlias": "Umbraco.Tags", "sortOrder": 1, @@ -452,6 +168,12 @@ Get a list of all available Content Types. { "allowCultureVariant": false, "alias": "umbNaviHide", + "configuration": { + "default": false, + "showLabels": false, + "labelOn": null, + "labelOff": null + }, "label": "Hide in Navigation", "propertyEditorAlias": "Umbraco.TrueFalse", "sortOrder": 2, @@ -468,6 +190,14 @@ Get a list of all available Content Types. { "allowCultureVariant": false, "alias": "howManyPostsShouldBeShown", + "configuration": { + "enableRange": false, + "initVal1": 10.0, + "initVal2": 0.0, + "minVal": 1.0, + "maxVal": 50.0, + "step": 1.0 + }, "label": "How many posts should be shown?", "propertyEditorAlias": "Umbraco.Slider", "sortOrder": 0, @@ -526,6 +256,11 @@ Get a list of all available Content Types. { "allowCultureVariant": false, "alias": "keywords", + "configuration": { + "group": "default", + "storageType": "Json", + "Delimiter": "\u0000" + }, "label": "Keywords", "propertyEditorAlias": "Umbraco.Tags", "sortOrder": 1, @@ -536,6 +271,12 @@ Get a list of all available Content Types. { "allowCultureVariant": false, "alias": "umbNaviHide", + "configuration": { + "default": false, + "showLabels": false, + "labelOn": null, + "labelOff": null + }, "label": "Hide in Navigation", "propertyEditorAlias": "Umbraco.TrueFalse", "sortOrder": 2, @@ -562,6 +303,11 @@ Get a list of all available Content Types. { "allowCultureVariant": false, "alias": "categories", + "configuration": { + "group": "default", + "storageType": "Json", + "Delimiter": "\u0000" + }, "label": "Categories (tags)", "propertyEditorAlias": "Umbraco.Tags", "sortOrder": 1, @@ -582,6 +328,15 @@ Get a list of all available Content Types. { "allowCultureVariant": false, "alias": "bodyText", + "configuration": { + "editor": null, + "blocks": null, + "useLiveEditing": false, + "overlaySize": null, + "hideLabel": false, + "mediaParentId": null, + "ignoreUserStartNodes": false + }, "label": "Content", "propertyEditorAlias": "Umbraco.TinyMCE", "sortOrder": 3, @@ -759,9 +514,21 @@ Get a specific Content Type by its alias. { "allowCultureVariant": false, "alias": "heroBackgroundImage", + "configuration": { + "filter": null, + "multiple": false, + "validationLimit": { + "min": 0, + "max": 1 + }, + "startNodeId": null, + "enableLocalFocalPoint": false, + "crops": null, + "ignoreUserStartNodes": false + }, "description": "Spice up the homepage by adding a beautiful photo that relates to your business", "label": "Hero Background", - "propertyEditorAlias": "Umbraco.MediaPicker", + "propertyEditorAlias": "Umbraco.MediaPicker3", "sortOrder": 0, "validation": { "required": true @@ -770,6 +537,18 @@ Get a specific Content Type by its alias. { "allowCultureVariant": false, "alias": "font", + "configuration": { + "items": { + "1": { + "value": "Serif", + "sortOrder": 1 + }, + "2": { + "value": "Sans-serif", + "sortOrder": 2 + } + } + }, "label": "Font", "propertyEditorAlias": "Umbraco.RadioButtonList", "sortOrder": 1, @@ -780,6 +559,22 @@ Get a specific Content Type by its alias. { "allowCultureVariant": false, "alias": "colorTheme", + "configuration": { + "items": { + "1": { + "value": "Red", + "sortOrder": 1 + }, + "2": { + "value": "Blue", + "sortOrder": 2 + }, + "3": { + "value": "Green", + "sortOrder": 3 + } + } + }, "label": "Color Theme", "propertyEditorAlias": "Umbraco.RadioButtonList", "sortOrder": 2, @@ -801,9 +596,21 @@ Get a specific Content Type by its alias. { "allowCultureVariant": false, "alias": "logo", + "configuration": { + "filter": null, + "multiple": false, + "validationLimit": { + "min": 0, + "max": 1 + }, + "startNodeId": null, + "enableLocalFocalPoint": false, + "crops": null, + "ignoreUserStartNodes": false + }, "description": "Optional. If you add a logo it'll be used in the upper left corner instead of the site name. Make sure to use a transparent logo for best results", "label": "Logo", - "propertyEditorAlias": "Umbraco.MediaPicker", + "propertyEditorAlias": "Umbraco.MediaPicker3", "sortOrder": 4, "validation": { "required": false diff --git a/umbraco-heartcore/release-notes/2024-04-releasenotes.md b/umbraco-heartcore/release-notes/2024-04-releasenotes.md index b822ccda418..e2a4d07383f 100644 --- a/umbraco-heartcore/release-notes/2024-04-releasenotes.md +++ b/umbraco-heartcore/release-notes/2024-04-releasenotes.md @@ -6,8 +6,13 @@ With the grid property editor [becoming deprecated](https://umbraco.com/blog/umb Sites that already have Grid Data Types in use will continue to offer the full range of grid support. Grid content can also be imported from a zip package, which will also fully enable support for it across the environment. +## Management API Property Type Configuration +The Content Management API now exposes additional configuration data about properties via the [content type](../api-documentation/content-management/content/type) endpoints. This will allow you to do things like retrieve information about possible prevalues for a dropdown field or radio button list, for example. + ## Notable Bugfixes Fixes for commonly-reported issues this month include: * The root endpoint of the management API now correctly returns links to other endpoints. * The API explorer in the backoffice is no longer prevented from returning responses from the management API due to a Cross-Origin Resource Sharing (CORS) error. * The alias for dev & staging environments should no longer point at the live content APIs. +* The webhook log viewer will now correctly load information about attempted runs. +* When previewing content in a multilingual setup, the preview window will no longer indefinitely hang until you save the selected variant. From 15bd10434fdc973983b0e0d70afde87257b10afb Mon Sep 17 00:00:00 2001 From: Jordan McFarlane Date: Tue, 30 Apr 2024 13:48:09 +0200 Subject: [PATCH 2/3] Attempt to fix broken link --- umbraco-heartcore/release-notes/2024-04-releasenotes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umbraco-heartcore/release-notes/2024-04-releasenotes.md b/umbraco-heartcore/release-notes/2024-04-releasenotes.md index e2a4d07383f..62dcbad7a0c 100644 --- a/umbraco-heartcore/release-notes/2024-04-releasenotes.md +++ b/umbraco-heartcore/release-notes/2024-04-releasenotes.md @@ -7,7 +7,7 @@ With the grid property editor [becoming deprecated](https://umbraco.com/blog/umb Sites that already have Grid Data Types in use will continue to offer the full range of grid support. Grid content can also be imported from a zip package, which will also fully enable support for it across the environment. ## Management API Property Type Configuration -The Content Management API now exposes additional configuration data about properties via the [content type](../api-documentation/content-management/content/type) endpoints. This will allow you to do things like retrieve information about possible prevalues for a dropdown field or radio button list, for example. +The Content Management API now exposes additional configuration data about properties via the [content type](../api-documentation/content-management/content/type/) endpoints. This will allow you to do things like retrieve information about possible prevalues for a dropdown field or radio button list, for example. ## Notable Bugfixes Fixes for commonly-reported issues this month include: From 2fb551c1bf5186e1a8a31b092aa5b391a607389b Mon Sep 17 00:00:00 2001 From: Jordan McFarlane Date: Tue, 30 Apr 2024 13:54:11 +0200 Subject: [PATCH 3/3] Attempt to fix broken link, round 2 --- umbraco-heartcore/release-notes/2024-04-releasenotes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umbraco-heartcore/release-notes/2024-04-releasenotes.md b/umbraco-heartcore/release-notes/2024-04-releasenotes.md index 62dcbad7a0c..e6f642dc9fc 100644 --- a/umbraco-heartcore/release-notes/2024-04-releasenotes.md +++ b/umbraco-heartcore/release-notes/2024-04-releasenotes.md @@ -7,7 +7,7 @@ With the grid property editor [becoming deprecated](https://umbraco.com/blog/umb Sites that already have Grid Data Types in use will continue to offer the full range of grid support. Grid content can also be imported from a zip package, which will also fully enable support for it across the environment. ## Management API Property Type Configuration -The Content Management API now exposes additional configuration data about properties via the [content type](../api-documentation/content-management/content/type/) endpoints. This will allow you to do things like retrieve information about possible prevalues for a dropdown field or radio button list, for example. +The Content Management API now exposes additional configuration data about properties via the [content type](../api-documentation/content-management/content/type.md) endpoints. This will allow you to do things like retrieve information about possible prevalues for a dropdown field or radio button list, for example. ## Notable Bugfixes Fixes for commonly-reported issues this month include: