From 762dc8fbae9f90ddc2c10b1443aa2ed396c185cb Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 27 Jul 2022 21:39:10 +0530 Subject: [PATCH] feat(gui-v2): add column add option in smartsheet grid view Signed-off-by: Pranav C --- .../smartsheet-column/AdvancedOptions.vue | 167 ++++-------------- .../components/smartsheet-header/Cell.vue | 85 --------- .../components/smartsheet-header/Menu.vue | 6 +- .../nc-gui-v2/components/smartsheet/Grid.vue | 15 +- packages/nc-gui-v2/composables/useProject.ts | 4 +- 5 files changed, 50 insertions(+), 227 deletions(-) diff --git a/packages/nc-gui-v2/components/smartsheet-column/AdvancedOptions.vue b/packages/nc-gui-v2/components/smartsheet-column/AdvancedOptions.vue index 307d847da4..4fe9342831 100644 --- a/packages/nc-gui-v2/components/smartsheet-column/AdvancedOptions.vue +++ b/packages/nc-gui-v2/components/smartsheet-column/AdvancedOptions.vue @@ -1,160 +1,57 @@ diff --git a/packages/nc-gui-v2/components/smartsheet-header/Cell.vue b/packages/nc-gui-v2/components/smartsheet-header/Cell.vue index efb71e58aa..652b617601 100644 --- a/packages/nc-gui-v2/components/smartsheet-header/Cell.vue +++ b/packages/nc-gui-v2/components/smartsheet-header/Cell.vue @@ -74,93 +74,8 @@ export default { {{ column.title }} - -
-
diff --git a/packages/nc-gui-v2/components/smartsheet-header/Menu.vue b/packages/nc-gui-v2/components/smartsheet-header/Menu.vue index d3b53109cc..ee06573e9e 100644 --- a/packages/nc-gui-v2/components/smartsheet-header/Menu.vue +++ b/packages/nc-gui-v2/components/smartsheet-header/Menu.vue @@ -4,11 +4,11 @@ import MdiStarIcon from '~icons/mdi/star' import MdiDeleteIcon from '~icons/mdi/delete-outline' import MdiMenuDownIcon from '~icons/mdi/menu-down' -const editCellDropdown = $ref(false) +const editColumnDropdown = $ref(false)