feat: [M3-7096] - Show Region label in addition to id on Invoices#9663
Merged
bnussman-akamai merged 6 commits intolinode:developfrom Sep 13, 2023
Conversation
jdamore-linode
approved these changes
Sep 12, 2023
mjac0bs
reviewed
Sep 12, 2023
Contributor
mjac0bs
left a comment
There was a problem hiding this comment.
Thanks for the updates with some good clean up and tests! 🧹 Left a couple tiny suggestions.
Also: can we update the MSW invoice items endpoint (rest.get('*invoices/555/items',) so we're seeing an accurate representation of what an overage line item in the global transfer pool?
It looks like that includes the substring "Transfer Overage" and we've currently got "Outbound Transfer".
packages/manager/src/features/Billing/PdfGenerator/utils.test.ts
Outdated
Show resolved
Hide resolved
packages/manager/src/features/Billing/PdfGenerator/utils.test.ts
Outdated
Show resolved
Hide resolved
packages/manager/src/features/Billing/InvoiceDetail/InvoiceTable.tsx
Outdated
Show resolved
Hide resolved
mjac0bs
reviewed
Sep 12, 2023
| <TableCell colSpan={columns}> | ||
| <TableCell | ||
| colSpan={columns} | ||
| sx={{ paddingLeft: '0px !important' }} |
Contributor
There was a problem hiding this comment.
What was the crazy styling issue here?
Member
Author
Contributor
abailly-akamai
approved these changes
Sep 13, 2023
Contributor
There was a problem hiding this comment.
Would be nice to have tests for the PDF generation too. Could be a follow up but it wouldn't be too labor intensive using pdf-parse - will make a ticket
This was referenced Sep 15, 2023
20 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description 📝
labelandidin the DC specific pricing invoices. This ticket is a follow up to address some feedback from feat: [M3-6980] - Add DC Specific Pricing Invoice Support #9597.Preview 📷
Important
The CSV does not contain the region
labelbecause I followed the current pattern of showing "pure" API data. (Notice how the dates are in the API's format)How to test 🧪
labels andids on the Invoices with theDC Specific Pricingfeature flag on