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

Add capitalize() method to base presenter #451

Merged
merged 4 commits into from
Oct 6, 2023

Conversation

Cruikshanks
Copy link
Member

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

We are currently working on the SROC two-part tariff bill. The first step of the process in the UI is to review how the returns have been matched. Our superstar design team are working on an improved design for the returns review screen but to do that they need data.

This led us to start Implement mock return review. A requirement that came out of that was the ability to capitalize certain values, for example, loss is recorded in the DB as high but when presenting it we want to see High.

As we start to build views and 'present' the data for them we're going to need this in more and more cases.

So, this change adds a capitalize() method to our base presenter.

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

We are currently working on the SROC two-part tariff bill. The first step of the process in the UI is to review how the returns have been matched. Our superstar design team are working on an improved design for the returns review screen but to do that they need data.

This led us to start [Implement mock return review](#447). A requirement that came out of that was the ability to capitalize certain values, for example, loss is recorded in the DB as `high` but when presenting it we want to see `High`.

As we start to build views and 'present' the data for them we're going to need this in more and more cases.

So, this change adds a`capitalize()` method to our base presenter.
@Cruikshanks Cruikshanks added the enhancement New feature or request label Oct 5, 2023
@Cruikshanks Cruikshanks self-assigned this Oct 5, 2023
@Cruikshanks Cruikshanks marked this pull request as ready for review October 5, 2023 15:45
Copy link
Contributor

@Jozzey Jozzey 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 417dd2a into main Oct 6, 2023
@Cruikshanks Cruikshanks deleted the add-capitalize-to-base-presenter branch October 6, 2023 12:50
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.

2 participants