Skip to content
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

delete button in the site-panel is dangerous #929

Closed
Chialya opened this issue Feb 11, 2019 · 2 comments
Closed

delete button in the site-panel is dangerous #929

Chialya opened this issue Feb 11, 2019 · 2 comments
Labels
invalid This doesn't seem right

Comments

@Chialya
Copy link

Chialya commented Feb 11, 2019

As I updated to Nextcloud 15, I see the new delete button in the side-panel-list which every contact has.
If I accidentally press it, a whole contact is quickly deleted! That's not great!
How can I protect this?

Or in which file can I delete by myself the creation of:
<div tabindex="0" class="icon-delete"></div>

I tried to analyze the source code, but I can't find the place to remove the delete button.
I'm urgently asking for help!

nc15-contacts

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #612 (Delete property), #255 (Contact Delete button title mis-labeled as Download), #835 (please delete.. ), #720 (Disable import button while importing), and #713 (Contacts button localization ).

@nextcloud-bot nextcloud-bot added the enhancement New feature or request label Feb 11, 2019
@skjnldsv
Copy link
Member

@Chialya Hello and thanks for your feedback.
We planned to add a revert option for the delete action. see #637.

For the delete button it's located here: https://github.com/nextcloud/contacts/blob/master/src/components/ContactsList/ContactsListItem.vue#L22
You can remove this line and compile the app yourself if you want. Or if you're using an adblocker and it's really bothering you, you can create a rule to hide this button with ##.app-content-list-item > .icon-delete

@skjnldsv skjnldsv added invalid This doesn't seem right and removed enhancement New feature or request labels Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants