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.
🤖[deprecated] Generated by Copilot at 88d7d75
Summary
🚢📊🌐
This pull request adds UI features and fixes for displaying port costs and valuations in the cost center frontend. It introduces a new
PortIcon
component in the UI library and imports it in the cost center package. It updates the types, constants, hooks, and API functions to handle port data. It modifies the layout and responsiveness of the billing, cost overview, and valuation pages. It also adds translations and updates dependencies for the UI.Walkthrough
PortIcon
that renders a custom SVG icon for ports (link)PortIcon
component as part of the UI library (link, link)@tanstack/react-table
to use for rendering tables in the UI (link, link, link)immer
to the latest version (link)@babel/core
(link)next
withreact
andreact-dom
as peer dependencies (link)next
(link)next
's webpack configuration (link)displayMoney
function (link, link)Cost
component (link)useBillingData
hook and theformatMoney
function in thePredictCard
component (link, link)date-fns
and add optionalendTime
andstartTime
properties to theuseBillingData
hook (link, link, link)convertGpu
function (link, link, link, link)Billing
component (link, link, link, link, link, link)CostOverview
component and make the flex containers fill the available space (link, link, link, link, link)PortIcon
component and the port title for the port valuation and avoid displaying an extra slash when the unit is empty in theValuation
component (link, link, link)