Closed VishalZ123 closed 1 year ago
@VishalZ123 Please fix all possible deep scan problems first.
Patch coverage: 32.91%
and project coverage change: -2.10%
:warning:
Comparison is base (
2c9e8c8
) 72.37% compared to head (9778709
) 70.27%. Report is 2 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Collection to Contact and Contact to Collection addition feature
Description
The PR implements the
Add collection to contact
feature on the contact chat screen andAdd contacts to collection
feature on the collection chat screen. Depending on the chat screen type (contact or collection) we fetch all options for contacts or collections respectively viaGET_CONTACTS
&GET_COLLECTIONS_LIST
queries. We also fetch the collections in which the current contact is added or contacts added in the current collection respectively viaGET_CONTACT_COLLECTIONS
&GET_COLLECTION_CONTACTS
queries. We use MultiSelect for selecting the options and selected and deleted options are used to make a mutationADD_COLLECTIONS_TO_CONTACT
orADD_CONTACTS_TO_COLLECTION
to add/delete options. The MultiSelect component was changed to remove the close button.Changes Made
Screenshots
https://github.com/glific/mobile/assets/76409986/72de9ece-bd1f-4172-b43d-3907af4fbbdd
Related Issues
Closes: #156 & #157
Reviewer
@mdshamoon & @ajaman190 Please Review