Add deprecation banner for app retirement#161
Merged
Conversation
Add a shared DeprecationBanner component announcing the app retirement on August 3, 2026, with a link to fork the repo. It replaces the old "moving to usage-based billing" banner on the overview page and is also shown on the upload page. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a new retirement/deprecation banner to inform users that the Copilot Billing Preview app will be retired on August 3, 2026, and directs them to GitHub billing settings (with an option to fork the repository to keep a copy).
Changes:
- Introduces a shared
DeprecationBannercomponent with retirement messaging and a link to the repo. - Displays the banner on the upload page and replaces the existing overview-page banner with the new deprecation banner.
- Updates link configuration and removes now-unused props/links (e.g.,
OverviewView’sfileNameprop and an unused docs link).
Show a summary per file
| File | Description |
|---|---|
| src/views/OverviewView.tsx | Replaces the previous overview banner with the new DeprecationBanner and removes related unused logic. |
| src/config/links.ts | Adds the repository link used by the new banner and removes an unused docs link. |
| src/components/UploadPage.tsx | Shows DeprecationBanner on the upload page. |
| src/components/index.ts | Exports DeprecationBanner from the components barrel. |
| src/components/DeprecationBanner.tsx | New shared banner component with retirement notice and fork link. |
| src/App.tsx | Removes the unused fileName prop when rendering OverviewView. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 6/6 changed files
- Comments generated: 1
- Review effort level: Low
Replace the arbitrary fill-[color:var(--fgColor-attention)] class on the DeprecationBanner InfoIcon with the idiomatic fill-fg-attention Tailwind token, adding --color-fg-attention to the theme mapping alongside the other fg-* tokens. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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.
Summary
The Copilot Billing Preview app is being retired on August 3, 2026, since the same (and more) visibility is now available directly in GitHub billing settings. This adds a banner communicating that to users, with the ability to fork the repo if they want to keep a copy.
Changes
DeprecationBannercomponent with the retirement notice and a bolded "feel free to fork it" link to the repo.copilotBillingPreviewRepositorytoappLinks; remove links/props that became unused as part of this change (usageBasedBillingForOrganizationsDocs, thefileNameprop onOverviewView).Testing
npm run lintnpm run buildnpm run test(210 tests passing)Checklist
npm run lint)