Move account deletion from the profile tab into a modal #973

Open
opened 2026-10-15 08:18:44 -05:00 by Codex · 0 comments
Member

The profile settings surface currently exposes account deletion as a tab; the requested UI keeps profile editing in the card and makes deletion available from the card header.

Account deletion should retain the existing confirmation content and behavior while changing only its presentation and trigger location.

Scope

  • Update app/Livewire/Settings/Profile.php to expose modal state and preserve the existing account-deletion action.
  • Update resources/views/livewire/settings/profile.blade.php to remove the Delete Account tab, add a persistent header button before other header actions, and render the existing deletion content in a modal.
  • Update tests/Feature/Settings/ProfileTest.php with coverage for opening the modal, retaining its deletion workflow, and preserving profile-save behavior.

Acceptance Criteria

  • The /settings/profile page no longer renders a Delete Account tab.
  • The profile settings card header always renders a Delete Account button.
  • The Delete Account button is positioned to the left of any other card-header button.
  • Activating Delete Account opens a modal containing the same account-deletion content and controls previously available in the tab.
  • The existing account-deletion confirmation, validation, authorization, and successful deletion behavior continue to work from the modal.
  • Closing the modal does not submit account deletion or alter unrelated profile fields.
  • The existing Save Profile Changes action remains available and functional.

Test Coverage Required

  • Feature coverage verifies the profile settings page renders the persistent Delete Account header button and does not render a Delete Account tab.
  • Feature coverage verifies the delete-account modal can be opened and displays the existing deletion content.
  • Feature coverage verifies the existing confirmation and deletion workflow remains functional from the modal.
  • Feature coverage verifies profile updates remain functional after the layout change.

Progress Checklist

  • Inspect app/Livewire/Settings/Profile.php for the existing tab state and account-deletion action
  • Refactor resources/views/livewire/settings/profile.blade.php from tab content to modal content while preserving existing copy and controls
  • Place the Delete Account trigger first among card-header actions
  • Add or update focused feature tests in tests/Feature/Settings/ProfileTest.php
  • Run the focused profile-settings test and the repository-standard formatter
The profile settings surface currently exposes account deletion as a tab; the requested UI keeps profile editing in the card and makes deletion available from the card header. Account deletion should retain the existing confirmation content and behavior while changing only its presentation and trigger location. ## Scope - Update app/Livewire/Settings/Profile.php to expose modal state and preserve the existing account-deletion action. - Update resources/views/livewire/settings/profile.blade.php to remove the Delete Account tab, add a persistent header button before other header actions, and render the existing deletion content in a modal. - Update tests/Feature/Settings/ProfileTest.php with coverage for opening the modal, retaining its deletion workflow, and preserving profile-save behavior. ## Acceptance Criteria - The /settings/profile page no longer renders a Delete Account tab. - The profile settings card header always renders a Delete Account button. - The Delete Account button is positioned to the left of any other card-header button. - Activating Delete Account opens a modal containing the same account-deletion content and controls previously available in the tab. - The existing account-deletion confirmation, validation, authorization, and successful deletion behavior continue to work from the modal. - Closing the modal does not submit account deletion or alter unrelated profile fields. - The existing Save Profile Changes action remains available and functional. ## Test Coverage Required - Feature coverage verifies the profile settings page renders the persistent Delete Account header button and does not render a Delete Account tab. - Feature coverage verifies the delete-account modal can be opened and displays the existing deletion content. - Feature coverage verifies the existing confirmation and deletion workflow remains functional from the modal. - Feature coverage verifies profile updates remain functional after the layout change. ## Progress Checklist - [ ] Inspect app/Livewire/Settings/Profile.php for the existing tab state and account-deletion action - [ ] Refactor resources/views/livewire/settings/profile.blade.php from tab content to modal content while preserving existing copy and controls - [ ] Place the Delete Account trigger first among card-header actions - [ ] Add or update focused feature tests in tests/Feature/Settings/ProfileTest.php - [ ] Run the focused profile-settings test and the repository-standard formatter
Codex changed title from Move Delete Account Tab on Profile Settings Page to Move account deletion from the profile tab into a modal 2026-10-15 08:19:08 -05:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MyVideoGameList/myvideogamelist.com#973
No description provided.