Skip to content

Add deprecation banner for app retirement#161

Merged
asizikov merged 2 commits into
mainfrom
asizikov-deprecation-banner
Jul 1, 2026
Merged

Add deprecation banner for app retirement#161
asizikov merged 2 commits into
mainfrom
asizikov-deprecation-banner

Conversation

@asizikov

@asizikov asizikov commented Jul 1, 2026

Copy link
Copy Markdown
Member

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

  • Add a new shared DeprecationBanner component with the retirement notice and a bolded "feel free to fork it" link to the repo.
  • Show the banner on the upload page.
  • Replace the old "GitHub Copilot is moving to usage-based billing" banner on the overview page with the new deprecation banner.
  • Add copilotBillingPreviewRepository to appLinks; remove links/props that became unused as part of this change (usageBasedBillingForOrganizationsDocs, the fileName prop on OverviewView).

Testing

  • npm run lint
  • npm run build
  • npm run test (210 tests passing)

Checklist

  • Specs lint passes (npm run lint)
  • Tests updated if applicable
  • Documentation updated if applicable

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>
Copilot AI review requested due to automatic review settings July 1, 2026 20:35
GitHub Advanced Security started work on behalf of asizikov July 1, 2026 20:35 View session
GitHub Advanced Security finished work on behalf of asizikov July 1, 2026 20:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 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 DeprecationBanner component 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’s fileName prop 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

Comment thread src/components/DeprecationBanner.tsx Outdated
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>
GitHub Advanced Security started work on behalf of asizikov July 1, 2026 20:41 View session
GitHub Advanced Security finished work on behalf of asizikov July 1, 2026 20:42
@asizikov asizikov merged commit b634073 into main Jul 1, 2026
10 checks passed
@asizikov asizikov deleted the asizikov-deprecation-banner branch July 1, 2026 20:47
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