glific / mobile

8 stars 17 forks source link

Dynamic Contact Information and History #153

Closed VishalZ123 closed 1 year ago

VishalZ123 commented 1 year ago

Dynamic Contact Info and History

Summary Implements the dynamic contact info and history. Uses GET_CONTACT_INFO for fetching the contact information, formats it and displays. More info option displays the fields for the contact. Contact History option displays all the action taken for the contact, using the GET_CONTACT_HISTORY query.

Changes Made

https://github.com/glific/mobile/assets/76409986/4f44ae6f-2b8c-4de4-b372-50a3e298ec22

Issues

Closes: #140

Reviewers @mdshamoon , Kindly review and merge

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 88.13% and project coverage change: +1.01% :tada:

Comparison is base (9d2a8c7) 68.17% compared to head (a122a3c) 69.18%. Report is 12 commits behind head on main.

:exclamation: Current head a122a3c differs from pull request most recent head 51f53bf. Consider uploading reports for the commit 51f53bf to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #153 +/- ## ========================================== + Coverage 68.17% 69.18% +1.01% ========================================== Files 77 77 Lines 1172 1217 +45 Branches 98 101 +3 ========================================== + Hits 799 842 +43 + Misses 348 345 -3 - Partials 25 30 +5 ``` | [Files Changed](https://app.codecov.io/gh/glific/mobile/pull/153?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=glific) | Coverage Δ | | |---|---|---| | [config/apollo.ts](https://app.codecov.io/gh/glific/mobile/pull/153?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=glific#diff-Y29uZmlnL2Fwb2xsby50cw==) | `0.00% <0.00%> (ø)` | | | [screens/ContactHistory.tsx](https://app.codecov.io/gh/glific/mobile/pull/153?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=glific#diff-c2NyZWVucy9Db250YWN0SGlzdG9yeS50c3g=) | `85.71% <83.33%> (-4.29%)` | :arrow_down: | | [graphql/queries/Contact.ts](https://app.codecov.io/gh/glific/mobile/pull/153?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=glific#diff-Z3JhcGhxbC9xdWVyaWVzL0NvbnRhY3QudHM=) | `100.00% <100.00%> (ø)` | | | [screens/ContactInfo.tsx](https://app.codecov.io/gh/glific/mobile/pull/153?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=glific#diff-c2NyZWVucy9Db250YWN0SW5mby50c3g=) | `100.00% <100.00%> (ø)` | | | [screens/ContactProfile.tsx](https://app.codecov.io/gh/glific/mobile/pull/153?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=glific#diff-c2NyZWVucy9Db250YWN0UHJvZmlsZS50c3g=) | `100.00% <100.00%> (ø)` | | ... and [5 files with indirect coverage changes](https://app.codecov.io/gh/glific/mobile/pull/153/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=glific)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

ajaman190 commented 1 year ago

Hey @VishalZ123, please resolve all the deep scan issues.