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

[CRIMAPP-911] Alter dependants grouping/banding #625

Merged
merged 3 commits into from
Jun 21, 2024

Conversation

mseedat-moj
Copy link
Contributor

Description of change

Alters dependants output age grouping/banding to reflect child's age at NEXT birthday

Link to relevant ticket

https://dsdmoj.atlassian.net/browse/CRIMAPP-911

Notes for reviewer

N/A

Screenshots of changes (if applicable)

With the following ages:

1 year old
7 years old
8 years old
12 years old
13 years old
17 years old

Before changes:

Screenshot 2024-06-21 at 03 08 56

After changes:

Screenshot 2024-06-21 at 03 08 31

How to manually test the feature

Add lots of dependants in Apply, note down the ages entered.

Submit application, check in Review

@mseedat-moj mseedat-moj requested a review from a team as a code owner June 21, 2024 09:08
grouped_dependants['0 to 1'] += 1
when 2, 3, 4
when 1, 2, 3
Copy link
Contributor

Choose a reason for hiding this comment

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

Wondering whether useful to put in a comment somewhere here to remind people that the copy refers to 'next birthday'

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 point. I did consider that but the output literally says 'next birthday' so left it incase the wording changed and the comment was forgotten about!

Copy link
Contributor

@arthurashman arthurashman left a comment

Choose a reason for hiding this comment

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

I'd like a comment as it might confuse people in the future

But otherwise looks all good to me except coverage failing pipeline

@mseedat-moj mseedat-moj merged commit 1810703 into main Jun 21, 2024
6 checks passed
@mseedat-moj mseedat-moj deleted the CRIMAPP-911-alter-dependants-output branch June 21, 2024 16:27
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.

2 participants