From e1dd2fb8fe8971692235f2c6dcde5dbf5c437311 Mon Sep 17 00:00:00 2001 From: Ryan Furrer Date: Mon, 2 Sep 2024 11:09:42 -0400 Subject: [PATCH 1/4] fix(addtoworkspacemodal and single-select.tsx): reduced size of dropdown in add to workspace modal I decreased the size of the modal as well as the dropdown in desktop. However, I increased the size on mobile to make it more inline with the mobile styling. fix #4063 --- .env | 2 +- components/Repositories/AddToWorkspaceModal.tsx | 2 +- components/atoms/Select/single-select.tsx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env b/.env index 0102e354f..e915e0323 100644 --- a/.env +++ b/.env @@ -13,4 +13,4 @@ NEXT_PUBLIC_SENTRY_DSN=https://3f5bb9023ff0407299dd22a6454558f9@o450487248892723 # For running the API local, use your devices localhost address: # # NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/v2 -# NEXT_PUBLIC_EXP_API_URL=http://127.0.0.1:3001/v2 +# NEXT_PUBLIC_EXP_API_URL=http://127.0.0.1:3001/v2 \ No newline at end of file diff --git a/components/Repositories/AddToWorkspaceModal.tsx b/components/Repositories/AddToWorkspaceModal.tsx index e682cd983..e786667ad 100644 --- a/components/Repositories/AddToWorkspaceModal.tsx +++ b/components/Repositories/AddToWorkspaceModal.tsx @@ -70,7 +70,7 @@ export default function AddToWorkspaceModal({ repository, isOpen, onCloseModal, onInteractOutside={onCloseModal} > Add to workspace}> -
+
{!user ? (
@@ -75,7 +75,7 @@ const SingleSelect = ({
- + <> {options.length > 0 && ( From 7008be5c9e17fc24b30f6f702fd94bf5dbfd8a51 Mon Sep 17 00:00:00 2001 From: Ryan Furrer Date: Mon, 2 Sep 2024 20:39:53 -0400 Subject: [PATCH 2/4] refactor(.env): remove unnecessary line remove line added in previous commit for NEXT_PUBLIC_EXP_API_URL --- .env | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.env b/.env index e915e0323..ddcab02c8 100644 --- a/.env +++ b/.env @@ -12,5 +12,4 @@ NEXT_PUBLIC_SENTRY_DSN=https://3f5bb9023ff0407299dd22a6454558f9@o450487248892723 # -------------- # For running the API local, use your devices localhost address: # -# NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/v2 -# NEXT_PUBLIC_EXP_API_URL=http://127.0.0.1:3001/v2 \ No newline at end of file +# NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/v2 \ No newline at end of file From eb9b8a599a4eb2e14b730cbd9daeb0208467a5cb Mon Sep 17 00:00:00 2001 From: Ryan Furrer Date: Tue, 3 Sep 2024 15:14:18 -0400 Subject: [PATCH 3/4] refactor(.env): remove .env file from PR --- .env | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.env b/.env index ddcab02c8..0102e354f 100644 --- a/.env +++ b/.env @@ -12,4 +12,5 @@ NEXT_PUBLIC_SENTRY_DSN=https://3f5bb9023ff0407299dd22a6454558f9@o450487248892723 # -------------- # For running the API local, use your devices localhost address: # -# NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/v2 \ No newline at end of file +# NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/v2 +# NEXT_PUBLIC_EXP_API_URL=http://127.0.0.1:3001/v2 From 87817ff984cd6978fb6f2bb686aa2476644bafeb Mon Sep 17 00:00:00 2001 From: Ryan Furrer Date: Tue, 3 Sep 2024 15:41:54 -0400 Subject: [PATCH 4/4] Update components/atoms/Select/single-select.tsx Co-authored-by: Nick Taylor --- components/atoms/Select/single-select.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/atoms/Select/single-select.tsx b/components/atoms/Select/single-select.tsx index 3a1f3b31e..ee2436d6e 100644 --- a/components/atoms/Select/single-select.tsx +++ b/components/atoms/Select/single-select.tsx @@ -60,7 +60,7 @@ const SingleSelect = ({