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

ROD-92 Create a reference number page #49

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

MikeMaratheftis
Copy link
Contributor

What?

ROD-92 - Create a reference number page - ROD main flow

Why?

Allows user to enter a reference number

How?

  • Added reference number page
  • Added custom validations for page

Testing?

Tested on local machine

Screenshots (optional)

Anything Else? (optional)

Check list

  • I have reviewed my own pull request for linting issues (e.g. adding new lines)
  • I have written tests (if relevant)
  • I have created a JIRA number for my branch
  • I have created a JIRA number for my commit
  • I have followed the chris beams method for my commit https://cbea.ms/git-commit/
    here is an example commit
  • Ensure drone builds are green especially tests
  • I will squash the commits before merging

@RobertMcCann
Copy link
Contributor

update next step for /reference-number to be /your-documents as per AC5 in ticket

the check your answers page isn't showing up as per the figma, needs a field that displays the type of reference numbers the user has selected (can be all of them)

@RobertMcCann
Copy link
Contributor

For all of your field names that you have added to this PR I would prefix them with 'rod' so it's easier to read, search for in IDE and some of these field names are already in use in other journeys e.g. enter-case-id is in CNC

So I would change all these fields to 'rod-case-id' etc and update everywhere else they appear, you can use VSC change all occurrences so that nothing gets missed

vivekkumar-ho and others added 3 commits November 6, 2024 15:48
# Conflicts:
#	apps/rod/fields/index.js
#	apps/rod/index.js
#	apps/rod/sections/summary-data-sections.js
#	apps/rod/translations/src/en/fields.json
#	apps/rod/translations/src/en/pages.json
#	apps/rod/translations/src/en/validation.json
Copy link
Contributor

@vivekkumar-ho vivekkumar-ho left a comment

Choose a reason for hiding this comment

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

apps/rod/behaviours/custom-validations.js already exists. Probably better to use that file for all the custom validations and delete the additional file.

Copy link
Contributor

@vivekkumar-ho vivekkumar-ho left a comment

Choose a reason for hiding this comment

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

validation files are now merged

# Conflicts:
#	apps/rod/index.js
#	apps/rod/translations/src/en/validation.json
#	assets/scss/app.scss
# Conflicts:
#	apps/rod/translations/src/en/fields.json
#	apps/rod/translations/src/en/validation.json
# Conflicts:
#	apps/rod/fields/index.js
#	apps/rod/index.js
#	apps/rod/translations/src/en/validation.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants