From fad3707f180cd05f1be37a112b78c74dc8d27939 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Thu, 28 Jul 2022 20:09:38 +0530 Subject: [PATCH] wip(gui-v2): share view list Signed-off-by: Pranav C --- .../smartsheet-toolbar/MoreActions.vue | 76 +++++++++------- .../smartsheet-toolbar/SharedViewList.vue | 89 +++++++++++++++++++ 2 files changed, 131 insertions(+), 34 deletions(-) create mode 100644 packages/nc-gui-v2/components/smartsheet-toolbar/SharedViewList.vue diff --git a/packages/nc-gui-v2/components/smartsheet-toolbar/MoreActions.vue b/packages/nc-gui-v2/components/smartsheet-toolbar/MoreActions.vue index bd45f04b3b..f1255ec183 100644 --- a/packages/nc-gui-v2/components/smartsheet-toolbar/MoreActions.vue +++ b/packages/nc-gui-v2/components/smartsheet-toolbar/MoreActions.vue @@ -13,6 +13,8 @@ import MdiUploadIcon from '~icons/mdi/upload-outline' import MdiHookIcon from '~icons/mdi/hook' import MdiViewListIcon from '~icons/mdi/view-list-outline' +const sharedViewListDlg = ref(false) + // todo : replace with inject const publicViewId = null const { project } = useProject() @@ -87,40 +89,46 @@ const exportCsv = async () => { diff --git a/packages/nc-gui-v2/components/smartsheet-toolbar/SharedViewList.vue b/packages/nc-gui-v2/components/smartsheet-toolbar/SharedViewList.vue new file mode 100644 index 0000000000..fc4fd9f036 --- /dev/null +++ b/packages/nc-gui-v2/components/smartsheet-toolbar/SharedViewList.vue @@ -0,0 +1,89 @@ + + + + +