cht-core icon indicating copy to clipboard operation
cht-core copied to clipboard

fix(#8803): refactor formatContacts to reduce cognitive complexity

Open Benmuiruri opened this issue 1 year ago • 1 comments

Description

Refactor formatContacts to reduce cognitive complexity.

Closes #8803

Code review checklist

  • [ ] Readable: Concise, well named, follows the style guide, documented if necessary.
  • [ ] Documented: Configuration and user documentation on cht-docs
  • [ ] Tested: Unit and/or e2e where appropriate
  • [ ] Internationalised: All user facing text
  • [ ] Backwards compatible: Works with existing data and configuration or includes a migration. Any breaking changes documented in the release notes.

Compose URLs

If Build CI hasn't passed, these may 404:

License

The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.

Benmuiruri avatar Feb 20 '24 07:02 Benmuiruri

Hi @jkuester , as I wait for the CI to go green please review my refactor when you have a chance. Thanks.

Benmuiruri avatar Feb 21 '24 13:02 Benmuiruri