From 6846e0e5a33e0e32b248283f361993005e0f6fc6 Mon Sep 17 00:00:00 2001 From: Ali Issa Date: Mon, 3 Mar 2025 06:45:36 -0500 Subject: [PATCH] feat: reorganize project view tabs into logical workflow groups #1261 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Restructure the project view tabs to follow a more intuitive user journey: - Group tabs into "Initial Setup", "Deployment", and "Monitoring" sections - Maintain "Advanced" as a standalone option - Order tabs to match typical project workflow (configuration → deployment → monitoring) This reorganization reduces cognitive load by grouping related functions, minimizes tab switching during common tasks, and provides a clearer mental model of the platform's workflow for new users. --- .../services/application/[applicationId].tsx | 12 ++++++------ .../[projectId]/services/compose/[composeId].tsx | 6 +++--- .../[projectId]/services/mariadb/[mariadbId].tsx | 2 +- .../project/[projectId]/services/mongo/[mongoId].tsx | 2 +- .../project/[projectId]/services/mysql/[mysqlId].tsx | 2 +- .../[projectId]/services/postgres/[postgresId].tsx | 2 +- .../project/[projectId]/services/redis/[redisId].tsx | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/apps/dokploy/pages/dashboard/project/[projectId]/services/application/[applicationId].tsx b/apps/dokploy/pages/dashboard/project/[projectId]/services/application/[applicationId].tsx index 94b8f5f5d..cff3a8db2 100644 --- a/apps/dokploy/pages/dashboard/project/[projectId]/services/application/[applicationId].tsx +++ b/apps/dokploy/pages/dashboard/project/[projectId]/services/application/[applicationId].tsx @@ -228,15 +228,15 @@ const Service = ( > General Environment - {((data?.serverId && isCloud) || !data?.server) && ( - Monitoring - )} - Logs - Deployments + Domains Preview Deployments - Domains + Deployments + Logs + {((data?.serverId && isCloud) || !data?.server) && ( + Monitoring + )} Advanced diff --git a/apps/dokploy/pages/dashboard/project/[projectId]/services/compose/[composeId].tsx b/apps/dokploy/pages/dashboard/project/[projectId]/services/compose/[composeId].tsx index 46b727d2a..86be791b6 100644 --- a/apps/dokploy/pages/dashboard/project/[projectId]/services/compose/[composeId].tsx +++ b/apps/dokploy/pages/dashboard/project/[projectId]/services/compose/[composeId].tsx @@ -224,12 +224,12 @@ const Service = ( > General Environment + Domains + Deployments + Logs {((data?.serverId && isCloud) || !data?.server) && ( Monitoring )} - Logs - Deployments - Domains Advanced diff --git a/apps/dokploy/pages/dashboard/project/[projectId]/services/mariadb/[mariadbId].tsx b/apps/dokploy/pages/dashboard/project/[projectId]/services/mariadb/[mariadbId].tsx index e91e0978d..d3930bbcf 100644 --- a/apps/dokploy/pages/dashboard/project/[projectId]/services/mariadb/[mariadbId].tsx +++ b/apps/dokploy/pages/dashboard/project/[projectId]/services/mariadb/[mariadbId].tsx @@ -197,11 +197,11 @@ const Mariadb = ( > General Environment + Logs {((data?.serverId && isCloud) || !data?.server) && ( Monitoring )} Backups - Logs Advanced diff --git a/apps/dokploy/pages/dashboard/project/[projectId]/services/mongo/[mongoId].tsx b/apps/dokploy/pages/dashboard/project/[projectId]/services/mongo/[mongoId].tsx index b10b7b93d..4bc1d0ce8 100644 --- a/apps/dokploy/pages/dashboard/project/[projectId]/services/mongo/[mongoId].tsx +++ b/apps/dokploy/pages/dashboard/project/[projectId]/services/mongo/[mongoId].tsx @@ -198,11 +198,11 @@ const Mongo = ( > General Environment + Logs {((data?.serverId && isCloud) || !data?.server) && ( Monitoring )} Backups - Logs Advanced diff --git a/apps/dokploy/pages/dashboard/project/[projectId]/services/mysql/[mysqlId].tsx b/apps/dokploy/pages/dashboard/project/[projectId]/services/mysql/[mysqlId].tsx index 261a2762b..5440fc5e0 100644 --- a/apps/dokploy/pages/dashboard/project/[projectId]/services/mysql/[mysqlId].tsx +++ b/apps/dokploy/pages/dashboard/project/[projectId]/services/mysql/[mysqlId].tsx @@ -200,13 +200,13 @@ const MySql = ( Environment + Logs {((data?.serverId && isCloud) || !data?.server) && ( Monitoring )} Backups - Logs Advanced diff --git a/apps/dokploy/pages/dashboard/project/[projectId]/services/postgres/[postgresId].tsx b/apps/dokploy/pages/dashboard/project/[projectId]/services/postgres/[postgresId].tsx index 5d8fd3b1b..635f8b4e8 100644 --- a/apps/dokploy/pages/dashboard/project/[projectId]/services/postgres/[postgresId].tsx +++ b/apps/dokploy/pages/dashboard/project/[projectId]/services/postgres/[postgresId].tsx @@ -197,11 +197,11 @@ const Postgresql = ( > General Environment + Logs {((data?.serverId && isCloud) || !data?.server) && ( Monitoring )} Backups - Logs Advanced diff --git a/apps/dokploy/pages/dashboard/project/[projectId]/services/redis/[redisId].tsx b/apps/dokploy/pages/dashboard/project/[projectId]/services/redis/[redisId].tsx index c4f40281f..c7084d527 100644 --- a/apps/dokploy/pages/dashboard/project/[projectId]/services/redis/[redisId].tsx +++ b/apps/dokploy/pages/dashboard/project/[projectId]/services/redis/[redisId].tsx @@ -197,10 +197,10 @@ const Redis = ( > General Environment + Logs {((data?.serverId && isCloud) || !data?.server) && ( Monitoring )} - Logs Advanced