From da507f140de5310759c6793570c80eebe0253d2d Mon Sep 17 00:00:00 2001 From: GiselleNessi <53020124+GiselleNessi@users.noreply.github.com> Date: Mon, 20 Jan 2025 21:29:23 +0000 Subject: [PATCH] enhance manage billing visibility in dashboard (#5990) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- title: "[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. --- ## PR-Codex overview This PR introduces a new `Manage Billing` button in the `account-button.client.tsx` file and enhances the `Billing` component with an informational `Alert` about managing plans. It also adds a description to guide users on billing management. ### Detailed summary - Added a `Manage Billing` button in `account-button.client.tsx`. - Introduced an `Alert` in `Billing` component with a title and description. - Included a link in the `Alert` for managing billing. - Added a paragraph to encourage users to upgrade or downgrade their plan. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- .../SecondaryNav/account-button.client.tsx | 8 +++++ .../settings/Account/Billing/index.tsx | 29 ++++++++++++++++++- 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/apps/dashboard/src/app/components/Header/SecondaryNav/account-button.client.tsx b/apps/dashboard/src/app/components/Header/SecondaryNav/account-button.client.tsx index c3c266f6782..d3a327e1ca3 100644 --- a/apps/dashboard/src/app/components/Header/SecondaryNav/account-button.client.tsx +++ b/apps/dashboard/src/app/components/Header/SecondaryNav/account-button.client.tsx @@ -66,6 +66,14 @@ export function AccountButton(props: {