cds-snc / cds-snc/platform-forms-client

Show "Review page" in tree view to help set expectations + make it optional

Open
#4,049 0 comments 0 reactions 0 assignees View on GitHub
app enhancement
Dominant language
TypeScript
Stars
46
Forks
16
Avg merge
1d 8h
Merged PRs (30d)
85

Description

## Description
When a form has multiple pages, a review page is added to the form at the final step to allow users to check their answers before submitting. Currently this is visible in "Branching" or logic mapping view where the form flow is visualized, but not in "Questions" or tree view where the page outline exists. This creates surprise and confusion for users.

Related #3960

## Steps to reproduce
1. Go to GC Forms --> Staging
2. Create a form
3. Add a new page
4. See all pages on the form set-up right panel
5. See how review page is missing
6. Navigate to "Branching"
7. See how review page is inserted

## Details
- **Browser**: Chrome
- **Operating system**: Mac
- **Environment**: Staging
- **Language**: English and French
- **Viewport**: Desktop

## Expected behaviour
- Matching form outline (tree view) and form mapping (logic view).
- Review page shows up as locked element that cannot be edited (much like the confirmation page heading).
- OR Review page is an optional page that clients can choose to add to their form if it makes sense (opt in/out)

## Screenshots or videos

Screenshot 2024-07-23 at 10.30.36 AM.png

Screenshot 2024-07-23 at 10.30.19 AM.png

Screenshot 2024-07-23 at 10.30.47 AM.png

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.