From d502f4a206a0ea9d34c6360fbc9c03e86da97adc Mon Sep 17 00:00:00 2001 From: Nahidujjaman Hridoy Date: Thu, 7 May 2026 17:49:16 +0600 Subject: [PATCH] fix: ui responsiveness for mobile, tab and desktop screens Signed-off-by: Nahidujjaman Hridoy --- .vscode/settings.json | 3 + .../general/generic/save-git-provider.tsx | 175 +++++++++--------- .../dashboard/application/general/show.tsx | 11 +- .../components/shared/advance-breadcrumb.tsx | 10 +- apps/dokploy/components/ui/button.tsx | 1 + 5 files changed, 100 insertions(+), 100 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 99357f236..463ce8e24 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,5 +4,8 @@ "editor.codeActionsOnSave": { "source.fixAll.biome": "explicit", "source.organizeImports.biome": "explicit" + }, + "[typescript]": { + "editor.defaultFormatter": "biomejs.biome" } } diff --git a/apps/dokploy/components/dashboard/application/general/generic/save-git-provider.tsx b/apps/dokploy/components/dashboard/application/general/generic/save-git-provider.tsx index cb3190e0b..c149a4ba7 100644 --- a/apps/dokploy/components/dashboard/application/general/generic/save-git-provider.tsx +++ b/apps/dokploy/components/dashboard/application/general/generic/save-git-provider.tsx @@ -107,110 +107,103 @@ export const SaveGitProvider = ({ applicationId }: Props) => { return (
- -
-
-
- ( - -
- Repository URL - {field.value?.startsWith("https://") && ( - - - View Repository - - )} -
- - - - -
- )} - /> -
- {sshKeys && sshKeys.length > 0 ? ( - ( - - - SSH Key - - - - - - - )} - /> - ) : ( - + +
+ ( + +
+ Repository URL + {field.value?.startsWith("https://") && ( + + + View Repository + + )} +
+ + + + +
)} -
-
+ /> + {sshKeys && sshKeys.length > 0 ? ( ( - - Branch + + + SSH Key + + - + - )} /> -
+ ) : ( + + )} + + ( + + Branch + + + + + + )} + /> ( - + Build Path @@ -223,7 +216,7 @@ export const SaveGitProvider = ({ applicationId }: Props) => { control={form.control} name="watchPaths" render={({ field }) => ( - +
Watch Paths diff --git a/apps/dokploy/components/dashboard/application/general/show.tsx b/apps/dokploy/components/dashboard/application/general/show.tsx index 01fc9e84a..faf887e3f 100644 --- a/apps/dokploy/components/dashboard/application/general/show.tsx +++ b/apps/dokploy/components/dashboard/application/general/show.tsx @@ -58,7 +58,10 @@ export const ShowGeneralApplication = ({ applicationId }: Props) => { Deploy Settings - + {canDeploy && ( { > {canUpdateService && ( -
+
Autodeploy { )} {canUpdateService && ( -
+
Clean Cache { className="h-auto px-2 py-1.5 hover:bg-accent gap-2" > - + {currentProject?.name || "Select Project"} @@ -478,7 +478,7 @@ export const AdvanceBreadcrumb = () => { aria-expanded={environmentOpen} className="h-auto px-2 py-1.5 hover:bg-accent gap-2" > - + {currentEnvironment?.name || "production"} @@ -533,7 +533,7 @@ export const AdvanceBreadcrumb = () => { )} {projectEnvironments && projectEnvironments.length === 1 && ( -

+

{currentEnvironment?.name || "production"}

)} @@ -551,7 +551,7 @@ export const AdvanceBreadcrumb = () => { className="h-auto px-2 py-1.5 hover:bg-accent gap-2" > {getServiceIcon(currentService.type)} - + {currentService.name} @@ -617,7 +617,7 @@ export const AdvanceBreadcrumb = () => {