From 0e39256de55987580fc48fe7c2fa59e8571651e2 Mon Sep 17 00:00:00 2001 From: zramsay Date: Thu, 7 Nov 2024 11:25:49 -0500 Subject: [PATCH 1/8] add links to sidebar sections --- .../frontend/src/components/shared/Sidebar/Sidebar.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx b/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx index b5d88ca4..a6d2bf3d 100644 --- a/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx +++ b/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx @@ -92,10 +92,14 @@ export const Sidebar = ({ mobileOpen }: SidebarProps) => { } value=""> - DOCUMENTATION + + DOCUMENTATION + } value=""> - SUPPORT + + SUPPORT + -- 2.45.2 From 026594c89ad9a94b63d392dd4cab25c2ed70bb4b Mon Sep 17 00:00:00 2001 From: zramsay Date: Thu, 7 Nov 2024 11:26:31 -0500 Subject: [PATCH 2/8] comment out Integrations tab --- packages/frontend/src/pages/org-slug/projects/Id.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/frontend/src/pages/org-slug/projects/Id.tsx b/packages/frontend/src/pages/org-slug/projects/Id.tsx index fd8ce0e7..e7e296e8 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 -- 2.45.2 From 84bb5947181686ebb72a1807fa08e637e0b39298 Mon Sep 17 00:00:00 2001 From: zramsay Date: Thu, 7 Nov 2024 12:02:23 -0500 Subject: [PATCH 3/8] comment out gitea --- .../projects/project/settings/GitSelectionSection.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/frontend/src/components/projects/project/settings/GitSelectionSection.tsx b/packages/frontend/src/components/projects/project/settings/GitSelectionSection.tsx index 24dd84d2..3090a14d 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
{'>'}
+ */} ); }; -- 2.45.2 From 3718aae004fde5941ab68e5bbd5f5b85dd034e5a Mon Sep 17 00:00:00 2001 From: zramsay Date: Thu, 7 Nov 2024 12:04:46 -0500 Subject: [PATCH 4/8] remove link to NameCheap --- .../org-slug/projects/id/settings/domains/add/Config.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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..3a0f3a7a 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.

-- 2.45.2 From c15ac04ac4fbf2a3944a18f6d86cb5049c997978 Mon Sep 17 00:00:00 2001 From: zramsay Date: Thu, 7 Nov 2024 12:06:26 -0500 Subject: [PATCH 5/8] remove dangling hat --- .../pages/org-slug/projects/id/settings/domains/add/index.tsx | 3 --- 1 file changed, 3 deletions(-) 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 = () => {
- - ^ - Date: Thu, 7 Nov 2024 12:13:03 -0500 Subject: [PATCH 6/8] placeholder dns info --- .../org-slug/projects/id/settings/domains/add/Config.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 3a0f3a7a..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 @@ -79,13 +79,13 @@ const Config = () => { A @ - 56.49.19.21 + IP.OF.THE.SP CNAME - www - cname.snowballtools.xyz + subdomain + domain.of.the.sp
-- 2.45.2 From a2354279a2850e0ad948e70281e3a07f3f08cb7e Mon Sep 17 00:00:00 2001 From: zramsay Date: Thu, 7 Nov 2024 12:21:21 -0500 Subject: [PATCH 7/8] hide collaborators section --- .../src/pages/org-slug/projects/id/Settings.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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..93a02244 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 = () => { -- 2.45.2 From 9acbae91a55cd71195387cf2380d964be8342c02 Mon Sep 17 00:00:00 2001 From: Nabarun Date: Thu, 14 Nov 2024 14:34:43 +0530 Subject: [PATCH 8/8] Run prettier --- .../Dialog/ChangeStateToProductionDialog.tsx | 6 +----- .../components/projects/create/Configure.tsx | 6 +++++- .../project/settings/GitSelectionSection.tsx | 4 ++-- .../src/components/shared/Sidebar/Sidebar.tsx | 18 ++++++++++++------ .../src/pages/org-slug/projects/Id.tsx | 4 ++-- .../pages/org-slug/projects/id/Settings.tsx | 10 +++++----- 6 files changed, 27 insertions(+), 21 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 3090a14d..d1a85bf5 100644 --- a/packages/frontend/src/components/projects/project/settings/GitSelectionSection.tsx +++ b/packages/frontend/src/components/projects/project/settings/GitSelectionSection.tsx @@ -17,7 +17,7 @@ const GitSelectionSection = ({
Github
{'>'}
- {/* + {/*
{}} @@ -26,7 +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 a6d2bf3d..4aaffe7f 100644 --- a/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx +++ b/packages/frontend/src/components/shared/Sidebar/Sidebar.tsx @@ -92,14 +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 e7e296e8..5be22916 100644 --- a/packages/frontend/src/pages/org-slug/projects/Id.tsx +++ b/packages/frontend/src/pages/org-slug/projects/Id.tsx @@ -118,11 +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 93a02244..329069bf 100644 --- a/packages/frontend/src/pages/org-slug/projects/id/Settings.tsx +++ b/packages/frontend/src/pages/org-slug/projects/id/Settings.tsx @@ -37,11 +37,11 @@ const tabsData = [ icon: , value: 'environment-variables', }, -// { -// label: 'Collaborators', -// icon: , -// value: 'collaborators', -// }, + // { + // label: 'Collaborators', + // icon: , + // value: 'collaborators', + // }, ]; const SettingsTabPanel = () => { -- 2.45.2