From fea18145c793115b1f00ad2b6ea6770714cfacf3 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Wed, 28 Aug 2024 09:22:57 +0530 Subject: [PATCH] Nc fix/UI misc changes (#9354) * fix(nc-gui): barcode & rollup cell icon stroke issue * fix(nc-gui): update single select icon * fix(nc-gui): update `id:` => `FIELD ID:` * fix(nc-gui): description icon alignment * fix(nc-gui): field copy id hover effect * fix(nc-gui): update mfe test case * fix(nc-gui): update duration icon * fix(nc-gui): udpate year icon --- .../nc-gui/assets/nc-icons/cell-duration.svg | 14 ++--- .../nc-gui/assets/nc-icons/cell-select.svg | 6 +-- packages/nc-gui/assets/nc-icons/cell-year.svg | 7 +++ .../components/smartsheet/details/Fields.vue | 32 +++++++----- .../components/smartsheet/header/Cell.vue | 4 +- .../components/smartsheet/header/CellIcon.ts | 2 +- .../components/smartsheet/header/Menu.vue | 51 ++++++++++--------- packages/nc-gui/lang/en.json | 2 +- packages/nc-gui/utils/columnUtils.ts | 2 +- packages/nc-gui/utils/iconUtils.ts | 6 ++- .../pages/Dashboard/Details/FieldsPage.ts | 3 +- 11 files changed, 75 insertions(+), 54 deletions(-) create mode 100644 packages/nc-gui/assets/nc-icons/cell-year.svg diff --git a/packages/nc-gui/assets/nc-icons/cell-duration.svg b/packages/nc-gui/assets/nc-icons/cell-duration.svg index d8e5fe8372..9cb00126f3 100644 --- a/packages/nc-gui/assets/nc-icons/cell-duration.svg +++ b/packages/nc-gui/assets/nc-icons/cell-duration.svg @@ -1,7 +1,7 @@ - - - - - - - + + + + + + + \ No newline at end of file diff --git a/packages/nc-gui/assets/nc-icons/cell-select.svg b/packages/nc-gui/assets/nc-icons/cell-select.svg index a19b1801e6..de0ee72293 100644 --- a/packages/nc-gui/assets/nc-icons/cell-select.svg +++ b/packages/nc-gui/assets/nc-icons/cell-select.svg @@ -1,4 +1,4 @@ - - - + + + diff --git a/packages/nc-gui/assets/nc-icons/cell-year.svg b/packages/nc-gui/assets/nc-icons/cell-year.svg new file mode 100644 index 0000000000..76d0f60e4e --- /dev/null +++ b/packages/nc-gui/assets/nc-icons/cell-year.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/packages/nc-gui/components/smartsheet/details/Fields.vue b/packages/nc-gui/components/smartsheet/details/Fields.vue index ea38c5bc07..8895463129 100644 --- a/packages/nc-gui/components/smartsheet/details/Fields.vue +++ b/packages/nc-gui/components/smartsheet/details/Fields.vue @@ -1203,15 +1203,19 @@ watch(
-
-
{{ $t('labels.idColon') }}
-
- {{ field.id }} -
+
+ {{ + $t('labels.idColon', { + fieldId: field.id, + }) + }}
@@ -1384,15 +1388,19 @@ watch(
-
-
{{ $t('labels.idColon') }}
-
- {{ displayColumn.id }} -
+
+ {{ + $t('labels.idColon', { + fieldId: displayColumn.id, + }) + }}
diff --git a/packages/nc-gui/components/smartsheet/header/Cell.vue b/packages/nc-gui/components/smartsheet/header/Cell.vue index 780f94e071..78eb5938f3 100644 --- a/packages/nc-gui/components/smartsheet/header/Cell.vue +++ b/packages/nc-gui/components/smartsheet/header/Cell.vue @@ -192,11 +192,11 @@ const onClick = (e: Event) => { }" />
- + - +