From 39d89f2b81ba7b8b8990b984e4f690dafcc55e58 Mon Sep 17 00:00:00 2001 From: sreehari jayaraj Date: Fri, 8 Sep 2023 19:51:55 +0530 Subject: [PATCH 1/8] fix: sync create base design and edit base design --- .../dashboard/settings/data-sources/EditBase.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/packages/nc-gui/components/dashboard/settings/data-sources/EditBase.vue b/packages/nc-gui/components/dashboard/settings/data-sources/EditBase.vue index ee37780f71..60b94b68aa 100644 --- a/packages/nc-gui/components/dashboard/settings/data-sources/EditBase.vue +++ b/packages/nc-gui/components/dashboard/settings/data-sources/EditBase.vue @@ -628,6 +628,17 @@ onMounted(async () => { + + + +
+
{{ t('msg.info.dbConnected') }}
+
+ {{ $t('general.cancel') }} + Ok & Add Base +
+
+
diff --git a/packages/nc-gui/components/smartsheet/toolbar/SearchData.vue b/packages/nc-gui/components/smartsheet/toolbar/SearchData.vue index 4c766f0a2a..498e7eb627 100644 --- a/packages/nc-gui/components/smartsheet/toolbar/SearchData.vue +++ b/packages/nc-gui/components/smartsheet/toolbar/SearchData.vue @@ -124,7 +124,7 @@ watchDebounced( :style="{ width: '10rem', }" - :placeholder="$t('general.search')" + :placeholder="`${$t('general.search')} in ${columns?.find((column) => column.value === search.field)?.label}`" :bordered="false" data-testid="search-data-input" @press-enter="onPressEnter" diff --git a/packages/nc-gui/components/smartsheet/toolbar/SortListMenu.vue b/packages/nc-gui/components/smartsheet/toolbar/SortListMenu.vue index 4775ef572d..5d4bde68e1 100644 --- a/packages/nc-gui/components/smartsheet/toolbar/SortListMenu.vue +++ b/packages/nc-gui/components/smartsheet/toolbar/SortListMenu.vue @@ -17,7 +17,7 @@ import { watch, } from '#imports' -import ListIcon from '~icons/nc-icons/list' +import SortIcon from '~icons/nc-icons/sort' const meta = inject(MetaInj, ref()) const view = inject(ActiveViewInj, ref()) @@ -109,15 +109,15 @@ watch(open, () => { - + {{ $t('labels.serverCA') }} - + @@ -585,11 +585,11 @@ watch( /> - +
-
+ @@ -614,10 +614,10 @@ watch(
- + {{ $t('activity.editConnJson') }} - +
@@ -626,13 +626,19 @@ watch(
- + {{ $t('activity.testDbConn') }} - - - + + + {{ $t('general.submit') }} - +
diff --git a/packages/nc-gui/components/dashboard/settings/data-sources/EditBase.vue b/packages/nc-gui/components/dashboard/settings/data-sources/EditBase.vue index 941518dffc..0e27b15088 100644 --- a/packages/nc-gui/components/dashboard/settings/data-sources/EditBase.vue +++ b/packages/nc-gui/components/dashboard/settings/data-sources/EditBase.vue @@ -489,9 +489,9 @@ onMounted(async () => { {{ $t('tooltip.clientCert') }} - + {{ $t('labels.clientCert') }} - + @@ -499,9 +499,9 @@ onMounted(async () => { - + {{ $t('labels.clientKey') }} - + @@ -510,9 +510,9 @@ onMounted(async () => { {{ $t('tooltip.clientCA') }} - + {{ $t('labels.serverCA') }} - + @@ -543,9 +543,9 @@ onMounted(async () => { /> - +
-
+ From a8702d5c4666c611e4c27cb232bf0f9fa40979fa Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Mon, 11 Sep 2023 23:27:59 +0530 Subject: [PATCH 6/8] fix: search case sensitive --- packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue b/packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue index 47b92ae161..5e82426ca9 100644 --- a/packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue +++ b/packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue @@ -386,7 +386,7 @@ useMenuCloseOnEsc(open)