-
Notifications
You must be signed in to change notification settings - Fork 89
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
feat: 🍰 Admin - Remove User Profile #3140
Conversation
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
…d from the Admin user overview
DeleteUser for Admin added in the profile dropdown menu, deleted from the Admin user overview |
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.
I have done a "quick“ review.
- I would like to have an additional Modal question, so that an admin can not delete a users account by accidentally clicking the button.
- Graphically the modals information looks a bit big to me.
- Should there a possibility do decide if all the posts and comments should be deleted or not?
Please let me know if I can help you.
webapp/locales/en.json
Outdated
"commentedCount": "Delete my {count} comments", | ||
"contributionsCount": "Delete my {count} posts", | ||
"infoAdmin": "All contributions and comments of the user are additionally deleted!", |
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.
… are deleted as well!
?
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.
This is not done yet!
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.
Still not done! 🤔
@Tirokk thx!!, I have made some changes. and an additional confirmModal where you have to confirm the deletion again. |
I understand that you @mattwr18 and @roschaefer have imagined it more like on the delete own account on the settings page. As I gave my first review I was more in the thinking frame like @ogerly has started this issue. I had not even thought about an admin can or should type the name of the user to delete. To have an additional page sounds like an overkill to me. Just in case the typing of the users name should really replace the second modal I would go for having the typing of the user name in the first modal then. What is @ogerly saying and what do other people say? @HC-Team |
United States of America TO United States
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.
United States of America to United States
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.
Hey @ogerly ,
I have still found some little things, but that should be the last and we can do it together, if you like.
In the following modal I more would like to have the created
, Posts
, and Comments
over the data.
And created
should then with a capital Created
. And then all three in bold and the data in normal types.
`, | ||
variables: { id: this.userdata.id, resource: ['Post', 'Comment'] }, | ||
}) | ||
.then(({ _data }) => { |
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.
Is not fixed yet.
Is this intensionally?
You like it this way better?
webapp/locales/en.json
Outdated
"commentedCount": "Delete my {count} comments", | ||
"contributionsCount": "Delete my {count} posts", | ||
"infoAdmin": "All contributions and comments of the user are additionally deleted!", |
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.
Still not done! 🤔
ok Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
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.
Hey @ogerly ,
great contribution! 🚀🚀💫💫
Well done 🤗
It is so important that an admin can delete a users account.
Therefore I’m really happy that we can merge it. 😍
🍰 Pullrequest
Delete a user as Admin.
A new modal is added.
The admin has the possibility to permanently delete a user account from the network.
There is a second security question where you have to confirm the deletion a second time.
Issues