From b2520a1cf684f99063f69b57c15077b8b06fab0f Mon Sep 17 00:00:00 2001 From: Julius Knorr Date: Wed, 14 Jan 2026 22:35:13 +0100 Subject: [PATCH] feat: Add office switcher with feature comparison Signed-off-by: Julius Knorr --- .../lib/Controller/AppSettingsController.php | 1 + apps/settings/src/components/AppList.vue | 49 +++- .../AppList/OfficeSuiteSwitcher.vue | 265 ++++++++++++++++++ apps/settings/src/constants/OfficeSuites.js | 56 ++++ .../settings/src/views/AppStoreNavigation.vue | 1 - apps/settings/src/views/AppStoreSidebar.vue | 2 +- 6 files changed, 371 insertions(+), 3 deletions(-) create mode 100644 apps/settings/src/components/AppList/OfficeSuiteSwitcher.vue create mode 100644 apps/settings/src/constants/OfficeSuites.js diff --git a/apps/settings/lib/Controller/AppSettingsController.php b/apps/settings/lib/Controller/AppSettingsController.php index 5f687cd00ca..08902fd23bf 100644 --- a/apps/settings/lib/Controller/AppSettingsController.php +++ b/apps/settings/lib/Controller/AppSettingsController.php @@ -94,6 +94,7 @@ class AppSettingsController extends Controller { $this->initialState->provideInitialState('appstoreEnabled', $this->config->getSystemValueBool('appstoreenabled', true)); $this->initialState->provideInitialState('appstoreBundles', $this->getBundles()); $this->initialState->provideInitialState('appstoreUpdateCount', count($this->getAppsWithUpdates())); + $this->initialState->provideInitialState('isAllInOne', filter_var(getenv('THIS_IS_AIO'), FILTER_VALIDATE_BOOL)); $groups = array_map(static fn (IGroup $group): array => [ 'id' => $group->getGID(), diff --git a/apps/settings/src/components/AppList.vue b/apps/settings/src/components/AppList.vue index ccab6708fe0..4bcf5560768 100644 --- a/apps/settings/src/components/AppList.vue +++ b/apps/settings/src/components/AppList.vue @@ -5,6 +5,11 @@ - diff --git a/apps/settings/src/views/AppStoreSidebar.vue b/apps/settings/src/views/AppStoreSidebar.vue index 1ae66d0a984..a25e4e8c693 100644 --- a/apps/settings/src/views/AppStoreSidebar.vue +++ b/apps/settings/src/views/AppStoreSidebar.vue @@ -35,7 +35,7 @@ - +