-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Settings to allow users to delete their account #166
Conversation
@dadukhankevin is this ready to review? It's still a draft PR so it looks like you're still working on it. |
@hahn-kev I thought it was ready for review but I guess I somehow missed pushing one file from the office computer to the branch... I'm going to rewrite that (it shouldn't take long) it should be ready to go, I just converted it to a draft so that it wouldn't accidentally be merged |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good, though I'd reuse as much of the code as you can from when you created the feature for admins to delete users. That way you don't need to duplicate so much (mutation client and server side, modal ect).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
once we modify the existing delete user mutation we can delete this modal and just use the same one we use on the admin dashboard (moving that one into a shared location like lib/components)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dadukhankevin I believe this file is unused right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, there's a minor issue with the deleted notification though. Also you can probably remove the old user specific dialog.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dadukhankevin I believe this file is unused right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like you checked in a merge conflict for this file
Allows users to hard delete their own account.
Closes #137.