cds-snc / platform-forms-client

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

File name not saving when published #4079

Open anikbrazeau opened 2 months ago

anikbrazeau commented 2 months ago

Description

File name forgotten or not saved/conserved once published even though JSON file was saved/downloaded with name included.

Steps to reproduce

  1. Go to GC Forms
  2. Open a form file (template)
  3. Make edits
  4. Change file name
    • Called it: TEMPLATE: Contact us MODÈLE : Nous contacter 2024-07 (could it have to do with special characters? è : / - ?)
  5. Download file
  6. Publish file
  7. Go to "Forms"
  8. Notice how it's now "Unnamed form file"

Details

Expected behaviour

Auto-saves file name and applies it in both languages of interface. Since name is not editable when published especially.

Screenshots or videos

Screenshot 2024-07-26 at 9.48.09 AM.png Screenshot 2024-07-26 at 9.48.17 AM.png