From 73685aea8cab14d6c976cc2bb709a7475275900e Mon Sep 17 00:00:00 2001 From: mertmit Date: Tue, 10 Oct 2023 09:59:46 +0000 Subject: [PATCH 1/3] fix: drop lazy load for treeview --- packages/nc-gui/components/dashboard/Sidebar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/components/dashboard/Sidebar.vue b/packages/nc-gui/components/dashboard/Sidebar.vue index e3e46b432e..b261f9f255 100644 --- a/packages/nc-gui/components/dashboard/Sidebar.vue +++ b/packages/nc-gui/components/dashboard/Sidebar.vue @@ -54,7 +54,7 @@ onUnmounted(() => { 'pt-0.25': isSharedBase, }" > - +
From 4d8c149fabc0578f665886726a61aafd209c648b Mon Sep 17 00:00:00 2001 From: mertmit Date: Tue, 10 Oct 2023 09:59:46 +0000 Subject: [PATCH 2/3] feat: copy shared base --- .../components/dlg/SharedBaseDuplicate.vue | 100 ++++++++++++++++++ .../components/general/ShareProject.vue | 2 +- .../nc-gui/composables/useCopySharedBase.ts | 9 ++ packages/nc-gui/pages/copy-shared-base.vue | 21 ++++ packages/nc-gui/pages/index.vue | 72 ++++++++++++- .../export-import/duplicate.controller.ts | 67 ++++++++++++ packages/nocodb/src/utils/acl.ts | 2 + 7 files changed, 270 insertions(+), 3 deletions(-) create mode 100644 packages/nc-gui/components/dlg/SharedBaseDuplicate.vue create mode 100644 packages/nc-gui/composables/useCopySharedBase.ts create mode 100644 packages/nc-gui/pages/copy-shared-base.vue diff --git a/packages/nc-gui/components/dlg/SharedBaseDuplicate.vue b/packages/nc-gui/components/dlg/SharedBaseDuplicate.vue new file mode 100644 index 0000000000..d71449ef57 --- /dev/null +++ b/packages/nc-gui/components/dlg/SharedBaseDuplicate.vue @@ -0,0 +1,100 @@ + + + diff --git a/packages/nc-gui/components/general/ShareProject.vue b/packages/nc-gui/components/general/ShareProject.vue index 1d145a13a9..4b347306a3 100644 --- a/packages/nc-gui/components/general/ShareProject.vue +++ b/packages/nc-gui/components/general/ShareProject.vue @@ -71,7 +71,7 @@ const copySharedBase = async () => {
-