Skip to content

Conversation

@simonLeary42
Copy link
Collaborator

@simonLeary42 simonLeary42 commented Dec 10, 2025

Screen.Recording.2025-12-10.at.5.14.07.PM.mov
image

@simonLeary42 simonLeary42 force-pushed the request-account-deletion-cancel branch from 46720b1 to 5b9be7a Compare December 12, 2025 15:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR implements the ability for users to cancel their pending account deletion requests. Users who have submitted an account deletion request can now revoke it through the account settings page.

  • Added a new cancel_account_deletion_request form handler in the account management workflow
  • Implemented cancelRequestAccountDeletion() method in UnityUser class
  • Updated UI to display a cancel button when a deletion request is pending

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
webroot/panel/account.php Added case handler for cancel requests and restructured UI to show cancel form when deletion request is pending
resources/lib/UnityUser.php Added cancelRequestAccountDeletion() method to delete pending account deletion requests
test/functional/AccountDeletionRequestTest.php Added test case to verify request and cancel workflow
test/phpunit-bootstrap.php Added helper function to ensure test users have no pending deletion requests

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@simonLeary42 simonLeary42 force-pushed the request-account-deletion-cancel branch from bb23daa to aff8c1e Compare December 12, 2025 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants