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

Correct copy existing return req. page title #1092

Merged
merged 4 commits into from
Jun 12, 2024

Conversation

Cruikshanks
Copy link
Member

@Cruikshanks Cruikshanks commented Jun 12, 2024

https://eaflood.atlassian.net/browse/WATER-4283

Part of the work to replace NALD for handling return requirements

We want to be able to offer users the option to copy data from an existing return requirement when setting up a new one. We made the option available in the /setup page.

We then did the actual work of allowing users to select the return requirements to copy and saving them to the session in Complete Select existing return requirement page.

But we've since learned that the title we used for the page is not right. This change corrects it.

Screenshot 2024-06-12 at 11 45 47

https://eaflood.atlassian.net/browse/WATER-4283

> Part of the work to replace NALD for handling return requirements

We want to be able to offer users the option to copy data from an existing return requirement when setting up a new one. We [made the option available](#1081) in the `/setup` page.

We then did the actual work of allowing users to select the return requirements to copy and saving them to the session in [Complete Select existing return requirement page](#895).

But we've since learnt that the title we used for the page is not right. This change corrects it.
@Cruikshanks Cruikshanks added the housekeeping Refactoring, tidying up or other work which supports the project label Jun 12, 2024
@Cruikshanks Cruikshanks self-assigned this Jun 12, 2024
Oops! Our validation messages when no value is added are expected to match the page title.
@Cruikshanks Cruikshanks marked this pull request as ready for review June 12, 2024 11:26
Copy link
Contributor

@rvsiyad rvsiyad left a comment

Choose a reason for hiding this comment

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

@Cruikshanks Cruikshanks merged commit 3b304b2 into main Jun 12, 2024
6 checks passed
@Cruikshanks Cruikshanks deleted the correct-copy-existing-ret-req-title branch June 12, 2024 11:45
Cruikshanks added a commit that referenced this pull request Jun 17, 2024
https://eaflood.atlassian.net/browse/WATER-4283

> Part of the work to replace NALD for handling return requirements

In [Complete Select existing return requirement page](#895) we added the controls and logic to enable a user to copy the return requirements from an existing return version into the session.

The H1 title we used though was though to be wrong. So, we [Correct copy existing return req. page title](#1092). When we did that, we also updated the validation message as all our current messages just replay the H1 title.

Again however, this was thought to be incorrect. Our UAT team have decided the message we should show when an option is not selected is **Select a previous requirements for returns**.

This is that change.
Cruikshanks added a commit that referenced this pull request Jun 18, 2024
https://eaflood.atlassian.net/browse/WATER-4283

> Part of the work to replace NALD for handling return requirements

In [Complete Select existing return requirement page](#895) we added the controls and logic to enable a user to copy the return requirements from an existing return version into the session.

The H1 title we used though was though to be wrong. So, we [Correct copy existing return req. page title](#1092). When we did that, we also updated the validation message as all our current messages just replay the H1 title.

Again, however, this was thought to be incorrect. Our UAT team has decided the message we should show when an option is not selected is **Select a previous requirements for returns**.

This is that change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
housekeeping Refactoring, tidying up or other work which supports the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants