From 9a63cd4b57df8db0f3783816253d10db2207246a Mon Sep 17 00:00:00 2001 From: MananTank Date: Thu, 1 May 2025 22:55:35 +0000 Subject: [PATCH] [TOOL-4346] Dashboard: Show Project ID in project settings page (#6917) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ## PR-Codex overview This PR introduces a new component, `ProjectIdCard`, to display the project ID in the `ProjectGeneralSettingsPage`. This component allows users to copy the project ID easily. ### Detailed summary - Added `ProjectIdCard` component to display project ID. - Integrated `ProjectIdCard` into `ProjectGeneralSettingsPage`. - `ProjectIdCard` includes a `SettingsCard` with a title, description, and a `CopyTextButton` for copying the project ID. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- .../settings/ProjectGeneralSettingsPage.tsx | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/settings/ProjectGeneralSettingsPage.tsx b/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/settings/ProjectGeneralSettingsPage.tsx index 02472cfbc33..49713dd352d 100644 --- a/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/settings/ProjectGeneralSettingsPage.tsx +++ b/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/settings/ProjectGeneralSettingsPage.tsx @@ -358,6 +358,8 @@ export function ProjectGeneralSettingsPageUI(props: { rotateSecretKey={props.rotateSecretKey} /> + + + + + ); +} + function ProjectImageSetting(props: { updateProjectImage: (file: File | undefined) => Promise; avatar: string | null;