From 124a9b013f089f57bd59069284823b2b36483334 Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Mon, 28 Oct 2024 16:15:43 +0100 Subject: [PATCH] feat: Add Space Template Main Extension to open navigation drawer once template created - MEED-7671 - Meeds-io/MIPs#165 (#242) This change will allow to open Space Template Layout Navigation Drawer once the Space template is created. --- .../portlet/SiteNavigation_en.properties | 1 + .../site-navigation/SiteNavigationDrawer.vue | 41 +++++++++++---- .../SpaceTemplateCreateListener.vue | 50 +++++++++++++++++++ .../SpaceTemplateEditLayoutSpaceMenuItem.vue | 7 ++- .../vue-app/site-navigation/initComponents.js | 2 + .../webapp/vue-app/site-navigation/main.js | 6 +++ 6 files changed, 96 insertions(+), 11 deletions(-) create mode 100644 layout-webapp/src/main/webapp/vue-app/site-navigation/components/SpaceTemplateCreateListener.vue diff --git a/layout-webapp/src/main/resources/locale/portlet/SiteNavigation_en.properties b/layout-webapp/src/main/resources/locale/portlet/SiteNavigation_en.properties index 8c2a5a1b..922457ea 100644 --- a/layout-webapp/src/main/resources/locale/portlet/SiteNavigation_en.properties +++ b/layout-webapp/src/main/resources/locale/portlet/SiteNavigation_en.properties @@ -19,6 +19,7 @@ siteNavigation.label.groupSuggester.noData=No data siteNavigation.label.view.everyone=Everyone siteNavigation.label.view.designedGroup=Group members siteNavigation.label.btn.save=Save +siteNavigation.label.btn.close=Close siteNavigation.label.btn.next=Next siteNavigation.label.btn.cancel=Cancel siteNavigation.label.moveUp=Move up diff --git a/layout-webapp/src/main/webapp/vue-app/common-layout-components/components/site-navigation/SiteNavigationDrawer.vue b/layout-webapp/src/main/webapp/vue-app/common-layout-components/components/site-navigation/SiteNavigationDrawer.vue index 43280bc4..70f150fc 100644 --- a/layout-webapp/src/main/webapp/vue-app/common-layout-components/components/site-navigation/SiteNavigationDrawer.vue +++ b/layout-webapp/src/main/webapp/vue-app/common-layout-components/components/site-navigation/SiteNavigationDrawer.vue @@ -19,7 +19,8 @@ + \ No newline at end of file diff --git a/layout-webapp/src/main/webapp/vue-app/site-navigation/components/SpaceTemplateEditLayoutSpaceMenuItem.vue b/layout-webapp/src/main/webapp/vue-app/site-navigation/components/SpaceTemplateEditLayoutSpaceMenuItem.vue index 2112ecfd..c3bf9524 100644 --- a/layout-webapp/src/main/webapp/vue-app/site-navigation/components/SpaceTemplateEditLayoutSpaceMenuItem.vue +++ b/layout-webapp/src/main/webapp/vue-app/site-navigation/components/SpaceTemplateEditLayoutSpaceMenuItem.vue @@ -19,7 +19,10 @@ -->