cds-snc / platform-forms-client

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

Clarify risk and responsibility of broken link to deleted published form #3857

Closed anikbrazeau closed 5 days ago

anikbrazeau commented 1 week ago

Fixes #3587

In response to support issue:


1. Terms of use updates:

2. Delete modal updates

Screenshot 2024-06-18 at 9 23 52 AM

Screenshot 2024-06-18 at 9 23 52 AM

github-actions[bot] commented 1 week ago

:test_tube: Review environment

https://rtxov765fvkvahvn5l7iej5fxm0zezma.lambda-url.ca-central-1.on.aws/

connorscarolyns commented 1 week ago

There is already too much content in this model, but I also wonder if there is a redirection here that might help. For example, "If you expect people to visit this form after you've deleted it, consider closing it instead. This will let people know the link is not broken but that the form has been intentionally closed."

anikbrazeau commented 1 week ago

Deleting draft form - EN

Delete this form?

Deleting a form cannot be undone. Your form will be removed permanently.

Download a copy of the form file for your records. You can then upload it in GC Forms to re-create the form later.

Deleting draft form - FR

Supprimer ce formulaire?

La suppression d'un formulaire ne peut être annulée. Votre formulaire sera définitivement supprimé.

Téléchargez une copie du fichier de formulaire pour vos archives. Vous pourrez ainsi le téléverser à nouveau dans Formulaires GC pour recréer le formulaire.

Deleting published form - EN

Delete this form?

Deleting a form cannot be undone. Your published form will be removed from GC Forms and the Internet, potentially creating broken links.

Download a copy of the form file for your records. You can then upload it in GC Forms to re-create a new form with new URL links.

Before deleting your form, make sure you remove any public links leading to this form. This avoids sending people to a dead end. To simply stop submissions, you might instead consider closing the form in Settings.

Deleting published form - FR

Supprimer ce formulaire?

La suppression d'un formulaire ne peut être annulée. Votre formulaire publié sera définitivement supprimé de l'Internet, ce qui risque de créer des liens brisés.

Téléchargez une copie du fichier de formulaire pour vos archives. Vous pourrez ensuite le téléverser à nouveau dans Formulaires GC pour recréer un nouveau formulaire avec de nouveaux liens URL.

Avant de supprimer votre formulaire, assurez-vous de retirer tous les liens publics menant à ce formulaire. Cela permet d'éviter d'envoyer les gens dans une impasse. Pour simplement arrêter les soumissions, vous pouvez plutôt considérer la fermeture du formulaire dans les paramètres.

connorscarolyns commented 1 week ago

Sounds fantastic!

anikbrazeau commented 1 week ago

Another idea 👀 (perhaps in a next iteration)

What if we broke this down into steps to reduce the cognitive load

One idea/concept and one action/button at a time

Step 1: Save a copy if you haven't already -- because it's permanently deleted Step 2: Close the form -- so that users see it's temporarily not accepting submissions Step 3: Update/remove all links pointing to the form -- otherwise the experience breaks Step 4: Delete the form -- with less risk of something going wrong

What if we made the closing of the form a precursor to deletion for published forms?

cc: @connorscarolyns thoughts?