Skip to content

Update existing discount disclaimer copy#113

Merged
asizikov merged 1 commit into
mainfrom
asizikov/update-discount-copy
May 19, 2026
Merged

Update existing discount disclaimer copy#113
asizikov merged 1 commit into
mainfrom
asizikov/update-discount-copy

Conversation

@asizikov
Copy link
Copy Markdown
Member

Summary

Updates the disclaimer language to refer to existing discounts instead of negotiated discounts, matching the broader wording requested for usage-based billing cost values.

Changes

  • Replaces the disclaimer copy with All values are provided without any existing discounts.
  • Renames the shared disclaimer component, constant, file, and related props from negotiated discount terminology to existing discount terminology.
Commit Change
refactor: rename existing discount disclaimer Updated the disclaimer wording and aligned component/import names with existing discount terminology.

Testing

  • npm run build
  • npm run lint
  • npm run test

Checklist

  • Specs lint passes (npm run lint)
  • Tests updated if applicable (N/A - copy and naming only)
  • Documentation updated if applicable (N/A)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 19, 2026 07:57
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the usage-based billing disclaimer copy to reference “existing discounts” (instead of “negotiated discounts”) and renames the shared disclaimer component/exports/props accordingly across the UI and views.

Changes:

  • Replaced the disclaimer text with: All values are provided without any existing discounts.
  • Renamed NegotiatedDiscountDisclaimerExistingDiscountDisclaimer (including exported constant and related props).
  • Updated all view/component call sites to use the new names.
Show a summary per file
File Description
src/views/UserDetailsView.tsx Updates disclaimer import/usage and renames the scope flag variable accordingly.
src/views/OverviewView.tsx Renames the BillingTotalsCards prop to showExistingDiscountDisclaimer.
src/views/OrganizationsView.tsx Switches to ExistingDiscountDisclaimer in org totals cards.
src/views/ModelsView.tsx Renames the local flag and swaps disclaimer component usage.
src/views/CostManagementView.tsx Renames the BillingTotalsCards prop to showExistingDiscountDisclaimer.
src/views/CostCentersView.tsx Switches to ExistingDiscountDisclaimer in cost center totals cards.
src/components/ui/NegotiatedDiscountDisclaimer.tsx Removes the old negotiated-discount disclaimer component/constant.
src/components/ui/index.ts Updates barrel exports to the new disclaimer component/constant.
src/components/ui/ExistingDiscountDisclaimer.tsx Adds the new disclaimer component/constant with updated copy.
src/components/ui/BillingTotalsCards.tsx Renames prop and replaces old disclaimer component usage.
src/components/ui/AicNetCostInfoTip.tsx Updates tooltip copy to match the new disclaimer wording.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 11/11 changed files
  • Comments generated: 0

@asizikov asizikov merged commit c8f68c5 into main May 19, 2026
13 checks passed
@asizikov asizikov deleted the asizikov/update-discount-copy branch May 19, 2026 08:25
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