-
Notifications
You must be signed in to change notification settings - Fork 621
[TOOL-4493] Dashboard: Add starter legacy discontinuation banner #7047
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TOOL-4493] Dashboard: Add starter legacy discontinuation banner #7047
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7047 +/- ##
=======================================
Coverage 55.51% 55.51%
=======================================
Files 909 909
Lines 58402 58402
Branches 4071 4071
=======================================
Hits 32419 32419
Misses 25878 25878
Partials 105 105
🚀 New features to boost your workflow:
|
size-limit report 📦
|
Merge activity
|
<!--
## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):
## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.
## How to test
Unit tests, playground, etc.
-->
<!-- start pr-codex -->
---
## PR-Codex overview
This PR introduces a `StarterLegacyDiscontinuedBanner` component to the `RootTeamLayout` in `layout.tsx`. It displays a notification for users on the "starter_legacy" billing plan, informing them of the discontinuation and providing a link to select a new plan.
### Detailed summary
- Added a conditional rendering for `StarterLegacyDiscontinuedBanner` based on the team's billing plan.
- Created the `StarterLegacyDiscontinuedBanner` component to inform users about the discontinuation of starter legacy plans.
- Included a button with a link to the billing settings for selecting a new plan, featuring an `ArrowRightIcon`.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
a914f5a to
7df81b7
Compare

PR-Codex overview
This PR introduces a new component,
StarterLegacyDiscontinuedBanner, to notify users with astarter_legacybilling plan about its discontinuation. It also modifies the layout to conditionally render this banner based on the team's billing plan.Detailed summary
StarterLegacyDiscontinuedBannerifteam.billingPlanis"starter_legacy".StarterLegacyDiscontinuedBannercomponent to inform users about the discontinuation of legacy plans.Buttonlinking to the billing settings for plan selection.ArrowRightIconwithin the button for visual indication.