From 08eea95f9bc1b15b1b88796870ba70ebd1ffce07 Mon Sep 17 00:00:00 2001 From: MananTank Date: Wed, 2 Apr 2025 09:12:32 +0000 Subject: [PATCH] [TOOL-3764] Dashboard: Add Nebula FTUX (#6616) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ## PR-Codex overview This PR introduces a new `ClientIDSection` component to streamline the display of the Client ID across various components. It also modifies the `WaitingForIntegrationCard` to utilize this new component, improving code organization and reducing redundancy. ### Detailed summary - Added `ClientIDSection` component to display the Client ID. - Updated `InsightFTUX` to include `ClientIDSection` instead of inline code. - Modified `WaitingForIntegrationCard` to accept children for rendering. - Created `NebulaFTUX` component to integrate Nebula features and display Client ID. - Adjusted styles in various components for consistency. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- .../_components/DeployViaCLIOrImportCard.tsx | 14 ++- .../ProjectFTUX/ClientIDSection.tsx | 22 ++++ .../ProjectFTUX/IntegrateAPIKeyCodeTabs.tsx | 2 +- .../components/ProjectFTUX/ProjectFTUX.tsx | 18 +-- .../WaitingForIntegrationCard.tsx | 26 +---- .../[project_slug]/insight/insight-ftux.tsx | 9 +- .../[project_slug]/nebula/nebula-ftux.tsx | 104 ++++++++++++++++++ .../[project_slug]/nebula/page.tsx | 21 ++++ 8 files changed, 170 insertions(+), 46 deletions(-) create mode 100644 apps/dashboard/src/app/team/[team_slug]/[project_slug]/components/ProjectFTUX/ClientIDSection.tsx create mode 100644 apps/dashboard/src/app/team/[team_slug]/[project_slug]/nebula/nebula-ftux.tsx diff --git a/apps/dashboard/src/app/account/contracts/_components/DeployViaCLIOrImportCard.tsx b/apps/dashboard/src/app/account/contracts/_components/DeployViaCLIOrImportCard.tsx index 52e86570066..f46f6aac87f 100644 --- a/apps/dashboard/src/app/account/contracts/_components/DeployViaCLIOrImportCard.tsx +++ b/apps/dashboard/src/app/account/contracts/_components/DeployViaCLIOrImportCard.tsx @@ -13,7 +13,7 @@ export function DeployViaCLIOrImportCard(props: { const [importModalOpen, setImportModalOpen] = useState(false); return ( -
+
{ @@ -26,14 +26,18 @@ export function DeployViaCLIOrImportCard(props: {

Already have a smart contract?

-

+

Import an already deployed contract or deploy a contract from source code to easily manage permissions, upload assets, and interact with contract functions

-
-