-
Notifications
You must be signed in to change notification settings - Fork 173
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
Too easy to delete contact #1368
Comments
@jancborchardt shall we add a confirm? An undo (cc #637)? Both? |
Hello, |
I agree that the trash action in the AppContentList is too much. It should only be in the 3-dot menu in the detail view. This will already solve the biggest problem. Undo is a thing we should look into as well of course, but that’s separate. |
If someone wants to submit a pull request to fix this, the only thing to do is simply to delete the following lines which are for the delete action: contacts/src/components/ContactsList/ContactsListItem.vue Lines 30 to 35 in 4d3c86d
Marking this as good first issue :) |
this one is about the delete from top right menu @jancborchardt I think :) |
No, @ralxxx said (emphasis mine) ;)
Including the first screenshot of the circled trash cans. :) |
I bought new 👓 ! 🙈
|
@skjnldsv exactly. :) I think this will be the simple fix. (The "Delete" action in the 3-dot menu of the detail view is totally fine, and not so easy to accidentally click.) |
Then it's also a matter of removing the delete method/logic and undo methods/logic in the contacts/src/components/ContactsList/ContactsListItem.vue component :) |
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Pull request open at #1430 → please review :) |
Remove delete action from list, fix #1368
Is your feature request related to a problem? Please describe.
Currently it is very easy to delete a contact from the web backend. - just by clicking on the trash can next to the contact name in the contact list. The risk is that contacts are deleted by mistake.
Describe the solution you'd like
As it is rather the exception that a contact is being deleted from the contact list, I would prefer if a contact could be deleted only by clicking first on the contact itself and then on the three dots in the upper right corner (and finally confirming by deleting contact).
Additional context
There's a link to another issue raised earlier: nextcloud/server#18181
The text was updated successfully, but these errors were encountered: