diff --git a/src/App.tsx b/src/App.tsx index fc5cd31..db46d65 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -757,7 +757,6 @@ function App() { {visibleActiveView === 'overview' ? ( + +

+ The Copilot Billing Preview app will be retired on August 3, 2026. +
+ If you use it to review your GitHub Copilot spend, you can get the same visibility, and more, directly in your + GitHub billing settings. + {' '} + If you want to maintain a copy of the app,{' '} + + feel free to fork it + + . +

+ + ) +} diff --git a/src/components/UploadPage.tsx b/src/components/UploadPage.tsx index 7d03436..b27d8e9 100644 --- a/src/components/UploadPage.tsx +++ b/src/components/UploadPage.tsx @@ -1,6 +1,7 @@ import type { DragEvent, KeyboardEvent, MouseEvent } from 'react' import { MarkGithubIcon, UploadIcon, LockIcon } from '@primer/octicons-react' import { appLinks } from '../config/links' +import { DeprecationBanner } from './DeprecationBanner' export interface UploadPageProps { dragActive: boolean @@ -62,6 +63,7 @@ export function UploadPage({ Learn more about usage-based billing →

+ {error && (
0 && (
- {!isNativeAiCredits && ( -
-

GitHub Copilot is moving to usage-based billing

-

- Starting June 1, 2026, Copilot usage will be measured in AI Credits (AICs) instead of Premium Requests (PRUs). 1 AIC = $0.01. This is a preview estimate based on your uploaded report. Actual bills under usage-based billing may differ based on model mix and final pricing. -

- {fileName && ( -

- Note: This is a preview estimate based on your uploaded report ({fileName}). Actual bills under usage-based billing may differ based on model mix and final pricing. -

- )} - - Learn more about usage-based billing → - -
- )} + {!isNativeAiCredits && periodLabel && (