From a89a48d11e5219119e284b06061fb9c3e9700435 Mon Sep 17 00:00:00 2001 From: --list <18093452+simula-r@users.noreply.github.com> Date: Mon, 12 Jan 2026 23:25:58 -0800 Subject: [PATCH] feat: new settings --- src/components/dialog/GlobalDialog.vue | 22 ++ .../dialog/content/setting/UserPanel.vue | 2 +- .../dialog/content/setting/WorkspacePanel.vue | 17 + .../content/setting/WorkspacePanelContent.vue | 44 +++ .../content/setting/WorkspaceSidebarItem.vue | 16 + src/components/topbar/CurrentUserPopover.vue | 2 +- src/locales/en/main.json | 18 +- .../components/SubscriptionPanel.vue | 367 +----------------- .../components/SubscriptionPanelContent.vue | 363 +++++++++++++++++ .../components/SettingDialogContent.vue | 61 +-- .../settings/composables/useSettingUI.ts | 112 ++++-- .../workspace/composables/useWorkspace.ts | 24 ++ src/services/dialogService.ts | 13 + 13 files changed, 629 insertions(+), 432 deletions(-) create mode 100644 src/components/dialog/content/setting/WorkspacePanel.vue create mode 100644 src/components/dialog/content/setting/WorkspacePanelContent.vue create mode 100644 src/components/dialog/content/setting/WorkspaceSidebarItem.vue create mode 100644 src/platform/cloud/subscription/components/SubscriptionPanelContent.vue create mode 100644 src/platform/workspace/composables/useWorkspace.ts diff --git a/src/components/dialog/GlobalDialog.vue b/src/components/dialog/GlobalDialog.vue index afc056d613..9ae81ea694 100644 --- a/src/components/dialog/GlobalDialog.vue +++ b/src/components/dialog/GlobalDialog.vue @@ -55,4 +55,26 @@ const dialogStore = useDialogStore() @apply p-2 2xl:p-[var(--p-dialog-content-padding)]; @apply pt-0; } + +.settings-dialog { + width: 100%; + max-width: 1440px; +} + +.settings-dialog .p-dialog-content { + width: 100%; +} + +.manager-dialog { + height: 80vh; + max-width: 1724px; + max-height: 1026px; +} + +@media (min-width: 3000px) { + .manager-dialog { + max-width: 2200px; + max-height: 1320px; + } +} diff --git a/src/components/dialog/content/setting/UserPanel.vue b/src/components/dialog/content/setting/UserPanel.vue index 60bc6dba31..8f8f77cd3a 100644 --- a/src/components/dialog/content/setting/UserPanel.vue +++ b/src/components/dialog/content/setting/UserPanel.vue @@ -1,5 +1,5 @@