From 06d635aab454de027f238132716e10ededa6785a Mon Sep 17 00:00:00 2001 From: Pranav C Date: Mon, 25 Jul 2022 16:49:59 +0530 Subject: [PATCH] feat(gui-v2): basic layout Signed-off-by: Pranav C --- .../components/dashboard/TreeView.vue | 2 +- .../components/smartsheet/Toolbar.vue | 4 +- .../nc-gui-v2/components/tabs/Smartsheet.vue | 2 +- packages/nc-gui-v2/composables/useTabs.ts | 21 +++++++--- .../nc-gui-v2/pages/nc/[projectId]/index.vue | 39 ++----------------- .../pages/nc/[projectId]/index/index.vue | 38 +++++++++--------- .../index.vue => [[viewTitle]].vue} | 0 .../index/index/[type]/[title]/index.vue | 11 ------ 8 files changed, 41 insertions(+), 76 deletions(-) rename packages/nc-gui-v2/pages/nc/[projectId]/index/index/[type]/[title]/{[viewTitle]/index.vue => [[viewTitle]].vue} (100%) delete mode 100644 packages/nc-gui-v2/pages/nc/[projectId]/index/index/[type]/[title]/index.vue diff --git a/packages/nc-gui-v2/components/dashboard/TreeView.vue b/packages/nc-gui-v2/components/dashboard/TreeView.vue index 2a0b628fda..06ec40b4cf 100644 --- a/packages/nc-gui-v2/components/dashboard/TreeView.vue +++ b/packages/nc-gui-v2/components/dashboard/TreeView.vue @@ -248,7 +248,7 @@ const addTableTab = (table: TableType) => { diff --git a/packages/nc-gui-v2/components/smartsheet/Toolbar.vue b/packages/nc-gui-v2/components/smartsheet/Toolbar.vue index a67a8c90e7..5d1c7ed5da 100644 --- a/packages/nc-gui-v2/components/smartsheet/Toolbar.vue +++ b/packages/nc-gui-v2/components/smartsheet/Toolbar.vue @@ -1,11 +1,11 @@ diff --git a/packages/nc-gui-v2/components/tabs/Smartsheet.vue b/packages/nc-gui-v2/components/tabs/Smartsheet.vue index 763689697a..afd90c7c27 100644 --- a/packages/nc-gui-v2/components/tabs/Smartsheet.vue +++ b/packages/nc-gui-v2/components/tabs/Smartsheet.vue @@ -37,7 +37,7 @@ watch(