care_fe icon indicating copy to clipboard operation
care_fe copied to clipboard

Code Quality Improvement: Utilise the `humanizeStrings` utility method to format array of strings

Open rithviknishad opened this issue 1 year ago • 0 comments

Currently in the codebase to format array of strings for being human readable, we perform array.join(", ") instead of performing join with , and and for last element.

15efeab (#8126) introduces a reusable utility method to humanize array of strings correctly.

Action Items

  • [ ] Update the codebase to replace the usages of array.join(", ") with using humanizeStrings(array)

The below image shows where all such usages are present

image

rithviknishad avatar Jul 08 '24 13:07 rithviknishad