cds-snc / platform-forms-client

NextJS application that serves the public-facing website for Forms
https://forms-staging.cdssandbox.xyz/
MIT License
35 stars 13 forks source link

AddressComplete: Displaying split addresses in a more lean way in review page and response files #4625

Open anikbrazeau opened 2 weeks ago

anikbrazeau commented 2 weeks ago

Description

When the format is customized so that the address data remains split, across multiple lines, the additional labels in the data make it cumbersome to parse.

Steps to reproduce

  1. Go to GC Forms Staging
  2. Create a multi-page form with address
  3. Go to "More" and select "Split address"
  4. Fill out the form, review answers, and submit a response
  5. Download the form response as CSV and HTML
  6. Notice in Review page, CSV and HTML how the split address displays with all the bilingual sub-labels "Street address / Adresse municipale" making the data less scannable/usable and more cumbersome to parse through.

Details

Expected behaviour

Labels in the table heading rather than the data cells

Screenshots or videos

address Capture 2

Screenshot 2024-11-06 at 9.23.20 AM.png Screenshot 2024-11-06 at 8.54.03 AM.png Screenshot 2024-11-06 at 7.57.44 AM.png