diff --git a/src/Umbraco.Web.UI.Client/src/apps/backoffice/backoffice.element.ts b/src/Umbraco.Web.UI.Client/src/apps/backoffice/backoffice.element.ts index e62fef759a..b4e71e88c8 100644 --- a/src/Umbraco.Web.UI.Client/src/apps/backoffice/backoffice.element.ts +++ b/src/Umbraco.Web.UI.Client/src/apps/backoffice/backoffice.element.ts @@ -25,6 +25,7 @@ const CORE_PACKAGES = [ import('../../packages/umbraco-news/umbraco-package.js'), import('../../packages/tags/umbraco-package.js'), import('../../packages/log-viewer/umbraco-package.js'), + import('../../packages/health-check/umbraco-package.js'), ]; @customElement('umb-backoffice') diff --git a/src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/health-check/dashboard-health-check.element.ts b/src/Umbraco.Web.UI.Client/src/packages/health-check/dashboard-health-check.element.ts similarity index 100% rename from src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/health-check/dashboard-health-check.element.ts rename to src/Umbraco.Web.UI.Client/src/packages/health-check/dashboard-health-check.element.ts diff --git a/src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/health-check/dashboard-health-check.stories.ts b/src/Umbraco.Web.UI.Client/src/packages/health-check/dashboard-health-check.stories.ts similarity index 100% rename from src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/health-check/dashboard-health-check.stories.ts rename to src/Umbraco.Web.UI.Client/src/packages/health-check/dashboard-health-check.stories.ts diff --git a/src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/health-check/health-check-dashboard.context.ts b/src/Umbraco.Web.UI.Client/src/packages/health-check/health-check-dashboard.context.ts similarity index 100% rename from src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/health-check/health-check-dashboard.context.ts rename to src/Umbraco.Web.UI.Client/src/packages/health-check/health-check-dashboard.context.ts diff --git a/src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/health-check/health-check.context.ts b/src/Umbraco.Web.UI.Client/src/packages/health-check/health-check.context.ts similarity index 100% rename from src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/health-check/health-check.context.ts rename to src/Umbraco.Web.UI.Client/src/packages/health-check/health-check.context.ts diff --git a/src/Umbraco.Web.UI.Client/src/packages/health-check/index.ts b/src/Umbraco.Web.UI.Client/src/packages/health-check/index.ts new file mode 100644 index 0000000000..1e95b5d703 --- /dev/null +++ b/src/Umbraco.Web.UI.Client/src/packages/health-check/index.ts @@ -0,0 +1 @@ +export * from './manifests.js'; diff --git a/src/Umbraco.Web.UI.Client/src/packages/health-check/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/health-check/manifests.ts new file mode 100644 index 0000000000..b4ecc50de9 --- /dev/null +++ b/src/Umbraco.Web.UI.Client/src/packages/health-check/manifests.ts @@ -0,0 +1,20 @@ +export const manifests = [ + { + type: 'dashboard', + alias: 'Umb.Dashboard.HealthCheck', + name: 'Health Check', + elementName: 'umb-dashboard-health-check', + loader: () => import('./dashboard-health-check.element.js'), + weight: 102, + meta: { + label: 'Health Check', + pathname: 'health-check', + }, + conditions: [ + { + alias: 'Umb.Condition.SectionAlias', + match: 'Umb.Section.Settings', + }, + ], + }, +]; diff --git a/src/Umbraco.Web.UI.Client/src/packages/health-check/umbraco-package.ts b/src/Umbraco.Web.UI.Client/src/packages/health-check/umbraco-package.ts new file mode 100644 index 0000000000..3d26664c83 --- /dev/null +++ b/src/Umbraco.Web.UI.Client/src/packages/health-check/umbraco-package.ts @@ -0,0 +1,9 @@ +export const name = 'Umbraco.Core.HealthCheck'; +export const extensions = [ + { + name: 'Health Check Bundle', + alias: 'Umb.Bundle.HealthCheck', + type: 'bundle', + loader: () => import('./manifests.js'), + }, +]; diff --git a/src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/health-check/views/health-check-action.element.ts b/src/Umbraco.Web.UI.Client/src/packages/health-check/views/health-check-action.element.ts similarity index 100% rename from src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/health-check/views/health-check-action.element.ts rename to src/Umbraco.Web.UI.Client/src/packages/health-check/views/health-check-action.element.ts diff --git a/src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/health-check/views/health-check-group-box-overview.element.ts b/src/Umbraco.Web.UI.Client/src/packages/health-check/views/health-check-group-box-overview.element.ts similarity index 100% rename from src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/health-check/views/health-check-group-box-overview.element.ts rename to src/Umbraco.Web.UI.Client/src/packages/health-check/views/health-check-group-box-overview.element.ts diff --git a/src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/health-check/views/health-check-group.element.ts b/src/Umbraco.Web.UI.Client/src/packages/health-check/views/health-check-group.element.ts similarity index 100% rename from src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/health-check/views/health-check-group.element.ts rename to src/Umbraco.Web.UI.Client/src/packages/health-check/views/health-check-group.element.ts diff --git a/src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/health-check/views/health-check-overview.element.ts b/src/Umbraco.Web.UI.Client/src/packages/health-check/views/health-check-overview.element.ts similarity index 100% rename from src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/health-check/views/health-check-overview.element.ts rename to src/Umbraco.Web.UI.Client/src/packages/health-check/views/health-check-overview.element.ts diff --git a/src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/manifests.ts index a97e05e79d..d2313cc203 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/manifests.ts @@ -57,24 +57,6 @@ const dashboards: Array = [ }, ], }, - { - type: 'dashboard', - alias: 'Umb.Dashboard.HealthCheck', - name: 'Health Check', - elementName: 'umb-dashboard-health-check', - loader: () => import('./health-check/dashboard-health-check.element.js'), - weight: 102, - meta: { - label: 'Health Check', - pathname: 'health-check', - }, - conditions: [ - { - alias: 'Umb.Condition.SectionAlias', - match: sectionAlias, - }, - ], - }, { type: 'dashboard', alias: 'Umb.Dashboard.Profiling',