From 834cd760dca17cc70892660389ecb70dab960d82 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Tue, 27 Jan 2026 11:47:14 +0000 Subject: [PATCH] fix: some ui changes --- .../components/dlg/ConvertToManagedApp.vue | 2 +- packages/nc-gui/components/nc/Modal.vue | 2 +- .../smartsheet/topbar/ManagedAppModal.vue | 87 +++++++------------ .../topbar/ManagedAppStatus/MenuItem.vue | 2 +- .../topbar/ManagedAppStatus/index.vue | 69 ++++++++++----- .../ManagedAppVersionDeploymentsModal.vue | 6 +- packages/nc-gui/store/base.ts | 6 ++ packages/nc-gui/utils/baseUtils.ts | 17 ++++ packages/nocodb-sdk/src/lib/dateTimeHelper.ts | 11 ++- 9 files changed, 112 insertions(+), 90 deletions(-) diff --git a/packages/nc-gui/components/dlg/ConvertToManagedApp.vue b/packages/nc-gui/components/dlg/ConvertToManagedApp.vue index 383415e633..d803ae517f 100644 --- a/packages/nc-gui/components/dlg/ConvertToManagedApp.vue +++ b/packages/nc-gui/components/dlg/ConvertToManagedApp.vue @@ -127,7 +127,7 @@ watch(visible, (isVisible) => { size="sm" height="auto" centered - wrap-class-name="nc-modal-convert-to-managed-app " + wrap-class-name="nc-modal-convert-to-managed-app" nc-modal-class-name="!p-0" >
diff --git a/packages/nc-gui/components/nc/Modal.vue b/packages/nc-gui/components/nc/Modal.vue index 7bcd3dc6b1..253bbd30aa 100644 --- a/packages/nc-gui/components/nc/Modal.vue +++ b/packages/nc-gui/components/nc/Modal.vue @@ -149,7 +149,7 @@ if (stopEventPropogation.value) {
@@ -256,7 +246,7 @@ watch(
-
+
-
- -
-
-
{{ deploymentStats.statistics?.totalDeployments || 0 }}
-
Total Installs
-
+
{{ deploymentStats.statistics?.totalDeployments || 0 }}
+
Total Installs
-
- -
-
-
{{ deploymentStats.statistics?.activeDeployments || 0 }}
-
Active
-
+
{{ deploymentStats.statistics?.activeDeployments || 0 }}
+
Active
-
- -
-
-
{{ deploymentStats.statistics?.failedDeployments || 0 }}
-
Failed
-
+
{{ deploymentStats.statistics?.failedDeployments || 0 }}
+
Failed
-
- -
-
-
{{ deploymentStats.statistics?.totalVersions || 0 }}
-
Versions
-
+
{{ deploymentStats.statistics?.totalVersions || 0 }}
+
Versions
@@ -545,7 +515,7 @@ watch( // Deployments Tab Styles .nc-deployments-content { - @apply p-6; + @apply px-6 pb-6; } .nc-deployments-loading { @@ -553,11 +523,11 @@ watch( } .nc-deployment-stats { - @apply grid grid-cols-4 gap-4 mb-6; + @apply grid grid-cols-4 mb-6; } .nc-stat-card { - @apply bg-nc-bg-gray-extralight border-1 border-nc-border-gray-light rounded-xl p-4 transition-all duration-200 hover:(border-nc-border-gray-medium shadow-hover); + @apply flex flex-col gap-1 items-center justify-center border-r-1 border-nc-border-gray-light last:border-r-0 p-4; } .nc-stat-icon-wrapper { @@ -569,11 +539,11 @@ watch( } .nc-stat-value { - @apply text-3xl font-bold text-nc-content-gray-emphasis leading-none; + @apply text-subHeading1 font-normal; } .nc-stat-label { - @apply text-xs font-medium text-nc-content-gray-subtle2 uppercase tracking-wide; + @apply text-captionSm text-nc-content-gray-muted uppercase; } .nc-version-list-wrapper { @@ -713,5 +683,10 @@ watch( diff --git a/packages/nc-gui/components/smartsheet/topbar/ManagedAppStatus/MenuItem.vue b/packages/nc-gui/components/smartsheet/topbar/ManagedAppStatus/MenuItem.vue index f8f6e02b08..ec297295bc 100644 --- a/packages/nc-gui/components/smartsheet/topbar/ManagedAppStatus/MenuItem.vue +++ b/packages/nc-gui/components/smartsheet/topbar/ManagedAppStatus/MenuItem.vue @@ -1,6 +1,6 @@