From f2425889920317684deba11ebd0586afe8f41526 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Fri, 19 Aug 2022 17:57:46 +0530 Subject: [PATCH] refactor(gui-v2): add view menu and move items Signed-off-by: Pranav C --- .../smartsheet-toolbar/ViewActions.vue | 359 ++++++++++++++++++ .../components/smartsheet/Toolbar.vue | 24 +- .../smartsheet/sidebar/MenuBottom.vue | 37 +- .../components/smartsheet/sidebar/MenuTop.vue | 2 +- .../smartsheet/sidebar/toolbar/index.vue | 16 +- .../nc-gui-v2/components/tabs/Smartsheet.vue | 9 +- 6 files changed, 419 insertions(+), 28 deletions(-) create mode 100644 packages/nc-gui-v2/components/smartsheet-toolbar/ViewActions.vue diff --git a/packages/nc-gui-v2/components/smartsheet-toolbar/ViewActions.vue b/packages/nc-gui-v2/components/smartsheet-toolbar/ViewActions.vue new file mode 100644 index 0000000000..65282a36d0 --- /dev/null +++ b/packages/nc-gui-v2/components/smartsheet-toolbar/ViewActions.vue @@ -0,0 +1,359 @@ + + + diff --git a/packages/nc-gui-v2/components/smartsheet/Toolbar.vue b/packages/nc-gui-v2/components/smartsheet/Toolbar.vue index 7f7a7718e7..5fa555fd46 100644 --- a/packages/nc-gui-v2/components/smartsheet/Toolbar.vue +++ b/packages/nc-gui-v2/components/smartsheet/Toolbar.vue @@ -1,13 +1,21 @@ diff --git a/packages/nc-gui-v2/components/smartsheet/sidebar/MenuBottom.vue b/packages/nc-gui-v2/components/smartsheet/sidebar/MenuBottom.vue index 53608f516a..2824c14d31 100644 --- a/packages/nc-gui-v2/components/smartsheet/sidebar/MenuBottom.vue +++ b/packages/nc-gui-v2/components/smartsheet/sidebar/MenuBottom.vue @@ -109,24 +109,25 @@ function onOpenModal(type: ViewTypes, title = '') { - - -
- - - -
+
+ + + + + + + + + + + + + + + + + + - + + + +