bloom-housing / bloom

component-based web framework for affordable housing management
Apache License 2.0
34 stars 24 forks source link

Unit Summary Logic Refactoring #4149

Open ColinBuyck opened 3 months ago

ColinBuyck commented 3 months ago

After exploring a support issue related to unit summaries, it became clear that the unit-utilities.ts file would benefit from refactoring. It was incredibly difficult to follow and resulted in debugging taking much more time than it required. This ticket should work to make this logic more readable and add tests to support the stability of that feature.