From 9b6cbd0e6ef8f34eae75ee9c6b8370d041b7c41f Mon Sep 17 00:00:00 2001 From: tekhunt Date: Mon, 28 Aug 2023 12:33:27 +0100 Subject: [PATCH 1/3] trim connect url input string --- .../src/components/frame/presentations/ServerConnectFrame.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/frame/presentations/ServerConnectFrame.jsx b/frontend/src/components/frame/presentations/ServerConnectFrame.jsx index 514ac261..07576e20 100644 --- a/frontend/src/components/frame/presentations/ServerConnectFrame.jsx +++ b/frontend/src/components/frame/presentations/ServerConnectFrame.jsx @@ -68,7 +68,7 @@ const ServerConnectFrame = ({ dispatch(addAlert('ErrorServerConnectFail', response.error.message)); } }); - + const normalizeTrim = (value) => (value ? value.trim() : value); return ( - + From 4f876486a4208fd71585b5c3def2ee5e9ed8f96e Mon Sep 17 00:00:00 2001 From: tekhunt Date: Thu, 7 Sep 2023 08:25:09 +0100 Subject: [PATCH 2/3] trim the leading and trailing spaces in connect urls --- .../src/components/frame/presentations/ServerConnectFrame.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/frame/presentations/ServerConnectFrame.jsx b/frontend/src/components/frame/presentations/ServerConnectFrame.jsx index 07576e20..35e74bd0 100644 --- a/frontend/src/components/frame/presentations/ServerConnectFrame.jsx +++ b/frontend/src/components/frame/presentations/ServerConnectFrame.jsx @@ -90,7 +90,7 @@ const ServerConnectFrame = ({ - + From fac5c2bb2b38a92eda9864708e3fe4f9a5ff1ff4 Mon Sep 17 00:00:00 2001 From: tekhunt Date: Fri, 8 Sep 2023 22:13:00 +0100 Subject: [PATCH 3/3] trim database name input field --- .../src/components/frame/presentations/ServerConnectFrame.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/frame/presentations/ServerConnectFrame.jsx b/frontend/src/components/frame/presentations/ServerConnectFrame.jsx index 35e74bd0..57713d69 100644 --- a/frontend/src/components/frame/presentations/ServerConnectFrame.jsx +++ b/frontend/src/components/frame/presentations/ServerConnectFrame.jsx @@ -93,7 +93,7 @@ const ServerConnectFrame = ({ - +