-
-
Notifications
You must be signed in to change notification settings - Fork 955
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
Confirmation on user deletion #7977
Comments
This issue seems to be a good fit for newbie contributors. You are welcome to contribute to Weblate! Don't hesitate to ask any questions you would have while implementing this. You can learn about how to get started in our contributors documentation. |
Hi, |
You're welcome to contribute! The current delete button is here: weblate/weblate/templates/accounts/user.html Lines 291 to 296 in c8f5079
It needs to include a confirmation popup like it is done here for removing a user from a project: weblate/weblate/templates/trans/project-access-row.html Lines 44 to 59 in c8f5079
|
I was trying to install Weblate on wsl for testing purposes, but it failed every time with - ERROR: Could not build wheels for borgbackup which use PEP 517 and cannot be installed directly. Any Idea what's going on here? |
Maybe you're missing some of the system dependencies, please check corresponding distro guide at https://docs.weblate.org/en/latest/admin/install.html |
Hello @nijel how are you? |
@DiegoCaraballo Yes, contributions are always welcome! |
Hey all, |
Oh, my apologies @prakhar1144 I forgot to say I started working on this earlier. I'm pretty much done with it, though I'm not entirely clear on how or whether I need to do unit tests/etc for this, since it's just an HTML change. @nijel how would I go about making a pull request and/or getting feedback on if my code is ready to merge? edit: here is the code that I have right now: |
Oh, oops, I didn't see the compare across forks button before so I thought that I couldn't make a PR for some reason haha. I wasn't sure how to do unit tests or squash commits, so for now this is just a draft PR. |
Thank you for your report; the issue you have reported has just been fixed.
|
Describe the problem
On the user detail page (/user/[username]/#edit), on the bottom of the page there is an option to delete the user, via button 'Delete'.
This button is right next to the 'Save' button.
If for any reason you miss-click on 'Save', and thereby click on 'Delete'. The user is deleted immediately and not able to restore.
Describe the solution you'd like
It would be ideally if there is a confirmation page after request for deletion, likewise the same as there is for deleting a component or project. In that case you won't accidentally irreversible delete the user.
Describe alternatives you've considered
No response
Screenshots
Additional context
Using Weblate 4.13.1
The text was updated successfully, but these errors were encountered: