From 2f407493debfba279f85f52c43f834595565f184 Mon Sep 17 00:00:00 2001 From: Yoland Y <4950057+yoland68@users.noreply.github.com> Date: Tue, 26 Aug 2025 13:45:01 -0700 Subject: [PATCH 1/2] [feat] Add account deletion functionality to UserPanel component - Implemented a new button for deleting user accounts in UserPanel.vue - Added confirmation dialog for account deletion using dialogService - Integrated deleteAccount action in useFirebaseAuthActions - Updated en files to include new translation keys for account deletion --- .../dialog/content/setting/UserPanel.vue | 29 +++++++++++++------ src/composables/auth/useCurrentUser.ts | 20 ++++++++++++- .../auth/useFirebaseAuthActions.ts | 11 +++++++ src/locales/en/main.json | 9 ++++++ src/stores/firebaseAuthStore.ts | 10 +++++++ 5 files changed, 69 insertions(+), 10 deletions(-) diff --git a/src/components/dialog/content/setting/UserPanel.vue b/src/components/dialog/content/setting/UserPanel.vue index 147625b323..7497e926cc 100644 --- a/src/components/dialog/content/setting/UserPanel.vue +++ b/src/components/dialog/content/setting/UserPanel.vue @@ -57,14 +57,23 @@ class="w-8 h-8 mt-4" style="--pc-spinner-color: #000" /> -