From 17640d3133d28a6c8abd04b5901037554bf8a36a Mon Sep 17 00:00:00 2001 From: zramsay Date: Thu, 14 Nov 2024 09:10:19 +0000 Subject: [PATCH] Copy updates (#38) Co-authored-by: zramsay Co-authored-by: Nabarun Reviewed-on: https://git.vdb.to/cerc-io/snowballtools-base/pulls/38 Co-authored-by: zramsay Co-committed-by: zramsay --- .../Dialog/ChangeStateToProductionDialog.tsx | 6 +----- .../src/components/projects/create/Configure.tsx | 6 +++++- .../project/settings/GitSelectionSection.tsx | 2 ++ .../src/components/shared/Sidebar/Sidebar.tsx | 14 ++++++++++++-- .../frontend/src/pages/org-slug/projects/Id.tsx | 2 ++ .../src/pages/org-slug/projects/id/Settings.tsx | 12 ++++++------ .../projects/id/settings/domains/add/Config.tsx | 11 ++++------- .../projects/id/settings/domains/add/index.tsx | 3 --- 8 files changed, 32 insertions(+), 24 deletions(-) diff --git a/packages/frontend/src/components/projects/Dialog/ChangeStateToProductionDialog.tsx b/packages/frontend/src/components/projects/Dialog/ChangeStateToProductionDialog.tsx index be68a445..4070c173 100644 --- a/packages/frontend/src/components/projects/Dialog/ChangeStateToProductionDialog.tsx +++ b/packages/frontend/src/components/projects/Dialog/ChangeStateToProductionDialog.tsx @@ -47,11 +47,7 @@ export const ChangeStateToProductionDialog = ({ handleCancel={handleCancel} open={open} handleConfirm={handleConfirm} - confirmButtonTitle={ - isConfirmButtonLoading - ? 'Redeploying' - : 'Redeploy' - } + confirmButtonTitle={isConfirmButtonLoading ? 'Redeploying' : 'Redeploy'} confirmButtonProps={{ disabled: isConfirmButtonLoading, rightIcon: isConfirmButtonLoading ? ( diff --git a/packages/frontend/src/components/projects/create/Configure.tsx b/packages/frontend/src/components/projects/create/Configure.tsx index c541cd6d..98675186 100644 --- a/packages/frontend/src/components/projects/create/Configure.tsx +++ b/packages/frontend/src/components/projects/create/Configure.tsx @@ -229,7 +229,11 @@ const Configure = () => { } // Validate transaction hash - const isTxHashValid = await verifyTx(senderAddress, txHash, amountToBePaid); + const isTxHashValid = await verifyTx( + senderAddress, + txHash, + amountToBePaid, + ); setIsPaymentLoading(false); if (isTxHashValid) { diff --git a/packages/frontend/src/components/projects/project/settings/GitSelectionSection.tsx b/packages/frontend/src/components/projects/project/settings/GitSelectionSection.tsx index 24dd84d2..d1a85bf5 100644 --- a/packages/frontend/src/components/projects/project/settings/GitSelectionSection.tsx +++ b/packages/frontend/src/components/projects/project/settings/GitSelectionSection.tsx @@ -17,6 +17,7 @@ const GitSelectionSection = ({
Github
{'>'}
+ {/*
{}} @@ -25,6 +26,7 @@ const GitSelectionSection = ({
Gitea
{'>'}
+ */} ); }; diff --git a/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx b/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx index b5d88ca4..4aaffe7f 100644 --- a/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx +++ b/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx @@ -92,10 +92,20 @@ export const Sidebar = ({ mobileOpen }: SidebarProps) => { } value=""> - DOCUMENTATION + + DOCUMENTATION + } value=""> - SUPPORT + + SUPPORT + diff --git a/packages/frontend/src/pages/org-slug/projects/Id.tsx b/packages/frontend/src/pages/org-slug/projects/Id.tsx index fd8ce0e7..5be22916 100644 --- a/packages/frontend/src/pages/org-slug/projects/Id.tsx +++ b/packages/frontend/src/pages/org-slug/projects/Id.tsx @@ -118,9 +118,11 @@ const Id = () => { Deployments + {/* Integrations + */} Settings diff --git a/packages/frontend/src/pages/org-slug/projects/id/Settings.tsx b/packages/frontend/src/pages/org-slug/projects/id/Settings.tsx index 8f6367be..329069bf 100644 --- a/packages/frontend/src/pages/org-slug/projects/id/Settings.tsx +++ b/packages/frontend/src/pages/org-slug/projects/id/Settings.tsx @@ -10,7 +10,7 @@ import { } from 'components/shared/Tabs'; import { BranchStrokeIcon, - CollaboratorsIcon, + //CollaboratorsIcon, GearIcon, GlobeIcon, SwitchIcon, @@ -37,11 +37,11 @@ const tabsData = [ icon: , value: 'environment-variables', }, - { - label: 'Collaborators', - icon: , - value: 'collaborators', - }, + // { + // label: 'Collaborators', + // icon: , + // value: 'collaborators', + // }, ]; const SettingsTabPanel = () => { diff --git a/packages/frontend/src/pages/org-slug/projects/id/settings/domains/add/Config.tsx b/packages/frontend/src/pages/org-slug/projects/id/settings/domains/add/Config.tsx index 6ad7f445..d3419c06 100644 --- a/packages/frontend/src/pages/org-slug/projects/id/settings/domains/add/Config.tsx +++ b/packages/frontend/src/pages/org-slug/projects/id/settings/domains/add/Config.tsx @@ -63,10 +63,7 @@ const Config = () => { return (

- Add the following records to your domain.  - - Go to NameCheap - + Add the following records to your domain.

@@ -82,13 +79,13 @@ const Config = () => { A @ - 56.49.19.21 + IP.OF.THE.SP CNAME - www - cname.snowballtools.xyz + subdomain + domain.of.the.sp
diff --git a/packages/frontend/src/pages/org-slug/projects/id/settings/domains/add/index.tsx b/packages/frontend/src/pages/org-slug/projects/id/settings/domains/add/index.tsx index 558d2dc7..7868281c 100644 --- a/packages/frontend/src/pages/org-slug/projects/id/settings/domains/add/index.tsx +++ b/packages/frontend/src/pages/org-slug/projects/id/settings/domains/add/index.tsx @@ -49,9 +49,6 @@ const AddDomain = () => {
- - ^ -