From fad7c5985c05a87386b9d1ea1286398a3ea642e5 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Tue, 17 Jun 2025 23:13:04 +0530 Subject: [PATCH] refactor: profile page --- frontend/components.d.ts | 4 - .../Settings/ProfileImageEditor.vue | 64 ------ .../components/Settings/ProfileSettings.vue | 192 +++++++++++------- 3 files changed, 113 insertions(+), 147 deletions(-) delete mode 100644 frontend/src/components/Settings/ProfileImageEditor.vue diff --git a/frontend/components.d.ts b/frontend/components.d.ts index 514e74c0..fea0da0f 100644 --- a/frontend/components.d.ts +++ b/frontend/components.d.ts @@ -15,7 +15,6 @@ declare module 'vue' { AddExistingUserModal: typeof import('./src/components/Modals/AddExistingUserModal.vue')['default'] AddressIcon: typeof import('./src/components/Icons/AddressIcon.vue')['default'] AddressModal: typeof import('./src/components/Modals/AddressModal.vue')['default'] - Agents: typeof import('./src/components/Settings/Agents.vue')['default'] AllModals: typeof import('./src/components/Activities/AllModals.vue')['default'] AppHeader: typeof import('./src/components/Layouts/AppHeader.vue')['default'] Apps: typeof import('./src/components/Apps.vue')['default'] @@ -138,7 +137,6 @@ declare module 'vue' { InboundCallIcon: typeof import('./src/components/Icons/InboundCallIcon.vue')['default'] InboxIcon: typeof import('./src/components/Icons/InboxIcon.vue')['default'] IndicatorIcon: typeof import('./src/components/Icons/IndicatorIcon.vue')['default'] - InviteAgentPage: typeof import('./src/components/Settings/InviteAgentPage.vue')['default'] InviteIcon: typeof import('./src/components/Icons/InviteIcon.vue')['default'] InviteUserPage: typeof import('./src/components/Settings/InviteUserPage.vue')['default'] KanbanIcon: typeof import('./src/components/Icons/KanbanIcon.vue')['default'] @@ -155,7 +153,6 @@ declare module 'vue' { ListIcon: typeof import('./src/components/Icons/ListIcon.vue')['default'] ListRows: typeof import('./src/components/ListViews/ListRows.vue')['default'] LoadingIndicator: typeof import('./src/components/Icons/LoadingIndicator.vue')['default'] - LucideCalendar: typeof import('~icons/lucide/calendar')['default'] LucideInfo: typeof import('~icons/lucide/info')['default'] LucidePlus: typeof import('~icons/lucide/plus')['default'] LucideSearch: typeof import('~icons/lucide/search')['default'] @@ -190,7 +187,6 @@ declare module 'vue' { PlaybackSpeedOption: typeof import('./src/components/Activities/PlaybackSpeedOption.vue')['default'] PlayIcon: typeof import('./src/components/Icons/PlayIcon.vue')['default'] Popover: typeof import('./src/components/frappe-ui/Popover.vue')['default'] - ProfileImageEditor: typeof import('./src/components/Settings/ProfileImageEditor.vue')['default'] ProfileSettings: typeof import('./src/components/Settings/ProfileSettings.vue')['default'] QuickEntryModal: typeof import('./src/components/Modals/QuickEntryModal.vue')['default'] QuickFilterField: typeof import('./src/components/QuickFilterField.vue')['default'] diff --git a/frontend/src/components/Settings/ProfileImageEditor.vue b/frontend/src/components/Settings/ProfileImageEditor.vue deleted file mode 100644 index 8703561b..00000000 --- a/frontend/src/components/Settings/ProfileImageEditor.vue +++ /dev/null @@ -1,64 +0,0 @@ - - diff --git a/frontend/src/components/Settings/ProfileSettings.vue b/frontend/src/components/Settings/ProfileSettings.vue index 919b3f6c..e22d532b 100644 --- a/frontend/src/components/Settings/ProfileSettings.vue +++ b/frontend/src/components/Settings/ProfileSettings.vue @@ -2,19 +2,65 @@
-
- -
- {{ - profile.full_name - }} - {{ profile.email }} -
-
+ + +
-
+
+
+ +