Skip to content

2024 05 24 add another testing #250

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 59 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
b724978
Adding basic routing for new add another journey (and placeholder)
christophercameron-ixd May 30, 2024
7716290
Added new placeholder for groups
christophercameron-ixd May 30, 2024
900a133
Added links to new add another journey options
christophercameron-ixd May 30, 2024
ec38e75
Initial outline of showing groups on the question list view
christophercameron-ixd May 30, 2024
a9c1825
Routes for add another journeys
christophercameron-ixd May 30, 2024
7a5f387
Choose questions to add to a group test view
christophercameron-ixd May 30, 2024
7d97bf2
CYA style page for a new group test view
christophercameron-ixd May 30, 2024
3f528f4
Choose a group to add question to test view
christophercameron-ixd May 30, 2024
102ef03
Delete group test view
christophercameron-ixd May 30, 2024
7a747ec
Adding and editing a group test view
christophercameron-ixd May 30, 2024
0509197
New interim step to decide if adding single or set of questions
christophercameron-ixd May 30, 2024
c96ca12
Moved the your questions page routes into the main routes file to red…
christophercameron-ixd May 30, 2024
2c2c5fc
Added x-gov filters to kit
christophercameron-ixd Jun 4, 2024
eb77189
Tweaked questions pages and journey to display page/groups
christophercameron-ixd Jun 4, 2024
d6a0ed6
adding check and summary pages to groups
christophercameron-ixd Jun 4, 2024
ffb5203
Adding group pages
christophercameron-ixd Jun 4, 2024
74bc476
Updating routes to include groups
christophercameron-ixd Jun 4, 2024
b6d40be
Added repeating quesiton playback to CYA page
christophercameron-ixd Jun 4, 2024
62ebd55
Adding repeating question to edit question page
christophercameron-ixd Jun 4, 2024
a68afdb
Formatting
christophercameron-ixd Jun 4, 2024
b5ccda7
Single repeating question summary page for preview journey
christophercameron-ixd Jun 4, 2024
a3bde2e
Formatting
christophercameron-ixd Jun 4, 2024
62fe785
Changed back link to clear empty questions
christophercameron-ixd Jun 4, 2024
b7bcdae
Added pagesOrder default
christophercameron-ixd Jun 4, 2024
3cf37a1
Changed the entry points for testing to be easier
christophercameron-ixd Jun 4, 2024
725fe82
Simplified back links to follow the browser back link
christophercameron-ixd Jun 4, 2024
b325bcb
Simplified back links for ease
christophercameron-ixd Jun 4, 2024
99313c4
Added check to remove empty groups if the user stops adding before as…
christophercameron-ixd Jun 4, 2024
1ca225e
Removed code to clear empty questions as part of new page route as wa…
christophercameron-ixd Jun 4, 2024
3430ce1
Added remove empty back to fix bug
christophercameron-ixd Jun 4, 2024
a8d3d6b
Added new check group page and journey
christophercameron-ixd Jun 4, 2024
9e99b43
Fixed comment text
christophercameron-ixd Jun 5, 2024
703c392
Added journey 2 to edit-quesiton page
christophercameron-ixd Jun 5, 2024
192244e
Added journey 2 to check screen and updated optional content
christophercameron-ixd Jun 5, 2024
9f4ef86
Updated content to match mural. Added dynamic set list
christophercameron-ixd Jun 5, 2024
376d003
Updated content to match mural. Added new save and continue button fo…
christophercameron-ixd Jun 5, 2024
e5ef823
Added new journey 2 routes. Sum minor additions needed
christophercameron-ixd Jun 5, 2024
9870793
New question page for journey 2
christophercameron-ixd Jun 5, 2024
4a4b4a7
New question page for journey 2
christophercameron-ixd Jun 5, 2024
aae780c
CHaning the journey to try loop users to what to add page if journey 1
christophercameron-ixd Jun 5, 2024
e5a74e7
Updated mandotry/optional question to match build
christophercameron-ixd Jun 5, 2024
1eb7169
Updated content to match mural
christophercameron-ixd Jun 6, 2024
bc4138b
Fix routing for journey 1
christophercameron-ixd Jun 6, 2024
d482c75
Show (optional) if question set to optional by users
christophercameron-ixd Jun 6, 2024
467736b
Added set name if adding questions to a new set
christophercameron-ixd Jun 6, 2024
cb868bb
Hid the mandatory question if on the add another journey single repea…
christophercameron-ixd Jun 11, 2024
befa042
Fix bug where on load doesn’t show added pages
christophercameron-ixd Jun 17, 2024
1f79edb
Updated content to match new chocies of optional or mandatory
christophercameron-ixd Jun 17, 2024
e14cf8b
Fixed bug where still showed heading and question without any pages
christophercameron-ixd Jun 18, 2024
c8d2b36
This now makes sure the pages and pagesOrder are deleted
christophercameron-ixd Jun 18, 2024
5843ce0
Makes the empty group check more robust... this should be updated lat…
christophercameron-ixd Jun 18, 2024
5a77ff1
Removes error when user wants to add new set to journey 2
christophercameron-ixd Jun 18, 2024
a10bc4f
Fixes bug to hide questions that aren’t in current showing set
christophercameron-ixd Jun 18, 2024
a2fb657
Gives us the action to make sure we can add new set without validatin…
christophercameron-ixd Jun 18, 2024
7bda6cb
Fixed couple of broken routes - missing get from the correct URL
christophercameron-ixd Jun 18, 2024
870c99b
Fixed routing for change set name / associated set loop
christophercameron-ixd Jun 18, 2024
4f373d0
Hide or alter change links depending on the previous page
christophercameron-ixd Jun 18, 2024
6d47641
Remove comment text as this is now mostly covered by working code
christophercameron-ixd Jun 18, 2024
38eaa52
Fixed error for mandatory optional IF on “select from a list” answer …
christophercameron-ixd Jun 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion app/data/session-data-defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,17 @@ module.exports = {
// Insert values here

highestPageId: 0,
pages: [],

highestGroupId: 0,
groups: [],

pagesOrder: [],

action: '',
publish: 'GOV.UK',
authentication: 'email',
payments: 'no',
pages: [],
status: 'Draft',
confirmationTitle: 'Your form has been submitted',
checkAnswersTitle: 'Check your answers before submitting your form',
Expand Down
Loading