From d7fafcb2eab00a12d17f160fc382d509cf083291 Mon Sep 17 00:00:00 2001 From: Jan Date: Mon, 12 Jun 2023 00:34:42 +0200 Subject: [PATCH 1/8] Init --- .../src/components/AppTemplate.vue | 23 +- .../src/views/Groups.vue | 1 + .../src/views/Spaces.vue | 1 + .../src/views/Users.vue | 1 + .../src/components/AppBar/AppBar.vue | 2 +- packages/web-pkg/package.json | 1 + .../src/components}/ViewOptions.vue | 20 +- packages/web-pkg/src/composables/index.ts | 1 + .../src/composables/viewMode/constants.ts | 36 + .../web-pkg/src/composables/viewMode/index.ts | 2 + .../src/composables/viewMode/useViewMode.ts | 28 + .../unit/components}/ViewOptions.spec.ts | 2 +- pnpm-lock.yaml | 756 ++---------------- 13 files changed, 195 insertions(+), 679 deletions(-) rename packages/{web-app-files/src/components/AppBar => web-pkg/src/components}/ViewOptions.vue (94%) create mode 100644 packages/web-pkg/src/composables/viewMode/constants.ts create mode 100644 packages/web-pkg/src/composables/viewMode/index.ts create mode 100644 packages/web-pkg/src/composables/viewMode/useViewMode.ts rename packages/{web-app-files/tests/unit/components/AppBar => web-pkg/tests/unit/components}/ViewOptions.spec.ts (98%) diff --git a/packages/web-app-admin-settings/src/components/AppTemplate.vue b/packages/web-app-admin-settings/src/components/AppTemplate.vue index 30a8afad559..2d89fe5697c 100644 --- a/packages/web-app-admin-settings/src/components/AppTemplate.vue +++ b/packages/web-app-admin-settings/src/components/AppTemplate.vue @@ -12,7 +12,15 @@ :items="breadcrumbs" /> -
+
+