diff --git a/src/Umbraco.Web.UI.Client/src/packages/data-type/tree/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/data-type/tree/manifests.ts index e788b77449..0a1adef5cd 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/data-type/tree/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/data-type/tree/manifests.ts @@ -1,3 +1,4 @@ +import { UMB_DATA_TYPE_ROOT_ENTITY_TYPE } from '../entity.js'; import { manifests as folderManifests } from './folder/manifests.js'; import { manifests as reloadManifests } from './reload-tree-item-children/manifests.js'; import { @@ -35,6 +36,16 @@ export const manifests: Array = [ name: 'Data Type Tree Item', forEntityTypes: ['data-type-root', 'data-type', 'data-type-folder'], }, + { + type: 'workspace', + kind: 'default', + alias: 'Umb.Workspace.DataType.Root', + name: 'Data Type Root Workspace', + meta: { + entityType: UMB_DATA_TYPE_ROOT_ENTITY_TYPE, + headline: '#treeHeaders_dataTypes', + }, + }, ...folderManifests, ...reloadManifests, ]; diff --git a/src/Umbraco.Web.UI.Client/src/packages/documents/document-blueprints/tree/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/documents/document-blueprints/tree/manifests.ts index 94097ca61a..9f35db4f0a 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/documents/document-blueprints/tree/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/documents/document-blueprints/tree/manifests.ts @@ -44,6 +44,16 @@ export const manifests: Array = [ UMB_DOCUMENT_BLUEPRINT_FOLDER_ENTITY_TYPE, ], }, + { + type: 'workspace', + kind: 'default', + alias: 'Umb.Workspace.DocumentBlueprint.Root', + name: 'Document Blueprint Root Workspace', + meta: { + entityType: UMB_DOCUMENT_BLUEPRINT_ROOT_ENTITY_TYPE, + headline: '#treeHeaders_contentBlueprints', + }, + }, ...reloadManifests, ...folderManifests, ]; diff --git a/src/Umbraco.Web.UI.Client/src/packages/documents/document-blueprints/workspace/document-blueprint-root-workspace.element.ts b/src/Umbraco.Web.UI.Client/src/packages/documents/document-blueprints/workspace/document-blueprint-root-workspace.element.ts deleted file mode 100644 index 871c12f2c8..0000000000 --- a/src/Umbraco.Web.UI.Client/src/packages/documents/document-blueprints/workspace/document-blueprint-root-workspace.element.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { customElement, html } from '@umbraco-cms/backoffice/external/lit'; -import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element'; -import { UmbTextStyles } from '@umbraco-cms/backoffice/style'; - -@customElement('umb-document-blueprint-root-workspace') -export class UmbDocumentBlueprintRootWorkspaceElement extends UmbLitElement { - override render() { - return html` - - -

- What are Document Blueprints? -

- - Document Blueprints are pre-defined content that can be selected when creating a new content node. - -

- - How do I create a Document Blueprint? - -

- -

There are two ways to create a Content Blueprint:

-
    -
  • - Click "Create Document Blueprint" in the action menu on a content node to create a new Document - Blueprint. -
  • -
  • - Click the "+" button in the Document Blueprints tree in the Settings section and select the Document - Type you want to create a Document Blueprint for. -
  • -
-

Once given a name, editors can start using the Document Blueprint as a foundation for their new page.

-
-

- - How do I manage Document Blueprints? - -

