From 2e2d0c5b36c041f198c59fbf689033f12b9b9516 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Mon, 9 Oct 2023 09:41:31 +0530 Subject: [PATCH] fix: miscellaneous changes Signed-off-by: Pranav C --- packages/nc-gui/assets/nc-icons/owner.svg | 9 +- .../nc-gui/components/account/Profile.vue | 12 +- .../components/account/ResetPassword.vue | 20 +- .../components/account/SignupSettings.vue | 4 +- packages/nc-gui/components/account/Token.vue | 26 ++- .../nc-gui/components/account/UserList.vue | 30 +-- .../nc-gui/components/account/UsersModal.vue | 24 +-- .../nc-gui/components/api-client/Headers.vue | 6 +- .../nc-gui/components/api-client/Params.vue | 6 +- .../components/cell/attachment/index.vue | 11 +- .../dlg/share-and-collaborate/ShareBase.vue | 4 + packages/nc-gui/components/erd/TableNode.vue | 2 +- .../nc-gui/components/smartsheet/Kanban.vue | 183 ++++++++++++------ .../components/smartsheet/VirtualCell.vue | 2 - .../smartsheet/column/SelectOptions.vue | 4 +- .../components/smartsheet/details/Erd.vue | 9 +- .../components/smartsheet/details/Fields.vue | 11 +- .../smartsheet/expanded-form/index.vue | 17 +- .../components/smartsheet/grid/Table.vue | 52 ++++- .../smartsheet/toolbar/FieldsMenu.vue | 2 +- .../smartsheet/toolbar/ViewInfo.vue | 7 +- .../components/ListChildItems.vue | 1 + .../virtual-cell/components/ListItems.vue | 1 + .../composables/useExpandedFormStore.ts | 17 +- .../nc-gui/composables/useGlobal/state.ts | 2 +- .../nc-gui/composables/useGlobal/types.ts | 1 + packages/nc-gui/lib/types.ts | 1 + packages/nc-gui/plugins/a.i18n.ts | 10 +- packages/nc-gui/plugins/api.ts | 10 +- packages/nc-gui/plugins/state.ts | 2 +- packages/nc-gui/utils/colorsUtils.ts | 88 ++++----- packages/nocodb/src/db/BaseModelSqlv2.ts | 2 +- packages/nocodb/src/helpers/catchError.ts | 19 +- packages/nocodb/src/helpers/getAst.ts | 13 +- 34 files changed, 404 insertions(+), 204 deletions(-) diff --git a/packages/nc-gui/assets/nc-icons/owner.svg b/packages/nc-gui/assets/nc-icons/owner.svg index c2ad9a442f..effffd02de 100644 --- a/packages/nc-gui/assets/nc-icons/owner.svg +++ b/packages/nc-gui/assets/nc-icons/owner.svg @@ -1,9 +1,8 @@ - - + + - - - + + \ No newline at end of file diff --git a/packages/nc-gui/components/account/Profile.vue b/packages/nc-gui/components/account/Profile.vue index ab5406de74..c695c6813e 100644 --- a/packages/nc-gui/components/account/Profile.vue +++ b/packages/nc-gui/components/account/Profile.vue @@ -63,10 +63,10 @@ const onValidate = async (_: any, valid: boolean) => { diff --git a/packages/nc-gui/components/account/Token.vue b/packages/nc-gui/components/account/Token.vue index f9378b5052..4e665c30ab 100644 --- a/packages/nc-gui/components/account/Token.vue +++ b/packages/nc-gui/components/account/Token.vue @@ -163,7 +163,7 @@ const handleCancel = () => {
-
{{ $t('title.apiTokens') }}
+
{{ $t('title.apiTokens') }}
{ tooltip="bottom" @click="showNewTokenModal = true" > -
- {{ $t('msg.apiTokenCreate') }} + {{ $t('msg.apiTokenCreate') }}
- {{ $t('title.tokenName') }} - {{ $t('title.creator') }} - {{ $t('labels.token') }} - {{ $t('labels.actions') }} + {{ $t('title.tokenName') }} + {{ + $t('title.creator') + }} + {{ + $t('labels.token') + }} + {{ + $t('labels.actions') + }}
@@ -212,7 +218,9 @@ const handleCancel = () => { data-testid="nc-token-input" @press-enter="generateToken" /> - {{ errorMessage }} + {{ errorMessage }} +
diff --git a/packages/nc-gui/components/account/UserList.vue b/packages/nc-gui/components/account/UserList.vue index e7323f8fc8..4d29a0ed5e 100644 --- a/packages/nc-gui/components/account/UserList.vue +++ b/packages/nc-gui/components/account/UserList.vue @@ -155,7 +155,7 @@ const openDeleteModal = (user: UserType) => {