Add the selected contacts to a group
Linked to the pull request https://github.com/nextcloud/contacts/pull/2756#issue-1246324202
By using the menu of the selected contacts.
Add selected contacts in a group who already exist
When the multiselect is clicked, it will display all the group which already exists and by clicking on a group, it will add all the selected contacts to this group

Create a group and add the selected contacts
It's the same but when typing the name of the new group and press down the return key, it will create a group of this name and add the selected contacts into it

Codecov Report
Base: 67.96% // Head: 67.96% // No change to project coverage :thumbsup:
Coverage data is based on head (
4d49713) compared to base (e32f12d). Patch has no changes to coverable lines.
:exclamation: Current head 4d49713 differs from pull request most recent head 15e64b5. Consider uploading reports for the commit 15e64b5 to get more accurate results
Additional details and impacted files
@@ Coverage Diff @@
## main #2763 +/- ##
=========================================
Coverage 67.96% 67.96%
Complexity 253 253
=========================================
Files 23 23
Lines 721 721
=========================================
Hits 490 490
Misses 231 231
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.
@ChristophWurst I fixed the imports :)