Skip to content

Conversation

@yoland68
Copy link
Member

@yoland68 yoland68 commented Aug 26, 2025

Summary

Add account deletion functionality to UserPanel component

Changes

  • 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

Screenshots (if applicable)

Screenshot Screenshot 3 Screenshot 2 Screenshot 1

┆Issue is synchronized with this Notion page by Unito

@github-actions
Copy link

github-actions bot commented Aug 26, 2025

🎭 Playwright Test Results

All tests passed across all browsers!

⏰ Completed at: 08/29/2025, 10:29:27 PM UTC

📊 Test Reports by Browser


🎉 Your tests are passing across all browsers!

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Aug 26, 2025
@DrJKL DrJKL self-assigned this Aug 26, 2025
Copy link
Contributor

@DrJKL DrJKL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good, but can we make the button bigger?

/>
<Button
v-if="!isApiKeyLogin"
class="w-32"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

w-32 looks a little narrow, since it's causing the text to wrap. Could we do a max-w instead? Also I'm not sure what it'll look like post-i18n.

@DrJKL DrJKL assigned yoland68 and unassigned DrJKL Aug 26, 2025
@yoland68
Copy link
Member Author

Ugh, such nit, this ain't google, just gonna land it

@yoland68 yoland68 enabled auto-merge (squash) August 26, 2025 21:14
@DrJKL DrJKL force-pushed the yo-delete-account branch from 052497a to 968ac8d Compare August 26, 2025 23:00
@christian-byrne
Copy link
Contributor

christian-byrne commented Aug 26, 2025

This should definitely be going through sign-out code paths to clear auth persistence and reset UI states.

@yoland68
Copy link
Member Author

yoland68 commented Aug 27, 2025

This should definitely be going through sign-out code paths to clear auth persistence and reset UI states.

The only thing seem to be apiKeyStore.clearStoredApiKey()

// useCurrentUser.ts
  const handleSignOut = async () => {
    if (isApiKeyLogin.value) {
      await apiKeyStore.clearStoredApiKey()
    } else {
      await commandStore.execute('Comfy.User.SignOut')
    }
  }

@yoland68
Copy link
Member Author

deleteAccount handles signout for firebase

@christian-byrne
Copy link
Contributor

christian-byrne commented Aug 27, 2025

The only thing seem to be apiKeyStore.clearStoredApiKey()

deleteAccount handles signout for firebase

Okay sounds good

yoland68 and others added 2 commits August 27, 2025 10:54
- 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
@DrJKL DrJKL force-pushed the yo-delete-account branch from 968ac8d to 4fc6722 Compare August 27, 2025 17:54
@christian-byrne
Copy link
Contributor

And Supabase?

@yoland68 yoland68 merged commit 23d0362 into main Aug 29, 2025
12 checks passed
@yoland68 yoland68 deleted the yo-delete-account branch August 29, 2025 22:29
@christian-byrne christian-byrne mentioned this pull request Aug 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants