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 new view bill run endpoint and template #544

Merged
merged 6 commits into from
Dec 16, 2023
Merged

Conversation

Cruikshanks
Copy link
Member

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

We have been working on implementing a new version of the bill page. The current one tries to display all transaction details for all licences on a single page when the bill is selected.

In the larger annual bill runs this will equate to more than 150 licences and their transactions, which means the page is failing to load.

All that work has been done in this repo as part of our ongoing efforts to migrate away from the legacy code. It is in the final throws of testing and will soon be released.

To get to the new pages you have to pass through the existing bill run summary page. What our work has highlighted is this page leaves a lot to desire! Again, the larger the bill run the slower it is, noticeably so. Though it at least always loads 🧌.

It also is inconsistent. It has a different layout depending on the bill run type, and one of those depends on tabs, which is an incorrect use of the component (and 🤢).

So, we want to remove this remaining 'bump' in our billing user journey and replace it with a 'better' one. This is the final change in a series to support that, which adds the new template and endpoint.

@Cruikshanks Cruikshanks added the enhancement New feature or request label Nov 22, 2023
@Cruikshanks Cruikshanks self-assigned this Nov 22, 2023
https://eaflood.atlassian.net/browse/WATER-4223

We have been working on implementing a new version of the bill page. The current one tries to display all transaction details for all licences on a single page when the bill is selected.

In the larger annual bill runs this might equate to more than 150 licences and their transactions which means the page is failing to load.

All that work has been done in this repo as part of our ongoing efforts to migrate away from the legacy code. It is in the final throws of testing and will soon be released.

To get to the new pages you have to pass through the existing bill run summary page. What our work has highlighted is this page leaves a lot to desire! Again, the larger the bill run the slower it is, noticeably so. Though it at least always loads 🧌. It also is inconsistent. It has a different layout depending on the bill run type, and one of those depends on tabs which is an incorrect use of the component (and 🤢).

So, we want to remove this remaining 'bump' in our billing user journey and replace it with a 'better' one. This is the final change in a series to support that, which adds the new template and endpoint.
@Cruikshanks Cruikshanks force-pushed the add-new-bill-run-page branch from 2c4af0e to 7bed8f4 Compare November 22, 2023 23:45
Forgot to update the links to point to the new page rather than the legacy one!
Another thing we missed. Because of how much we are trying to display in our tables we have to add our own custom widths that go a little smaller than the ones provided by the design system (`one-quarter` is the smallest they go to). These are needed in the bill run page when we have both tables visible and want to ensure the columns for both line up. Added to that supplementary bills feature an extra column hence the need for 3 custom widths.
@Cruikshanks
Copy link
Member Author

Work is still ongoing on this. We have found an issue with the counts on the page but the legacy view also seems to show confusing numbers!

So, we're just waiting on design to come up with an agreed solution which is going to mean changes are needed.

@Cruikshanks Cruikshanks added the do not merge Used for spikes and experiments label Dec 5, 2023
@Cruikshanks
Copy link
Member Author

Work is still ongoing on this. We have found an issue with the counts on the page but the legacy view also seems to show confusing numbers!

So, we're just waiting on design to come up with an agreed solution which is going to mean changes are needed.

I'm going to implement the solution to the count issue in a separate PR.

@Cruikshanks Cruikshanks removed the do not merge Used for spikes and experiments label Dec 16, 2023
@Cruikshanks Cruikshanks marked this pull request as ready for review December 16, 2023 10:26
@Cruikshanks Cruikshanks merged commit d3df5de into main Dec 16, 2023
5 of 6 checks passed
@Cruikshanks Cruikshanks deleted the add-new-bill-run-page branch December 16, 2023 10:26
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.

1 participant