System data
diff --git a/web/projects/ui/src/app/common/sidebar-host.component.ts b/web/projects/ui/src/app/components/sidebar-host.component.ts
similarity index 100%
rename from web/projects/ui/src/app/common/sidebar-host.component.ts
rename to web/projects/ui/src/app/components/sidebar-host.component.ts
diff --git a/web/projects/ui/src/app/common/svg-definitions.component.ts b/web/projects/ui/src/app/components/svg-definitions.component.ts
similarity index 100%
rename from web/projects/ui/src/app/common/svg-definitions.component.ts
rename to web/projects/ui/src/app/components/svg-definitions.component.ts
diff --git a/web/projects/ui/src/app/common/toast-container/toast-container.component.ts b/web/projects/ui/src/app/components/toast-container.component.ts
similarity index 100%
rename from web/projects/ui/src/app/common/toast-container/toast-container.component.ts
rename to web/projects/ui/src/app/components/toast-container.component.ts
diff --git a/web/projects/ui/src/app/common/toast-container/update-toast.component.ts b/web/projects/ui/src/app/components/update-toast.component.ts
similarity index 100%
rename from web/projects/ui/src/app/common/toast-container/update-toast.component.ts
rename to web/projects/ui/src/app/components/update-toast.component.ts
diff --git a/web/projects/ui/src/app/components/welcome.component.ts b/web/projects/ui/src/app/components/welcome.component.ts
new file mode 100644
index 000000000..cdec034d8
--- /dev/null
+++ b/web/projects/ui/src/app/components/welcome.component.ts
@@ -0,0 +1,49 @@
+import { Component, inject, Inject } from '@angular/core'
+import { TuiDialogContext } from '@taiga-ui/core'
+import { TuiButtonModule } from '@taiga-ui/experimental'
+import { POLYMORPHEUS_CONTEXT } from '@tinkoff/ng-polymorpheus'
+
+@Component({
+ standalone: true,
+ template: `
+
+ This release:
+ 0.3.5
+
+
+ View the complete
+
+ release notes
+
+ for more details.
+
+
Highlights
+
+ -
+ This release contains significant under-the-hood improvements to
+ performance and reliability
+
+ - Ditch Docker, replace with Podman
+ - Remove locking behavior from PatchDB and optimize
+ - Boost efficiency of service manager
+ - Require HTTPS on LAN, and improve setup flow for trusting Root CA
+ - Better default privacy settings for Firefox kiosk mode
+ - Eliminate memory leak from Javascript runtime
+ - Other small bug fixes
+ - Update license to MIT
+
+
+
+
+
+ `,
+ styles: 'li { margin-bottom: 0.5rem }',
+ imports: [TuiButtonModule],
+})
+export class WelcomeComponent {
+ readonly context = inject
(POLYMORPHEUS_CONTEXT)
+}
diff --git a/web/projects/ui/src/app/apps/diagnostic/diagnostic.module.ts b/web/projects/ui/src/app/routes/diagnostic/diagnostic.module.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/diagnostic/diagnostic.module.ts
rename to web/projects/ui/src/app/routes/diagnostic/diagnostic.module.ts
diff --git a/web/projects/ui/src/app/apps/diagnostic/home/home.module.ts b/web/projects/ui/src/app/routes/diagnostic/home/home.module.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/diagnostic/home/home.module.ts
rename to web/projects/ui/src/app/routes/diagnostic/home/home.module.ts
diff --git a/web/projects/ui/src/app/apps/diagnostic/home/home.page.html b/web/projects/ui/src/app/routes/diagnostic/home/home.page.html
similarity index 100%
rename from web/projects/ui/src/app/apps/diagnostic/home/home.page.html
rename to web/projects/ui/src/app/routes/diagnostic/home/home.page.html
diff --git a/web/projects/ui/src/app/apps/diagnostic/home/home.page.scss b/web/projects/ui/src/app/routes/diagnostic/home/home.page.scss
similarity index 100%
rename from web/projects/ui/src/app/apps/diagnostic/home/home.page.scss
rename to web/projects/ui/src/app/routes/diagnostic/home/home.page.scss
diff --git a/web/projects/ui/src/app/apps/diagnostic/home/home.page.ts b/web/projects/ui/src/app/routes/diagnostic/home/home.page.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/diagnostic/home/home.page.ts
rename to web/projects/ui/src/app/routes/diagnostic/home/home.page.ts
diff --git a/web/projects/ui/src/app/apps/diagnostic/logs/logs.module.ts b/web/projects/ui/src/app/routes/diagnostic/logs/logs.module.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/diagnostic/logs/logs.module.ts
rename to web/projects/ui/src/app/routes/diagnostic/logs/logs.module.ts
diff --git a/web/projects/ui/src/app/apps/diagnostic/logs/logs.page.html b/web/projects/ui/src/app/routes/diagnostic/logs/logs.page.html
similarity index 100%
rename from web/projects/ui/src/app/apps/diagnostic/logs/logs.page.html
rename to web/projects/ui/src/app/routes/diagnostic/logs/logs.page.html
diff --git a/web/projects/ui/src/app/apps/diagnostic/logs/logs.page.ts b/web/projects/ui/src/app/routes/diagnostic/logs/logs.page.ts
similarity index 95%
rename from web/projects/ui/src/app/apps/diagnostic/logs/logs.page.ts
rename to web/projects/ui/src/app/routes/diagnostic/logs/logs.page.ts
index 75902f5fd..1c16bab4f 100644
--- a/web/projects/ui/src/app/apps/diagnostic/logs/logs.page.ts
+++ b/web/projects/ui/src/app/routes/diagnostic/logs/logs.page.ts
@@ -2,7 +2,7 @@ import { Component, ElementRef, inject, OnInit, ViewChild } from '@angular/core'
import { INTERSECTION_ROOT } from '@ng-web-apis/intersection-observer'
import { convertAnsi, ErrorService } from '@start9labs/shared'
import { TuiScrollbarComponent } from '@taiga-ui/core'
-import { DiagnosticService } from 'src/app/apps/diagnostic/services/diagnostic.service'
+import { DiagnosticService } from 'src/app/routes/diagnostic/services/diagnostic.service'
@Component({
selector: 'logs',
diff --git a/web/projects/ui/src/app/apps/diagnostic/services/diagnostic.service.ts b/web/projects/ui/src/app/routes/diagnostic/services/diagnostic.service.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/diagnostic/services/diagnostic.service.ts
rename to web/projects/ui/src/app/routes/diagnostic/services/diagnostic.service.ts
diff --git a/web/projects/ui/src/app/apps/diagnostic/services/live-diagnostic.service.ts b/web/projects/ui/src/app/routes/diagnostic/services/live-diagnostic.service.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/diagnostic/services/live-diagnostic.service.ts
rename to web/projects/ui/src/app/routes/diagnostic/services/live-diagnostic.service.ts
diff --git a/web/projects/ui/src/app/apps/diagnostic/services/mock-diagnostic.service.ts b/web/projects/ui/src/app/routes/diagnostic/services/mock-diagnostic.service.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/diagnostic/services/mock-diagnostic.service.ts
rename to web/projects/ui/src/app/routes/diagnostic/services/mock-diagnostic.service.ts
diff --git a/web/projects/ui/src/app/apps/loading/loading.page.ts b/web/projects/ui/src/app/routes/loading/loading.page.ts
similarity index 78%
rename from web/projects/ui/src/app/apps/loading/loading.page.ts
rename to web/projects/ui/src/app/routes/loading/loading.page.ts
index 4702c7626..2fee80fad 100644
--- a/web/projects/ui/src/app/apps/loading/loading.page.ts
+++ b/web/projects/ui/src/app/routes/loading/loading.page.ts
@@ -11,17 +11,15 @@ import { ApiService } from 'src/app/services/api/embassy-api.service'
@Component({
standalone: true,
template: `
-
+
`,
providers: [
provideSetupService(ApiService),
provideSetupLogsService(ApiService),
],
+ styles: ':host { padding: 1rem; }',
imports: [InitializingComponent],
})
-export class LoadingPage {
+export default class LoadingPage {
readonly router = inject(Router)
}
diff --git a/web/projects/ui/src/app/apps/login/ca-wizard/ca-wizard.component.html b/web/projects/ui/src/app/routes/login/ca-wizard/ca-wizard.component.html
similarity index 100%
rename from web/projects/ui/src/app/apps/login/ca-wizard/ca-wizard.component.html
rename to web/projects/ui/src/app/routes/login/ca-wizard/ca-wizard.component.html
diff --git a/web/projects/ui/src/app/apps/login/ca-wizard/ca-wizard.component.scss b/web/projects/ui/src/app/routes/login/ca-wizard/ca-wizard.component.scss
similarity index 100%
rename from web/projects/ui/src/app/apps/login/ca-wizard/ca-wizard.component.scss
rename to web/projects/ui/src/app/routes/login/ca-wizard/ca-wizard.component.scss
diff --git a/web/projects/ui/src/app/apps/login/ca-wizard/ca-wizard.component.ts b/web/projects/ui/src/app/routes/login/ca-wizard/ca-wizard.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/login/ca-wizard/ca-wizard.component.ts
rename to web/projects/ui/src/app/routes/login/ca-wizard/ca-wizard.component.ts
diff --git a/web/projects/ui/src/app/apps/login/login.module.ts b/web/projects/ui/src/app/routes/login/login.module.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/login/login.module.ts
rename to web/projects/ui/src/app/routes/login/login.module.ts
diff --git a/web/projects/ui/src/app/apps/login/login.page.html b/web/projects/ui/src/app/routes/login/login.page.html
similarity index 100%
rename from web/projects/ui/src/app/apps/login/login.page.html
rename to web/projects/ui/src/app/routes/login/login.page.html
diff --git a/web/projects/ui/src/app/apps/login/login.page.scss b/web/projects/ui/src/app/routes/login/login.page.scss
similarity index 100%
rename from web/projects/ui/src/app/apps/login/login.page.scss
rename to web/projects/ui/src/app/routes/login/login.page.scss
diff --git a/web/projects/ui/src/app/apps/login/login.page.ts b/web/projects/ui/src/app/routes/login/login.page.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/login/login.page.ts
rename to web/projects/ui/src/app/routes/login/login.page.ts
diff --git a/web/projects/ui/src/app/apps/portal/components/actions.component.ts b/web/projects/ui/src/app/routes/portal/components/actions.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/components/actions.component.ts
rename to web/projects/ui/src/app/routes/portal/components/actions.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/components/form.component.ts b/web/projects/ui/src/app/routes/portal/components/form.component.ts
similarity index 96%
rename from web/projects/ui/src/app/apps/portal/components/form.component.ts
rename to web/projects/ui/src/app/routes/portal/components/form.component.ts
index e3687e17c..b82d0ee67 100644
--- a/web/projects/ui/src/app/apps/portal/components/form.component.ts
+++ b/web/projects/ui/src/app/routes/portal/components/form.component.ts
@@ -19,8 +19,8 @@ import { TuiButtonModule } from '@taiga-ui/experimental'
import { TuiDialogFormService } from '@taiga-ui/kit'
import { POLYMORPHEUS_CONTEXT } from '@tinkoff/ng-polymorpheus'
import { compare, Operation } from 'fast-json-patch'
-import { FormModule } from 'src/app/common/form/form.module'
-import { InvalidService } from 'src/app/common/form/invalid.service'
+import { FormModule } from 'src/app/routes/portal/components/form/form.module'
+import { InvalidService } from 'src/app/routes/portal/components/form/invalid.service'
import { FormService } from 'src/app/services/form.service'
export interface ActionButton {
diff --git a/web/projects/ui/src/app/common/form/control.directive.ts b/web/projects/ui/src/app/routes/portal/components/form/control.directive.ts
similarity index 100%
rename from web/projects/ui/src/app/common/form/control.directive.ts
rename to web/projects/ui/src/app/routes/portal/components/form/control.directive.ts
diff --git a/web/projects/ui/src/app/common/form/control.ts b/web/projects/ui/src/app/routes/portal/components/form/control.ts
similarity index 100%
rename from web/projects/ui/src/app/common/form/control.ts
rename to web/projects/ui/src/app/routes/portal/components/form/control.ts
diff --git a/web/projects/ui/src/app/common/form/form-array/form-array.component.html b/web/projects/ui/src/app/routes/portal/components/form/form-array/form-array.component.html
similarity index 96%
rename from web/projects/ui/src/app/common/form/form-array/form-array.component.html
rename to web/projects/ui/src/app/routes/portal/components/form/form-array/form-array.component.html
index d66387fb5..76c67f837 100644
--- a/web/projects/ui/src/app/common/form/form-array/form-array.component.html
+++ b/web/projects/ui/src/app/routes/portal/components/form/form-array/form-array.component.html
@@ -28,7 +28,7 @@
[open]="!!open.get(item)"
(openChange)="open.set(item, $event)"
>
- {{ item.value | mustache : $any(spec.spec).displayAs }}
+ {{ item.value | mustache: $any(spec.spec).displayAs }}
diff --git a/web/projects/ui/src/app/common/form/form-array/form-array.component.scss b/web/projects/ui/src/app/routes/portal/components/form/form-array/form-array.component.scss
similarity index 100%
rename from web/projects/ui/src/app/common/form/form-array/form-array.component.scss
rename to web/projects/ui/src/app/routes/portal/components/form/form-array/form-array.component.scss
diff --git a/web/projects/ui/src/app/common/form/form-array/form-array.component.ts b/web/projects/ui/src/app/routes/portal/components/form/form-array/form-array.component.ts
similarity index 100%
rename from web/projects/ui/src/app/common/form/form-array/form-array.component.ts
rename to web/projects/ui/src/app/routes/portal/components/form/form-array/form-array.component.ts
diff --git a/web/projects/ui/src/app/common/form/form-color/form-color.component.html b/web/projects/ui/src/app/routes/portal/components/form/form-color/form-color.component.html
similarity index 100%
rename from web/projects/ui/src/app/common/form/form-color/form-color.component.html
rename to web/projects/ui/src/app/routes/portal/components/form/form-color/form-color.component.html
diff --git a/web/projects/ui/src/app/common/form/form-color/form-color.component.scss b/web/projects/ui/src/app/routes/portal/components/form/form-color/form-color.component.scss
similarity index 100%
rename from web/projects/ui/src/app/common/form/form-color/form-color.component.scss
rename to web/projects/ui/src/app/routes/portal/components/form/form-color/form-color.component.scss
diff --git a/web/projects/ui/src/app/common/form/form-color/form-color.component.ts b/web/projects/ui/src/app/routes/portal/components/form/form-color/form-color.component.ts
similarity index 100%
rename from web/projects/ui/src/app/common/form/form-color/form-color.component.ts
rename to web/projects/ui/src/app/routes/portal/components/form/form-color/form-color.component.ts
diff --git a/web/projects/ui/src/app/common/form/form-control/form-control.component.html b/web/projects/ui/src/app/routes/portal/components/form/form-control/form-control.component.html
similarity index 100%
rename from web/projects/ui/src/app/common/form/form-control/form-control.component.html
rename to web/projects/ui/src/app/routes/portal/components/form/form-control/form-control.component.html
diff --git a/web/projects/ui/src/app/common/form/form-control/form-control.component.scss b/web/projects/ui/src/app/routes/portal/components/form/form-control/form-control.component.scss
similarity index 100%
rename from web/projects/ui/src/app/common/form/form-control/form-control.component.scss
rename to web/projects/ui/src/app/routes/portal/components/form/form-control/form-control.component.scss
diff --git a/web/projects/ui/src/app/common/form/form-control/form-control.component.ts b/web/projects/ui/src/app/routes/portal/components/form/form-control/form-control.component.ts
similarity index 100%
rename from web/projects/ui/src/app/common/form/form-control/form-control.component.ts
rename to web/projects/ui/src/app/routes/portal/components/form/form-control/form-control.component.ts
diff --git a/web/projects/ui/src/app/common/form/form-control/form-control.providers.ts b/web/projects/ui/src/app/routes/portal/components/form/form-control/form-control.providers.ts
similarity index 100%
rename from web/projects/ui/src/app/common/form/form-control/form-control.providers.ts
rename to web/projects/ui/src/app/routes/portal/components/form/form-control/form-control.providers.ts
diff --git a/web/projects/ui/src/app/common/form/form-datetime/form-datetime.component.html b/web/projects/ui/src/app/routes/portal/components/form/form-datetime/form-datetime.component.html
similarity index 81%
rename from web/projects/ui/src/app/common/form/form-datetime/form-datetime.component.html
rename to web/projects/ui/src/app/routes/portal/components/form/form-datetime/form-datetime.component.html
index 37387a338..05ffa69f3 100644
--- a/web/projects/ui/src/app/common/form/form-datetime/form-datetime.component.html
+++ b/web/projects/ui/src/app/routes/portal/components/form/form-datetime/form-datetime.component.html
@@ -18,8 +18,8 @@
[disabled]="!!spec.disabled"
[readOnly]="readOnly"
[pseudoInvalid]="invalid"
- [min]="spec.min ? (spec.min | tuiMapper : getLimit)[0] : min"
- [max]="spec.max ? (spec.max | tuiMapper : getLimit)[0] : max"
+ [min]="spec.min ? (spec.min | tuiMapper: getLimit)[0] : min"
+ [max]="spec.max ? (spec.max | tuiMapper: getLimit)[0] : max"
[(ngModel)]="value"
(focusedChange)="onFocus($event)"
>
@@ -32,8 +32,8 @@
[disabled]="!!spec.disabled"
[readOnly]="readOnly"
[pseudoInvalid]="invalid"
- [min]="spec.min ? (spec.min | tuiMapper : getLimit) : min"
- [max]="spec.max ? (spec.max | tuiMapper : getLimit) : max"
+ [min]="spec.min ? (spec.min | tuiMapper: getLimit) : min"
+ [max]="spec.max ? (spec.max | tuiMapper: getLimit) : max"
[(ngModel)]="value"
(focusedChange)="onFocus($event)"
>
diff --git a/web/projects/ui/src/app/common/form/form-datetime/form-datetime.component.ts b/web/projects/ui/src/app/routes/portal/components/form/form-datetime/form-datetime.component.ts
similarity index 100%
rename from web/projects/ui/src/app/common/form/form-datetime/form-datetime.component.ts
rename to web/projects/ui/src/app/routes/portal/components/form/form-datetime/form-datetime.component.ts
diff --git a/web/projects/ui/src/app/common/form/form-file/form-file.component.html b/web/projects/ui/src/app/routes/portal/components/form/form-file/form-file.component.html
similarity index 100%
rename from web/projects/ui/src/app/common/form/form-file/form-file.component.html
rename to web/projects/ui/src/app/routes/portal/components/form/form-file/form-file.component.html
diff --git a/web/projects/ui/src/app/common/form/form-file/form-file.component.scss b/web/projects/ui/src/app/routes/portal/components/form/form-file/form-file.component.scss
similarity index 100%
rename from web/projects/ui/src/app/common/form/form-file/form-file.component.scss
rename to web/projects/ui/src/app/routes/portal/components/form/form-file/form-file.component.scss
diff --git a/web/projects/ui/src/app/common/form/form-file/form-file.component.ts b/web/projects/ui/src/app/routes/portal/components/form/form-file/form-file.component.ts
similarity index 100%
rename from web/projects/ui/src/app/common/form/form-file/form-file.component.ts
rename to web/projects/ui/src/app/routes/portal/components/form/form-file/form-file.component.ts
diff --git a/web/projects/ui/src/app/common/form/form-group/form-group.component.html b/web/projects/ui/src/app/routes/portal/components/form/form-group/form-group.component.html
similarity index 92%
rename from web/projects/ui/src/app/common/form/form-group/form-group.component.html
rename to web/projects/ui/src/app/routes/portal/components/form/form-group/form-group.component.html
index 1c4f8301a..d3c769b98 100644
--- a/web/projects/ui/src/app/common/form/form-group/form-group.component.html
+++ b/web/projects/ui/src/app/routes/portal/components/form/form-group/form-group.component.html
@@ -1,5 +1,5 @@
diff --git a/web/projects/ui/src/app/apps/portal/components/logs/logs-download.directive.ts b/web/projects/ui/src/app/routes/portal/components/logs/logs-download.directive.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/components/logs/logs-download.directive.ts
rename to web/projects/ui/src/app/routes/portal/components/logs/logs-download.directive.ts
diff --git a/web/projects/ui/src/app/apps/portal/components/logs/logs-fetch.directive.ts b/web/projects/ui/src/app/routes/portal/components/logs/logs-fetch.directive.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/components/logs/logs-fetch.directive.ts
rename to web/projects/ui/src/app/routes/portal/components/logs/logs-fetch.directive.ts
diff --git a/web/projects/ui/src/app/apps/portal/components/logs/logs.component.html b/web/projects/ui/src/app/routes/portal/components/logs/logs.component.html
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/components/logs/logs.component.html
rename to web/projects/ui/src/app/routes/portal/components/logs/logs.component.html
diff --git a/web/projects/ui/src/app/apps/portal/components/logs/logs.component.scss b/web/projects/ui/src/app/routes/portal/components/logs/logs.component.scss
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/components/logs/logs.component.scss
rename to web/projects/ui/src/app/routes/portal/components/logs/logs.component.scss
diff --git a/web/projects/ui/src/app/apps/portal/components/logs/logs.component.ts b/web/projects/ui/src/app/routes/portal/components/logs/logs.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/components/logs/logs.component.ts
rename to web/projects/ui/src/app/routes/portal/components/logs/logs.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/components/logs/logs.pipe.ts b/web/projects/ui/src/app/routes/portal/components/logs/logs.pipe.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/components/logs/logs.pipe.ts
rename to web/projects/ui/src/app/routes/portal/components/logs/logs.pipe.ts
diff --git a/web/projects/ui/src/app/apps/portal/components/tabs.component.ts b/web/projects/ui/src/app/routes/portal/components/tabs.component.ts
similarity index 89%
rename from web/projects/ui/src/app/apps/portal/components/tabs.component.ts
rename to web/projects/ui/src/app/routes/portal/components/tabs.component.ts
index 3238a4c94..42f97f70a 100644
--- a/web/projects/ui/src/app/apps/portal/components/tabs.component.ts
+++ b/web/projects/ui/src/app/routes/portal/components/tabs.component.ts
@@ -3,9 +3,9 @@ import { Component, inject } from '@angular/core'
import { RouterLink, RouterLinkActive } from '@angular/router'
import { TuiTabBarModule } from '@taiga-ui/addon-mobile'
import { combineLatest, map, startWith } from 'rxjs'
-import { SYSTEM_UTILITIES } from 'src/app/apps/portal/constants/system-utilities'
-import { BadgeService } from 'src/app/apps/portal/services/badge.service'
-import { NotificationService } from 'src/app/apps/portal/services/notification.service'
+import { SYSTEM_UTILITIES } from 'src/app/utils/system-utilities'
+import { BadgeService } from 'src/app/services/badge.service'
+import { NotificationService } from 'src/app/services/notification.service'
@Component({
standalone: true,
diff --git a/web/projects/ui/src/app/apps/portal/modals/config-dep.component.ts b/web/projects/ui/src/app/routes/portal/modals/config-dep.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/modals/config-dep.component.ts
rename to web/projects/ui/src/app/routes/portal/modals/config-dep.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/modals/config.component.ts b/web/projects/ui/src/app/routes/portal/modals/config.component.ts
similarity index 95%
rename from web/projects/ui/src/app/apps/portal/modals/config.component.ts
rename to web/projects/ui/src/app/routes/portal/modals/config.component.ts
index c13ac9eb7..caadd466d 100644
--- a/web/projects/ui/src/app/apps/portal/modals/config.component.ts
+++ b/web/projects/ui/src/app/routes/portal/modals/config.component.ts
@@ -20,24 +20,24 @@ import { POLYMORPHEUS_CONTEXT } from '@tinkoff/ng-polymorpheus'
import { compare, Operation } from 'fast-json-patch'
import { PatchDB } from 'patch-db-client'
import { endWith, firstValueFrom, Subscription } from 'rxjs'
-import { ConfigDepComponent } from 'src/app/apps/portal/modals/config-dep.component'
+import { ConfigDepComponent } from 'src/app/routes/portal/modals/config-dep.component'
import { ApiService } from 'src/app/services/api/embassy-api.service'
import {
DataModel,
PackageDataEntry,
} from 'src/app/services/patch-db/data-model'
-import { hasCurrentDeps } from 'src/app/util/has-deps'
+import { hasCurrentDeps } from 'src/app/utils/has-deps'
import {
getAllPackages,
getManifest,
getPackage,
-} from 'src/app/util/get-package-data'
+} from 'src/app/utils/get-package-data'
import { Breakages } from 'src/app/services/api/api.types'
-import { InvalidService } from 'src/app/common/form/invalid.service'
+import { InvalidService } from 'src/app/routes/portal/components/form/invalid.service'
import {
ActionButton,
FormComponent,
-} from 'src/app/apps/portal/components/form.component'
+} from 'src/app/routes/portal/components/form.component'
import { DependentInfo } from 'src/app/types/dependent-info'
import { ToManifestPipe } from '../pipes/to-manifest'
@@ -118,7 +118,7 @@ export interface PackageConfigData {
],
providers: [InvalidService],
})
-export class ServiceConfigModal {
+export class ConfigModal {
@ViewChild(FormComponent)
private readonly form?: FormComponent>
diff --git a/web/projects/ui/src/app/apps/portal/modals/prompt.component.ts b/web/projects/ui/src/app/routes/portal/modals/prompt.component.ts
similarity index 95%
rename from web/projects/ui/src/app/apps/portal/modals/prompt.component.ts
rename to web/projects/ui/src/app/routes/portal/modals/prompt.component.ts
index b039048e5..e2a2765f5 100644
--- a/web/projects/ui/src/app/apps/portal/modals/prompt.component.ts
+++ b/web/projects/ui/src/app/routes/portal/modals/prompt.component.ts
@@ -71,7 +71,6 @@ import {
}
.masked {
- font-family: text-security-disc;
-webkit-text-security: disc;
}
`,
@@ -86,7 +85,7 @@ import {
],
changeDetection: ChangeDetectionStrategy.OnPush,
})
-export class PromptComponent {
+export class PromptModal {
masked = this.options.useMask
value = this.options.initialValue || ''
@@ -110,7 +109,7 @@ export class PromptComponent {
}
}
-export const PROMPT = new PolymorpheusComponent(PromptComponent)
+export const PROMPT = new PolymorpheusComponent(PromptModal)
export interface PromptOptions {
message: string
diff --git a/web/projects/ui/src/app/common/qr.component.ts b/web/projects/ui/src/app/routes/portal/modals/qr.component.ts
similarity index 95%
rename from web/projects/ui/src/app/common/qr.component.ts
rename to web/projects/ui/src/app/routes/portal/modals/qr.component.ts
index dee6cbb7e..7aa4bf0f0 100644
--- a/web/projects/ui/src/app/common/qr.component.ts
+++ b/web/projects/ui/src/app/routes/portal/modals/qr.component.ts
@@ -10,7 +10,7 @@ import { QrCodeModule } from 'ng-qrcode'
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [QrCodeModule],
})
-export class QRComponent {
+export class QRModal {
readonly context =
inject>(POLYMORPHEUS_CONTEXT)
}
diff --git a/web/projects/ui/src/app/apps/portal/pipes/to-manifest.ts b/web/projects/ui/src/app/routes/portal/pipes/to-manifest.ts
similarity index 58%
rename from web/projects/ui/src/app/apps/portal/pipes/to-manifest.ts
rename to web/projects/ui/src/app/routes/portal/pipes/to-manifest.ts
index 0376f882f..140641a35 100644
--- a/web/projects/ui/src/app/apps/portal/pipes/to-manifest.ts
+++ b/web/projects/ui/src/app/routes/portal/pipes/to-manifest.ts
@@ -1,14 +1,13 @@
import { Pipe, PipeTransform } from '@angular/core'
import { PackageDataEntry } from 'src/app/services/patch-db/data-model'
-import { getManifest } from 'src/app/util/get-package-data'
-import { Manifest } from '../../../../../../../../core/startos/bindings/Manifest'
+import { getManifest } from 'src/app/utils/get-package-data'
@Pipe({
name: 'toManifest',
standalone: true,
})
export class ToManifestPipe implements PipeTransform {
- transform(pkg: PackageDataEntry): Manifest {
+ transform(pkg: PackageDataEntry) {
return getManifest(pkg)
}
}
diff --git a/web/projects/ui/src/app/apps/portal/portal.component.ts b/web/projects/ui/src/app/routes/portal/portal.component.ts
similarity index 66%
rename from web/projects/ui/src/app/apps/portal/portal.component.ts
rename to web/projects/ui/src/app/routes/portal/portal.component.ts
index aa79ed8b7..868fc7823 100644
--- a/web/projects/ui/src/app/apps/portal/portal.component.ts
+++ b/web/projects/ui/src/app/routes/portal/portal.component.ts
@@ -7,47 +7,53 @@ import {
Router,
RouterOutlet,
} from '@angular/router'
-import { tuiDropdownOptionsProvider } from '@taiga-ui/core'
+import { TuiScrollbarModule } from '@taiga-ui/core'
import { PatchDB } from 'patch-db-client'
import { filter, map } from 'rxjs'
-import { TabsComponent } from 'src/app/apps/portal/components/tabs.component'
+import { TabsComponent } from 'src/app/routes/portal/components/tabs.component'
+import { BreadcrumbsService } from 'src/app/services/breadcrumbs.service'
import { DataModel } from 'src/app/services/patch-db/data-model'
import { HeaderComponent } from './components/header/header.component'
-import { BreadcrumbsService } from './services/breadcrumbs.service'
@Component({
standalone: true,
template: `
-
+
+
+
+
+
`,
styles: [
`
:host {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
// TODO: Theme
- background: url(/assets/img/background_dark.jpeg);
- background-size: cover;
+ background: url(/assets/img/background_dark.jpeg) fixed center/cover;
}
main {
flex: 1;
overflow: hidden;
+ margin-bottom: 0.375rem;
}
`,
],
changeDetection: ChangeDetectionStrategy.OnPush,
- imports: [CommonModule, RouterOutlet, HeaderComponent, TabsComponent],
- providers: [
- // TODO: Move to global
- tuiDropdownOptionsProvider({
- appearance: 'start-os',
- }),
+ imports: [
+ CommonModule,
+ RouterOutlet,
+ HeaderComponent,
+ TabsComponent,
+ TuiScrollbarModule,
],
})
export class PortalComponent {
private readonly breadcrumbs = inject(BreadcrumbsService)
- // TODO: Refactor to (activate) on when routing structure becomes flat
private readonly _ = inject(Router)
.events.pipe(
filter((event): event is NavigationEnd => event instanceof NavigationEnd),
diff --git a/web/projects/ui/src/app/apps/portal/portal.routes.ts b/web/projects/ui/src/app/routes/portal/portal.routes.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/portal.routes.ts
rename to web/projects/ui/src/app/routes/portal/portal.routes.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/dashboard/controls.component.ts b/web/projects/ui/src/app/routes/portal/routes/dashboard/controls.component.ts
similarity index 90%
rename from web/projects/ui/src/app/apps/portal/routes/dashboard/controls.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/dashboard/controls.component.ts
index 063e706a0..026c33d88 100644
--- a/web/projects/ui/src/app/apps/portal/routes/dashboard/controls.component.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/dashboard/controls.component.ts
@@ -12,11 +12,11 @@ import {
tuiButtonOptionsProvider,
} from '@taiga-ui/experimental'
import { map } from 'rxjs'
-import { UILaunchComponent } from 'src/app/apps/portal/routes/dashboard/ui.component'
-import { ActionsService } from 'src/app/apps/portal/services/actions.service'
+import { UILaunchComponent } from 'src/app/routes/portal/routes/dashboard/ui.component'
+import { ActionsService } from 'src/app/services/actions.service'
import { DepErrorService } from 'src/app/services/dep-error.service'
import { PackageDataEntry } from 'src/app/services/patch-db/data-model'
-import { getManifest } from 'src/app/util/get-package-data'
+import { getManifest } from 'src/app/utils/get-package-data'
@Component({
standalone: true,
diff --git a/web/projects/ui/src/app/apps/portal/routes/dashboard/dashboard.component.ts b/web/projects/ui/src/app/routes/portal/routes/dashboard/dashboard.component.ts
similarity index 95%
rename from web/projects/ui/src/app/apps/portal/routes/dashboard/dashboard.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/dashboard/dashboard.component.ts
index 73aed8a91..2b63042c5 100644
--- a/web/projects/ui/src/app/apps/portal/routes/dashboard/dashboard.component.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/dashboard/dashboard.component.ts
@@ -35,12 +35,14 @@ import { UtilitiesComponent } from './utilities.component'
`,
styles: `
:host {
+ height: calc(100vh - 6rem);
position: relative;
max-width: 64rem;
display: grid;
+ grid-template-rows: auto 1fr;
grid-template-columns: 1fr 1fr 1fr;
gap: 1rem;
- margin: 2rem auto;
+ margin: 2rem auto 0;
border: 0.375rem solid transparent;
}
@@ -76,7 +78,7 @@ import { UtilitiesComponent } from './utilities.component'
}
:host-context(tui-root._mobile) {
- height: 100%;
+ height: calc(100vh - 7rem);
display: block;
margin: 0;
border-top: 0;
diff --git a/web/projects/ui/src/app/apps/portal/routes/dashboard/metrics.component.ts b/web/projects/ui/src/app/routes/portal/routes/dashboard/metrics.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/dashboard/metrics.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/dashboard/metrics.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/dashboard/service.component.ts b/web/projects/ui/src/app/routes/portal/routes/dashboard/service.component.ts
similarity index 90%
rename from web/projects/ui/src/app/apps/portal/routes/dashboard/service.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/dashboard/service.component.ts
index e6be029d8..eff28f227 100644
--- a/web/projects/ui/src/app/apps/portal/routes/dashboard/service.component.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/dashboard/service.component.ts
@@ -7,12 +7,12 @@ import {
} from '@angular/core'
import { RouterLink } from '@angular/router'
import { tuiPure } from '@taiga-ui/cdk'
-import { ControlsComponent } from 'src/app/apps/portal/routes/dashboard/controls.component'
-import { StatusComponent } from 'src/app/apps/portal/routes/dashboard/status.component'
+import { ControlsComponent } from 'src/app/routes/portal/routes/dashboard/controls.component'
+import { StatusComponent } from 'src/app/routes/portal/routes/dashboard/status.component'
import { ConnectionService } from 'src/app/services/connection.service'
import { PkgDependencyErrors } from 'src/app/services/dep-error.service'
import { PackageDataEntry } from 'src/app/services/patch-db/data-model'
-import { getManifest } from 'src/app/util/get-package-data'
+import { getManifest } from 'src/app/utils/get-package-data'
@Component({
standalone: true,
diff --git a/web/projects/ui/src/app/apps/portal/routes/dashboard/services.component.ts b/web/projects/ui/src/app/routes/portal/routes/dashboard/services.component.ts
similarity index 54%
rename from web/projects/ui/src/app/apps/portal/routes/dashboard/services.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/dashboard/services.component.ts
index 03fe26da6..8925a0a86 100644
--- a/web/projects/ui/src/app/apps/portal/routes/dashboard/services.component.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/dashboard/services.component.ts
@@ -1,46 +1,52 @@
import { AsyncPipe } from '@angular/common'
import { ChangeDetectionStrategy, Component, inject } from '@angular/core'
-import { ServiceComponent } from 'src/app/apps/portal/routes/dashboard/service.component'
-import { ServicesService } from 'src/app/apps/portal/services/services.service'
+import { TuiScrollbarModule } from '@taiga-ui/core'
+import { ToManifestPipe } from 'src/app/routes/portal/pipes/to-manifest'
+import { ServiceComponent } from 'src/app/routes/portal/routes/dashboard/service.component'
+import { ServicesService } from 'src/app/routes/portal/routes/dashboard/services.service'
import { DepErrorService } from 'src/app/services/dep-error.service'
-import { ToManifestPipe } from '../../pipes/to-manifest'
@Component({
standalone: true,
selector: 'app-services',
template: `
-
-
-
- |
- Name |
- Version |
- Status |
- Controls |
-
-
-
- @if (errors$ | async; as errors) {
- @for (pkg of services$ | async; track $index) {
-
- } @empty {
-
- | No services installed |
-
+
+
+
+
+ |
+ Name |
+ Version |
+ Status |
+
+ Controls
+ |
+
+
+
+ @if (errors$ | async; as errors) {
+ @for (pkg of services$ | async; track $index) {
+
+ } @empty {
+
+ | No services installed |
+
+ }
}
- }
-
-
+
+
+
`,
styles: `
:host {
grid-column: 1/4;
margin-top: -2rem;
+ overflow: hidden;
--clip-path: polygon(
0 2rem,
@@ -94,7 +100,7 @@ import { ToManifestPipe } from '../../pipes/to-manifest'
}
`,
changeDetection: ChangeDetectionStrategy.OnPush,
- imports: [ServiceComponent, AsyncPipe, ToManifestPipe],
+ imports: [ServiceComponent, AsyncPipe, ToManifestPipe, TuiScrollbarModule],
})
export class ServicesComponent {
readonly services$ = inject(ServicesService)
diff --git a/web/projects/ui/src/app/apps/portal/services/services.service.ts b/web/projects/ui/src/app/routes/portal/routes/dashboard/services.service.ts
similarity index 92%
rename from web/projects/ui/src/app/apps/portal/services/services.service.ts
rename to web/projects/ui/src/app/routes/portal/routes/dashboard/services.service.ts
index 69083a8e8..6a50eacd4 100644
--- a/web/projects/ui/src/app/apps/portal/services/services.service.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/dashboard/services.service.ts
@@ -5,7 +5,7 @@ import {
DataModel,
PackageDataEntry,
} from 'src/app/services/patch-db/data-model'
-import { getManifest } from 'src/app/util/get-package-data'
+import { getManifest } from 'src/app/utils/get-package-data'
@Injectable({
providedIn: 'root',
diff --git a/web/projects/ui/src/app/apps/portal/routes/dashboard/status.component.ts b/web/projects/ui/src/app/routes/portal/routes/dashboard/status.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/dashboard/status.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/dashboard/status.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/dashboard/ui.component.ts b/web/projects/ui/src/app/routes/portal/routes/dashboard/ui.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/dashboard/ui.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/dashboard/ui.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/dashboard/utilities.component.ts b/web/projects/ui/src/app/routes/portal/routes/dashboard/utilities.component.ts
similarity index 94%
rename from web/projects/ui/src/app/apps/portal/routes/dashboard/utilities.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/dashboard/utilities.component.ts
index 00d4483a0..1e3c1871e 100644
--- a/web/projects/ui/src/app/apps/portal/routes/dashboard/utilities.component.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/dashboard/utilities.component.ts
@@ -5,8 +5,8 @@ import {
TuiBadgeNotificationModule,
TuiIconModule,
} from '@taiga-ui/experimental'
-import { SYSTEM_UTILITIES } from 'src/app/apps/portal/constants/system-utilities'
-import { BadgeService } from 'src/app/apps/portal/services/badge.service'
+import { SYSTEM_UTILITIES } from 'src/app/utils/system-utilities'
+import { BadgeService } from 'src/app/services/badge.service'
@Component({
standalone: true,
@@ -29,6 +29,7 @@ import { BadgeService } from 'src/app/apps/portal/services/badge.service'
@import '@taiga-ui/core/styles/taiga-ui-local';
:host {
+ height: fit-content;
--clip-path: polygon(
0 2rem,
1.25rem 0,
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/components/action-success.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/components/action-success.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/service/components/action-success.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/components/action-success.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/components/action.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/components/action.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/service/components/action.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/components/action.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/components/actions.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/components/actions.component.ts
similarity index 89%
rename from web/projects/ui/src/app/apps/portal/routes/service/components/actions.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/components/actions.component.ts
index 7c3238229..14889dcad 100644
--- a/web/projects/ui/src/app/apps/portal/routes/service/components/actions.component.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/service/components/actions.component.ts
@@ -6,10 +6,10 @@ import {
} from '@angular/core'
import { tuiPure } from '@taiga-ui/cdk'
import { TuiButtonModule } from '@taiga-ui/experimental'
-import { DependencyInfo } from 'src/app/apps/portal/routes/service/types/dependency-info'
-import { ActionsService } from 'src/app/apps/portal/services/actions.service'
+import { DependencyInfo } from 'src/app/routes/portal/routes/service/types/dependency-info'
+import { ActionsService } from 'src/app/services/actions.service'
import { PackageDataEntry } from 'src/app/services/patch-db/data-model'
-import { getManifest } from 'src/app/util/get-package-data'
+import { getManifest } from 'src/app/utils/get-package-data'
import { Manifest } from '../../../../../../../../../../core/startos/bindings/Manifest'
@Component({
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/components/additional-item.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/components/additional-item.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/service/components/additional-item.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/components/additional-item.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/components/additional.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/components/additional.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/service/components/additional.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/components/additional.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/components/dependencies.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/components/dependencies.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/service/components/dependencies.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/components/dependencies.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/components/dependency.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/components/dependency.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/service/components/dependency.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/components/dependency.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/components/health-check.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/components/health-check.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/service/components/health-check.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/components/health-check.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/components/health-checks.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/components/health-checks.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/service/components/health-checks.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/components/health-checks.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/components/interface-list-item.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/components/interface-list-item.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/service/components/interface-list-item.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/components/interface-list-item.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/components/interface-list.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/components/interface-list.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/service/components/interface-list.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/components/interface-list.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/components/menu-item.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/components/menu-item.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/service/components/menu-item.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/components/menu-item.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/components/menu.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/components/menu.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/service/components/menu.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/components/menu.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/components/progress.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/components/progress.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/service/components/progress.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/components/progress.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/components/property.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/components/property.component.ts
similarity index 96%
rename from web/projects/ui/src/app/apps/portal/routes/service/components/property.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/components/property.component.ts
index 67cde13e2..87fe5aa3e 100644
--- a/web/projects/ui/src/app/apps/portal/routes/service/components/property.component.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/service/components/property.component.ts
@@ -5,7 +5,7 @@ import {
Input,
} from '@angular/core'
import { CopyService } from '@start9labs/shared'
-import { mask } from 'src/app/util/mask'
+import { mask } from 'src/app/utils/mask'
import { TuiLabelModule } from '@taiga-ui/core'
import { TuiButtonModule } from '@taiga-ui/experimental'
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/components/status.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/components/status.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/service/components/status.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/components/status.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/modals/properties.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/modals/properties.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/service/modals/properties.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/modals/properties.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/pipes/group-actions.pipe.ts b/web/projects/ui/src/app/routes/portal/routes/service/pipes/group-actions.pipe.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/service/pipes/group-actions.pipe.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/pipes/group-actions.pipe.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/pipes/install-progress.pipe.ts b/web/projects/ui/src/app/routes/portal/routes/service/pipes/install-progress.pipe.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/service/pipes/install-progress.pipe.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/pipes/install-progress.pipe.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/pipes/interface-info.pipe.ts b/web/projects/ui/src/app/routes/portal/routes/service/pipes/interface-info.pipe.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/service/pipes/interface-info.pipe.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/pipes/interface-info.pipe.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/pipes/to-additional.pipe.ts b/web/projects/ui/src/app/routes/portal/routes/service/pipes/to-additional.pipe.ts
similarity index 97%
rename from web/projects/ui/src/app/apps/portal/routes/service/pipes/to-additional.pipe.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/pipes/to-additional.pipe.ts
index cd525ad95..06689bcd2 100644
--- a/web/projects/ui/src/app/apps/portal/routes/service/pipes/to-additional.pipe.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/service/pipes/to-additional.pipe.ts
@@ -5,7 +5,7 @@ import { CopyService, MarkdownComponent } from '@start9labs/shared'
import { from } from 'rxjs'
import { PackageDataEntry } from 'src/app/services/patch-db/data-model'
import { ApiService } from 'src/app/services/api/embassy-api.service'
-import { getManifest } from 'src/app/util/get-package-data'
+import { getManifest } from 'src/app/utils/get-package-data'
import { Manifest } from '../../../../../../../../../../core/startos/bindings/Manifest'
export const FALLBACK_URL = 'Not provided'
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/pipes/to-menu.pipe.ts b/web/projects/ui/src/app/routes/portal/routes/service/pipes/to-menu.pipe.ts
similarity index 95%
rename from web/projects/ui/src/app/apps/portal/routes/service/pipes/to-menu.pipe.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/pipes/to-menu.pipe.ts
index c08be87a6..7df1aa01d 100644
--- a/web/projects/ui/src/app/apps/portal/routes/service/pipes/to-menu.pipe.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/service/pipes/to-menu.pipe.ts
@@ -6,14 +6,14 @@ import { PolymorpheusComponent } from '@tinkoff/ng-polymorpheus'
import { from } from 'rxjs'
import {
PackageConfigData,
- ServiceConfigModal,
-} from 'src/app/apps/portal/modals/config.component'
+ ConfigModal,
+} from 'src/app/routes/portal/modals/config.component'
import { ApiService } from 'src/app/services/api/embassy-api.service'
import { FormDialogService } from 'src/app/services/form-dialog.service'
import { PackageDataEntry } from 'src/app/services/patch-db/data-model'
import { ProxyService } from 'src/app/services/proxy.service'
import { ServicePropertiesModal } from '../modals/properties.component'
-import { getManifest } from 'src/app/util/get-package-data'
+import { getManifest } from 'src/app/utils/get-package-data'
import { Manifest } from '../../../../../../../../../../core/startos/bindings/Manifest'
export interface ServiceMenu {
@@ -122,7 +122,7 @@ export class ToMenuPipe implements PipeTransform {
}
private openConfig({ title, id }: Manifest) {
- this.formDialog.open(ServiceConfigModal, {
+ this.formDialog.open(ConfigModal, {
label: `${title} configuration`,
data: { pkgId: id },
})
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/routes/actions.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/routes/actions.component.ts
similarity index 95%
rename from web/projects/ui/src/app/apps/portal/routes/service/routes/actions.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/routes/actions.component.ts
index 9b8d66365..4e1256203 100644
--- a/web/projects/ui/src/app/apps/portal/routes/service/routes/actions.component.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/service/routes/actions.component.ts
@@ -13,20 +13,20 @@ import { TUI_PROMPT } from '@taiga-ui/kit'
import { PolymorpheusComponent } from '@tinkoff/ng-polymorpheus'
import { PatchDB } from 'patch-db-client'
import { filter, switchMap, timer } from 'rxjs'
-import { FormComponent } from 'src/app/apps/portal/components/form.component'
+import { FormComponent } from 'src/app/routes/portal/components/form.component'
import { ApiService } from 'src/app/services/api/embassy-api.service'
import {
DataModel,
PackageDataEntry,
} from 'src/app/services/patch-db/data-model'
-import { hasCurrentDeps } from 'src/app/util/has-deps'
+import { hasCurrentDeps } from 'src/app/utils/has-deps'
import { FormDialogService } from 'src/app/services/form-dialog.service'
import { ServiceActionComponent } from '../components/action.component'
import { ServiceActionSuccessComponent } from '../components/action-success.component'
import { GroupActionsPipe } from '../pipes/group-actions.pipe'
-import { ToManifestPipe } from 'src/app/apps/portal/pipes/to-manifest'
+import { ToManifestPipe } from 'src/app/routes/portal/pipes/to-manifest'
import { T } from '@start9labs/start-sdk'
-import { getAllPackages, getManifest } from 'src/app/util/get-package-data'
+import { getAllPackages, getManifest } from 'src/app/utils/get-package-data'
@Component({
template: `
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/routes/interface.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/routes/interface.component.ts
similarity index 92%
rename from web/projects/ui/src/app/apps/portal/routes/service/routes/interface.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/routes/interface.component.ts
index 57b5228dc..48d0a8f05 100644
--- a/web/projects/ui/src/app/apps/portal/routes/service/routes/interface.component.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/service/routes/interface.component.ts
@@ -4,7 +4,7 @@ import { ActivatedRoute } from '@angular/router'
import { getPkgId } from '@start9labs/shared'
import { PatchDB } from 'patch-db-client'
import { map } from 'rxjs'
-import { InterfaceComponent } from 'src/app/apps/portal/components/interfaces/interface.component'
+import { InterfaceComponent } from 'src/app/routes/portal/components/interfaces/interface.component'
import { DataModel } from 'src/app/services/patch-db/data-model'
import { getAddresses } from '../../../components/interfaces/interface.utils'
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/routes/logs.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/routes/logs.component.ts
similarity index 91%
rename from web/projects/ui/src/app/apps/portal/routes/service/routes/logs.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/routes/logs.component.ts
index 719eab01a..d542fcac5 100644
--- a/web/projects/ui/src/app/apps/portal/routes/service/routes/logs.component.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/service/routes/logs.component.ts
@@ -3,7 +3,7 @@ import { ActivatedRoute } from '@angular/router'
import { getPkgId } from '@start9labs/shared'
import { ApiService } from 'src/app/services/api/embassy-api.service'
import { RR } from 'src/app/services/api/api.types'
-import { LogsComponent } from 'src/app/apps/portal/components/logs/logs.component'
+import { LogsComponent } from 'src/app/routes/portal/components/logs/logs.component'
@Component({
template: '',
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/routes/outlet.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/routes/outlet.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/service/routes/outlet.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/routes/outlet.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/routes/service.component.ts b/web/projects/ui/src/app/routes/portal/routes/service/routes/service.component.ts
similarity index 96%
rename from web/projects/ui/src/app/apps/portal/routes/service/routes/service.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/routes/service.component.ts
index f0eefb616..a1e4e7001 100644
--- a/web/projects/ui/src/app/apps/portal/routes/service/routes/service.component.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/service/routes/service.component.ts
@@ -31,11 +31,11 @@ import { ServiceProgressComponent } from '../components/progress.component'
import { ServiceStatusComponent } from '../components/status.component'
import {
PackageConfigData,
- ServiceConfigModal,
-} from 'src/app/apps/portal/modals/config.component'
+ ConfigModal,
+} from 'src/app/routes/portal/modals/config.component'
import { DependencyInfo } from '../types/dependency-info'
-import { getManifest } from 'src/app/util/get-package-data'
-import { InstallingProgressPipe } from 'src/app/apps/portal/routes/service/pipes/install-progress.pipe'
+import { getManifest } from 'src/app/utils/get-package-data'
+import { InstallingProgressPipe } from 'src/app/routes/portal/routes/service/pipes/install-progress.pipe'
import { Manifest } from '../../../../../../../../../../core/startos/bindings/Manifest'
import { HealthCheckResult } from '../../../../../../../../../../core/startos/bindings/HealthCheckResult'
import { MainStatus } from '../../../../../../../../../../core/startos/bindings/MainStatus'
@@ -250,7 +250,7 @@ export class ServiceRoute {
case 'update':
return this.installDep(pkg, pkgManifest, depId)
case 'configure':
- return this.formDialog.open(ServiceConfigModal, {
+ return this.formDialog.open(ConfigModal, {
label: `${pkg.currentDependencies[depId].title} config`,
data: {
pkgId: depId,
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/service.module.ts b/web/projects/ui/src/app/routes/portal/routes/service/service.module.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/service/service.module.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/service.module.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/service/types/dependency-info.ts b/web/projects/ui/src/app/routes/portal/routes/service/types/dependency-info.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/service/types/dependency-info.ts
rename to web/projects/ui/src/app/routes/portal/routes/service/types/dependency-info.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/backups.component.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/backups.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/backups.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/backups.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/components/physical.component.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/components/physical.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/components/physical.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/components/physical.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/components/status.component.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/components/status.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/components/status.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/components/status.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/components/targets.component.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/components/targets.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/components/targets.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/components/targets.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/components/upcoming.component.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/components/upcoming.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/components/upcoming.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/components/upcoming.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/modals/backup.component.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/modals/backup.component.ts
similarity index 98%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/modals/backup.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/modals/backup.component.ts
index 11470bd63..feea40f97 100644
--- a/web/projects/ui/src/app/apps/portal/routes/system/backups/modals/backup.component.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/system/backups/modals/backup.component.ts
@@ -17,7 +17,7 @@ import {
import { PatchDB } from 'patch-db-client'
import { firstValueFrom, map } from 'rxjs'
import { DataModel } from 'src/app/services/patch-db/data-model'
-import { getManifest } from 'src/app/util/get-package-data'
+import { getManifest } from 'src/app/utils/get-package-data'
interface Package {
id: string
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/modals/edit.component.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/modals/edit.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/modals/edit.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/modals/edit.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/modals/history.component.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/modals/history.component.ts
similarity index 98%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/modals/history.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/modals/history.component.ts
index 2506249c1..1a44c2322 100644
--- a/web/projects/ui/src/app/apps/portal/routes/system/backups/modals/history.component.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/system/backups/modals/history.component.ts
@@ -14,7 +14,7 @@ import { TuiCheckboxModule } from '@taiga-ui/kit'
import { BehaviorSubject } from 'rxjs'
import { BackupRun } from 'src/app/services/api/api.types'
import { ApiService } from 'src/app/services/api/embassy-api.service'
-import { REPORT } from 'src/app/apps/portal/modals/report.component'
+import { REPORT } from 'src/app/components/report.component'
import { DurationPipe } from '../pipes/duration.pipe'
import { HasErrorPipe } from '../pipes/has-error.pipe'
import { GetBackupIconPipe } from '../pipes/get-backup-icon.pipe'
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/modals/jobs.component.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/modals/jobs.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/modals/jobs.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/modals/jobs.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/modals/recover.component.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/modals/recover.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/modals/recover.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/modals/recover.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/modals/target.component.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/modals/target.component.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/modals/target.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/modals/target.component.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/modals/targets.component.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/modals/targets.component.ts
similarity index 97%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/modals/targets.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/modals/targets.component.ts
index 21278dfc4..0c7aa954d 100644
--- a/web/projects/ui/src/app/apps/portal/routes/system/backups/modals/targets.component.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/system/backups/modals/targets.component.ts
@@ -6,8 +6,8 @@ import { TuiNotificationModule } from '@taiga-ui/core'
import { TuiButtonModule, TuiFadeModule } from '@taiga-ui/experimental'
import { PolymorpheusComponent } from '@tinkoff/ng-polymorpheus'
import { BehaviorSubject } from 'rxjs'
-import { FormComponent } from 'src/app/apps/portal/components/form.component'
-import { configBuilderToSpec } from 'src/app/util/configBuilderToSpec'
+import { FormComponent } from 'src/app/routes/portal/components/form.component'
+import { configBuilderToSpec } from 'src/app/utils/configBuilderToSpec'
import {
cifsSpec,
diskBackupTargetSpec,
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/pipes/duration.pipe.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/pipes/duration.pipe.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/pipes/duration.pipe.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/pipes/duration.pipe.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/pipes/get-backup-icon.pipe.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/pipes/get-backup-icon.pipe.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/pipes/get-backup-icon.pipe.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/pipes/get-backup-icon.pipe.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/pipes/get-display-info.pipe.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/pipes/get-display-info.pipe.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/pipes/get-display-info.pipe.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/pipes/get-display-info.pipe.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/pipes/has-error.pipe.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/pipes/has-error.pipe.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/pipes/has-error.pipe.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/pipes/has-error.pipe.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/pipes/to-human-cron.pipe.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/pipes/to-human-cron.pipe.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/pipes/to-human-cron.pipe.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/pipes/to-human-cron.pipe.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/pipes/to-options.pipe.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/pipes/to-options.pipe.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/pipes/to-options.pipe.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/pipes/to-options.pipe.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/services/create.service.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/services/create.service.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/services/create.service.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/services/create.service.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/services/restore.service.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/services/restore.service.ts
similarity index 98%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/services/restore.service.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/services/restore.service.ts
index 96f907199..6574737bd 100644
--- a/web/projects/ui/src/app/apps/portal/routes/system/backups/services/restore.service.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/system/backups/services/restore.service.ts
@@ -17,7 +17,7 @@ import {
import {
PROMPT,
PromptOptions,
-} from 'src/app/apps/portal/modals/prompt.component'
+} from 'src/app/routes/portal/modals/prompt.component'
import { ApiService } from 'src/app/services/api/embassy-api.service'
import { BackupTarget } from 'src/app/services/api/api.types'
import { TARGET, TARGET_RESTORE } from '../modals/target.component'
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/types/backup-config.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/types/backup-config.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/types/backup-config.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/types/backup-config.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/types/backup-type.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/types/backup-type.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/types/backup-type.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/types/backup-type.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/types/display-info.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/types/display-info.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/types/display-info.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/types/display-info.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/types/recover-data.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/types/recover-data.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/types/recover-data.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/types/recover-data.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/types/recover-option.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/types/recover-option.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/types/recover-option.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/types/recover-option.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/types/target.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/types/target.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/types/target.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/types/target.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/backups/utils/job-builder.ts b/web/projects/ui/src/app/routes/portal/routes/system/backups/utils/job-builder.ts
similarity index 100%
rename from web/projects/ui/src/app/apps/portal/routes/system/backups/utils/job-builder.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/backups/utils/job-builder.ts
diff --git a/web/projects/ui/src/app/apps/portal/routes/system/logs/logs.component.ts b/web/projects/ui/src/app/routes/portal/routes/system/logs/logs.component.ts
similarity index 89%
rename from web/projects/ui/src/app/apps/portal/routes/system/logs/logs.component.ts
rename to web/projects/ui/src/app/routes/portal/routes/system/logs/logs.component.ts
index a7e75f560..c133c5187 100644
--- a/web/projects/ui/src/app/apps/portal/routes/system/logs/logs.component.ts
+++ b/web/projects/ui/src/app/routes/portal/routes/system/logs/logs.component.ts
@@ -8,7 +8,6 @@ import { LogsComponent } from '../../../components/logs/logs.component'
@Component({
template: `
-