Skip to content
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

Returns required - Setup page (3 of 7) #737

Conversation

Demwunz
Copy link
Contributor

@Demwunz Demwunz commented Feb 14, 2024

Added setup page for return requirements journey. Step 3 of 7.

This page adds two radio controls to the page and has simple validation to ensure a value is selected.

Added setup page for return requirements journey. Step 3 of 7.
…quired-journey-how-do-you-want-to-set-up-page-iteration-2-3-of-7
@Demwunz Demwunz marked this pull request as ready for review February 15, 2024 10:00
@Demwunz Demwunz requested review from robertparkinson and Cruikshanks and removed request for robertparkinson February 15, 2024 10:00
@Demwunz Demwunz force-pushed the WATER-4267-returns-required-journey-how-do-you-want-to-set-up-page-iteration-2-3-of-7 branch from f9b0ebe to c4f44e6 Compare February 15, 2024 10:28
'use strict'

/**
* Orchestrates fetching and presenting the data for `/return-requirements/{sessionId}/reason` page
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be /setup rather than /reason ?

and the line below should be SetupService or something similar?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good spot, amended


/**
* Orchestrates validating the data for `/return-requirements/{sessionId}/setup` page
* @module SetupService
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should the the other file be SetupService and this one SubmitSetupService ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good spot, amended

Comments were not complete, so had to amend them as per Roberts feedback
@Demwunz Demwunz force-pushed the WATER-4267-returns-required-journey-how-do-you-want-to-set-up-page-iteration-2-3-of-7 branch from 76727aa to cd2bc2c Compare February 16, 2024 09:31
@Demwunz Demwunz changed the title feat(app): WATER-4267 Added setup page Returns required journey - Setup page (3 of 7) Feb 16, 2024
@Demwunz Demwunz changed the title Returns required journey - Setup page (3 of 7) Returns required - Setup page (3 of 7) Feb 16, 2024
@Demwunz Demwunz merged commit 35e6464 into main Feb 16, 2024
6 checks passed
@Demwunz Demwunz deleted the WATER-4267-returns-required-journey-how-do-you-want-to-set-up-page-iteration-2-3-of-7 branch February 16, 2024 09:57
@Demwunz Demwunz restored the WATER-4267-returns-required-journey-how-do-you-want-to-set-up-page-iteration-2-3-of-7 branch February 16, 2024 13:42
@Beckyrose200 Beckyrose200 added the enhancement New feature or request label Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants