Multiple merge delete
commits to add features linked to :https://github.com/nextcloud/contacts/issues/70#issue-197512830 and https://github.com/nextcloud/contacts/issues/277#issue-248344665
How it works :
When the mouse is over a contact, the avatar changes to a checkbox. The checkbox can be checked, when only 1 checkbox is selected, the delete button appears, when it's 2 or more it's a menu with the delete and merge button.

Delete :
When the delete button is clicked, all the selected contacts are deleted

Merge :
When the merge button is clicked, it will merge all the selected contacts into the first selected contact

The value except uid, version, fn, prodid, gender, rev will be added into the first selected contact
The value who already exist and default value will not be added

Codecov Report
Base: 31.41% // Head: 67.96% // Increases project coverage by +36.54% :tada:
Coverage data is based on head (
b6635b5) compared to base (68b15a3). Patch has no changes to coverable lines.
:exclamation: Current head b6635b5 differs from pull request most recent head e89d9a3. Consider uploading reports for the commit e89d9a3 to get more accurate results
Additional details and impacted files
@@ Coverage Diff @@
## main #2756 +/- ##
=============================================
+ Coverage 31.41% 67.96% +36.54%
Complexity 253 253
=============================================
Files 110 23 -87
Lines 1862 721 -1141
Branches 217 0 -217
=============================================
- Hits 585 490 -95
+ Misses 1162 231 -931
+ Partials 115 0 -115
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
I just rebased this. Hopefully I didn't break anything while doing so.
@MrPompom please have a look at https://github.com/nextcloud/contacts/pull/2756#pullrequestreview-1144582880. Would that be something you could address? Cheers
I really would like to have multi contact selection for batch deletion, that would be a very very welcome feature. Without the need of installing Thunderbird.
Ps. @MrPompom doesn't seem to be active anymore at all under GitHub. I think it's better to copy his changes and continue in another branch if needed.