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

There are 2x "Go back" / "Retourner" buttons on the form review page #4054

Open anikbrazeau opened 2 months ago

anikbrazeau commented 2 months ago

Description

Two back buttons with different styling creating inconsistency and redundancy Potentially related to #4041

Steps to reproduce

  1. Go to GC Forms --> Staging
  2. Create a multi-page form
  3. Go to Test / Preview
  4. Continue to the Review page
  5. See two back buttons

Details

Expected behaviour

One back button, following consistent styling for the application and for the end user form output.

Screenshots or videos

Screenshot 2024-07-23 at 3.16.42 PM.png Screenshot 2024-07-23 at 3.16.54 PM.png
Abi-Nada commented 2 months ago

@anikbrazeau can you re-test to see if this issue persists? I can't seem to recreate it

anikbrazeau commented 2 months ago

I was able to replicate it just now on Tablet/Edge/FR when importing (opening) a form file.

Looks like when you have an old form that's just one page, it brings you to an in-between page with these two buttons, and also unable to click submit.

I think this might be related to backward compatibility and/or #4075

doubletrouble