From 119d159beb85f4dc44952bf1e314dcccc3e06541 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Tue, 13 May 2025 23:16:57 +0530 Subject: [PATCH 01/12] feat: remove auto rotation tab --- src/components/proxy/ProxyForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/proxy/ProxyForm.tsx b/src/components/proxy/ProxyForm.tsx index 36dfa0b6..1e31a566 100644 --- a/src/components/proxy/ProxyForm.tsx +++ b/src/components/proxy/ProxyForm.tsx @@ -167,7 +167,7 @@ const ProxyForm: React.FC = () => { - + {/* */} {tabIndex === 0 && ( From 7b57b6692d3b5ed366ccef485b10e349b1650da7 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Tue, 13 May 2025 23:20:37 +0530 Subject: [PATCH 02/12] feat: remove auto rotation tab --- src/components/proxy/ProxyForm.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/proxy/ProxyForm.tsx b/src/components/proxy/ProxyForm.tsx index 1e31a566..f4119385 100644 --- a/src/components/proxy/ProxyForm.tsx +++ b/src/components/proxy/ProxyForm.tsx @@ -167,7 +167,6 @@ const ProxyForm: React.FC = () => { - {/* */} {tabIndex === 0 && ( From 9de081bdc34eb61a4d60596c8fdc40c94b8b7d6c Mon Sep 17 00:00:00 2001 From: amhsirak Date: Tue, 13 May 2025 23:21:13 +0530 Subject: [PATCH 03/12] feat: remove tabIndex=1 --- src/components/proxy/ProxyForm.tsx | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/components/proxy/ProxyForm.tsx b/src/components/proxy/ProxyForm.tsx index f4119385..e2db4f4d 100644 --- a/src/components/proxy/ProxyForm.tsx +++ b/src/components/proxy/ProxyForm.tsx @@ -255,23 +255,6 @@ const ProxyForm: React.FC = () => { ))} - {tabIndex === 1 && ( - - <> - - {t('proxy.coming_soon')} - - - {/* - - - )} From b2f562f00dde6885fb49a9504e532e2de5e5a976 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Tue, 13 May 2025 23:22:01 +0530 Subject: [PATCH 04/12] chore: remove unused var --- src/components/proxy/ProxyForm.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/proxy/ProxyForm.tsx b/src/components/proxy/ProxyForm.tsx index e2db4f4d..f3869ead 100644 --- a/src/components/proxy/ProxyForm.tsx +++ b/src/components/proxy/ProxyForm.tsx @@ -157,7 +157,6 @@ const ProxyForm: React.FC = () => { }, []); const theme = useThemeMode(); - const isDarkMode = theme.darkMode; return ( <> From b5cafdaee63e9dd95f68deb82dcaed3a836896f1 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Tue, 13 May 2025 23:24:23 +0530 Subject: [PATCH 05/12] feat: set margin bottom --- src/components/proxy/ProxyForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/proxy/ProxyForm.tsx b/src/components/proxy/ProxyForm.tsx index f3869ead..cc002114 100644 --- a/src/components/proxy/ProxyForm.tsx +++ b/src/components/proxy/ProxyForm.tsx @@ -164,7 +164,7 @@ const ProxyForm: React.FC = () => { {t('proxy.title')} - + From 5563c33ee5beab24c34b32884947814ffe6f9fb9 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Tue, 13 May 2025 23:26:15 +0530 Subject: [PATCH 06/12] chore: remove unused var --- src/components/proxy/ProxyForm.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/proxy/ProxyForm.tsx b/src/components/proxy/ProxyForm.tsx index cc002114..4df445e2 100644 --- a/src/components/proxy/ProxyForm.tsx +++ b/src/components/proxy/ProxyForm.tsx @@ -156,8 +156,6 @@ const ProxyForm: React.FC = () => { fetchProxyConfig(); }, []); - const theme = useThemeMode(); - return ( <> From 7ae014ae0bf576b816e2fab903298faf89fce33e Mon Sep 17 00:00:00 2001 From: amhsirak Date: Tue, 13 May 2025 23:28:19 +0530 Subject: [PATCH 07/12] feat: wrap helperText in span --- src/components/proxy/ProxyForm.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/proxy/ProxyForm.tsx b/src/components/proxy/ProxyForm.tsx index 4df445e2..a4d5111e 100644 --- a/src/components/proxy/ProxyForm.tsx +++ b/src/components/proxy/ProxyForm.tsx @@ -203,7 +203,11 @@ const ProxyForm: React.FC = () => { fullWidth required error={!!errors.server_url} - helperText={errors.server_url || t('proxy.server_url_helper')} + helperText={ + + {errors.server_url || t('proxy.server_url_helper')} + + } /> From 2b1bd85802bd97aca134e47251f6958b78577e2d Mon Sep 17 00:00:00 2001 From: amhsirak Date: Tue, 13 May 2025 23:29:51 +0530 Subject: [PATCH 08/12] feat: set display block --- src/components/proxy/ProxyForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/proxy/ProxyForm.tsx b/src/components/proxy/ProxyForm.tsx index a4d5111e..8c182a77 100644 --- a/src/components/proxy/ProxyForm.tsx +++ b/src/components/proxy/ProxyForm.tsx @@ -204,7 +204,7 @@ const ProxyForm: React.FC = () => { required error={!!errors.server_url} helperText={ - + {errors.server_url || t('proxy.server_url_helper')} } From fa7b68537e0630b91261e1a084417018f5cb863c Mon Sep 17 00:00:00 2001 From: amhsirak Date: Tue, 13 May 2025 23:30:16 +0530 Subject: [PATCH 09/12] feat: set margin top --- src/components/proxy/ProxyForm.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/proxy/ProxyForm.tsx b/src/components/proxy/ProxyForm.tsx index 8c182a77..7aa20175 100644 --- a/src/components/proxy/ProxyForm.tsx +++ b/src/components/proxy/ProxyForm.tsx @@ -162,7 +162,7 @@ const ProxyForm: React.FC = () => { {t('proxy.title')} - + @@ -204,7 +204,7 @@ const ProxyForm: React.FC = () => { required error={!!errors.server_url} helperText={ - + {errors.server_url || t('proxy.server_url_helper')} } From a4578678e11fda9b7941c131c3131a5b36c7f9cc Mon Sep 17 00:00:00 2001 From: amhsirak Date: Tue, 13 May 2025 23:32:39 +0530 Subject: [PATCH 10/12] feat: set maxWidth to 500 --- src/components/proxy/ProxyForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/proxy/ProxyForm.tsx b/src/components/proxy/ProxyForm.tsx index 7aa20175..2d4a4507 100644 --- a/src/components/proxy/ProxyForm.tsx +++ b/src/components/proxy/ProxyForm.tsx @@ -193,7 +193,7 @@ const ProxyForm: React.FC = () => { ) : ( - + Date: Thu, 15 May 2025 19:48:20 +0530 Subject: [PATCH 11/12] fix: make title more idiomatic --- public/locales/en.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/locales/en.json b/public/locales/en.json index ee2e2e92..ae535eab 100644 --- a/public/locales/en.json +++ b/public/locales/en.json @@ -113,7 +113,7 @@ "coming_soon": "Coming Soon - In Open Source (Basic Rotation) & Cloud (Advanced Rotation). If you don't want to manage the infrastructure, join our cloud waitlist to get early access.", "join_waitlist": "Join Maxun Cloud Waitlist", "alert": { - "title": "If your proxy requires a username and password, always provide them separately from the proxy URL.", + "title": "If your proxy requires a username and password, always provide them separate from the proxy URL.", "right_way": "The right way", "wrong_way": "The wrong way", "proxy_url": "Proxy URL:", From ca803d9d82f278adc04673eb1338cf8422992637 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Thu, 15 May 2025 19:50:49 +0530 Subject: [PATCH 12/12] feat: remove border --- src/components/proxy/ProxyForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/proxy/ProxyForm.tsx b/src/components/proxy/ProxyForm.tsx index 2d4a4507..30fdfcb4 100644 --- a/src/components/proxy/ProxyForm.tsx +++ b/src/components/proxy/ProxyForm.tsx @@ -258,7 +258,7 @@ const ProxyForm: React.FC = () => { ))} - + {t('proxy.alert.title')}
{t('proxy.alert.right_way')}