uic-utah / uic-inventory

a public web application to manage the creation, permitting, and payment for underground injection control sites in Utah
1 stars 0 forks source link

Inventory Packet Formatting Request #365

Open rsparker-utah opened 1 month ago

rsparker-utah commented 1 month ago

We've noticed a bug in the "Site Contacts" section of the generated Inventory Report where if there is more than one listed contact, the label for the "Organization" field is being wrapped such that there is a dangling "n", for example: image

This dangling "n" does not seem to happen if there is only one contact.

From what I can tell, this bug seems to have been introduced sometime after 8/29/2024 i.e., the formatting of the "Organization" field in Inventory Reports with multiple contacts generated on or before 8/29/2024 are fine, but Inventory Reports generated after 8/29/2024 are showing the dangling "n". As an example, I compared an Inventory report for https://uic-inventory.deq.utah.gov/review/site/32/inventory/32 generated on 8/29/2024 with one that I re-generated on 10/16/2024. The report generated on 8/29/2024 does not have the dangling "n" and the report generated on 10/16/2024 does have the dangling "n":

image

Would it be possible to adjust the formatting of the "Organization" field in the "Site Contacts" section table for Inventory Reports containing more than one contact so that the "n" is no longer dangling?

rsparker-utah commented 2 weeks ago

Quick fyi, it looks like this formatting issue is happening in other table cells within the report, for example: image I've updated the issue name due to this discovery.

steveoh commented 2 days ago

@rsparker-utah I deployed this to production today. Do you want to validate and close this after testing it?