- - You can edit and delete Document Blueprints from the "Document Blueprints" tree in the Settings section. - Expand the Document Type which the Document Blueprint is based on and click it to edit or delete it. - -
-
- `; - } - - static override styles = [UmbTextStyles]; -} - -export default UmbDocumentBlueprintRootWorkspaceElement; - -declare global { - interface HTMLElementTagNameMap { - 'umb-document-blueprint-root-workspace': UmbDocumentBlueprintRootWorkspaceElement; - } -} diff --git a/src/Umbraco.Web.UI.Client/src/packages/documents/document-blueprints/workspace/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/documents/document-blueprints/workspace/manifests.ts index 440f00ffc8..0ca96f0714 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/documents/document-blueprints/workspace/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/documents/document-blueprints/workspace/manifests.ts @@ -18,15 +18,6 @@ export const manifests: Array = [ entityType: UMB_DOCUMENT_BLUEPRINT_ENTITY_TYPE, }, }, - { - type: 'workspace', - alias: 'Umb.Workspace.DocumentBlueprint.Root', - name: 'Document Blueprint Root Workspace', - element: () => import('./document-blueprint-root-workspace.element.js'), - meta: { - entityType: UMB_DOCUMENT_BLUEPRINT_ROOT_ENTITY_TYPE, - }, - }, { type: 'workspaceView', kind: 'contentEditor', diff --git a/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/tree/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/tree/manifests.ts index 4ff98fac57..40f1ed4830 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/tree/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/tree/manifests.ts @@ -44,6 +44,16 @@ export const manifests: Array = [ UMB_DOCUMENT_TYPE_FOLDER_ENTITY_TYPE, ], }, + { + type: 'workspace', + kind: 'default', + alias: 'Umb.Workspace.DocumentType.Root', + name: 'Document Type Root Workspace', + meta: { + entityType: UMB_DOCUMENT_TYPE_ROOT_ENTITY_TYPE, + headline: '#treeHeaders_documentTypes', + }, + }, ...folderManifests, ...reloadManifests, ]; diff --git a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/tree/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/tree/manifests.ts index 9f9f7a5b48..b3b3adad05 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/tree/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/tree/manifests.ts @@ -40,6 +40,16 @@ export const manifests: Array = [ name: 'Media Type Tree Item', forEntityTypes: [UMB_MEDIA_TYPE_ENTITY_TYPE, UMB_MEDIA_TYPE_ROOT_ENTITY_TYPE, UMB_MEDIA_TYPE_FOLDER_ENTITY_TYPE], }, + { + type: 'workspace', + kind: 'default', + alias: 'Umb.Workspace.MediaType.Root', + name: 'Media Type Root Workspace', + meta: { + entityType: UMB_MEDIA_TYPE_ROOT_ENTITY_TYPE, + headline: '#treeHeaders_mediaTypes', + }, + }, ...folderManifests, ...reloadTreeItemChildrenManifest, ]; diff --git a/src/Umbraco.Web.UI.Client/src/packages/members/member-type/tree/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/members/member-type/tree/manifests.ts index b31ce532c4..bed970c70f 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/members/member-type/tree/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/members/member-type/tree/manifests.ts @@ -34,5 +34,15 @@ export const manifests: Array = [ name: 'Member Type Tree Item', forEntityTypes: [UMB_MEMBER_TYPE_ROOT_ENTITY_TYPE, UMB_MEMBER_TYPE_ENTITY_TYPE], }, + { + type: 'workspace', + kind: 'default', + alias: 'Umb.Workspace.MemberType.Root', + name: 'Member Type Root Workspace', + meta: { + entityType: UMB_MEMBER_TYPE_ROOT_ENTITY_TYPE, + headline: '#treeHeaders_memberTypes', + }, + }, ...reloadTreeItemChildrenManifest, ]; diff --git a/src/Umbraco.Web.UI.Client/src/packages/templating/partial-views/tree/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/templating/partial-views/tree/manifests.ts index 847547196c..911d90475b 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/templating/partial-views/tree/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/templating/partial-views/tree/manifests.ts @@ -43,6 +43,16 @@ export const manifests: Array = [ UMB_PARTIAL_VIEW_FOLDER_ENTITY_TYPE, ], }, + { + type: 'workspace', + kind: 'default', + alias: 'Umb.Workspace.PartialView.Root', + name: 'Partial View Root Workspace', + meta: { + entityType: UMB_PARTIAL_VIEW_ROOT_ENTITY_TYPE, + headline: '#treeHeaders_partialViews', + }, + }, ...folderManifests, ...reloadTreeItemChildrenManifest, ]; diff --git a/src/Umbraco.Web.UI.Client/src/packages/templating/scripts/tree/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/templating/scripts/tree/manifests.ts index b025f454ea..79839114d1 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/templating/scripts/tree/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/templating/scripts/tree/manifests.ts @@ -35,6 +35,16 @@ export const manifests: Array = [ name: 'Script Tree Item', forEntityTypes: [UMB_SCRIPT_ROOT_ENTITY_TYPE, UMB_SCRIPT_ENTITY_TYPE, UMB_SCRIPT_FOLDER_ENTITY_TYPE], }, + { + type: 'workspace', + kind: 'default', + alias: 'Umb.Workspace.Script.Root', + name: 'Script Root Workspace', + meta: { + entityType: UMB_SCRIPT_ROOT_ENTITY_TYPE, + headline: '#treeHeaders_scripts', + }, + }, ...folderManifests, ...reloadTreeItemChildrenManifest, ]; diff --git a/src/Umbraco.Web.UI.Client/src/packages/templating/stylesheets/tree/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/templating/stylesheets/tree/manifests.ts index 0881159af8..78b8c83b07 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/templating/stylesheets/tree/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/templating/stylesheets/tree/manifests.ts @@ -40,6 +40,16 @@ export const manifests: Array = [ name: 'Stylesheet Tree Item', forEntityTypes: [UMB_STYLESHEET_ROOT_ENTITY_TYPE, UMB_STYLESHEET_ENTITY_TYPE, UMB_STYLESHEET_FOLDER_ENTITY_TYPE], }, + { + type: 'workspace', + kind: 'default', + alias: 'Umb.Workspace.Stylesheet.Root', + name: 'Stylesheet Root Workspace', + meta: { + entityType: UMB_STYLESHEET_ROOT_ENTITY_TYPE, + headline: '#treeHeaders_stylesheets', + }, + }, ...folderManifests, ...reloadTreeItemChildrenManifest, ]; diff --git a/src/Umbraco.Web.UI.Client/src/packages/templating/templates/tree/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/templating/templates/tree/manifests.ts index 90b45fef48..7d4f9a1e0d 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/templating/templates/tree/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/templating/templates/tree/manifests.ts @@ -34,5 +34,15 @@ export const manifests: Array = [ name: 'Template Tree Item', forEntityTypes: [UMB_TEMPLATE_ROOT_ENTITY_TYPE, UMB_TEMPLATE_ENTITY_TYPE], }, + { + type: 'workspace', + kind: 'default', + alias: 'Umb.Workspace.Template.Root', + name: 'Template Root Workspace', + meta: { + entityType: UMB_TEMPLATE_ROOT_ENTITY_TYPE, + headline: '#treeHeaders_templates', + }, + }, ...reloadTreeItemChildrenManifest, ];