From f2c6dd658130be3dbef260dfa03d6bb7c67b7236 Mon Sep 17 00:00:00 2001 From: dev92341 Date: Tue, 5 Feb 2019 03:57:11 -0800 Subject: [PATCH 1/3] Add option to hide features panel --- src/App.js | 3 ++- src/App.vue | 2 +- src/modules/config.js | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/App.js b/src/App.js index 83a61d39..18bff2dd 100644 --- a/src/App.js +++ b/src/App.js @@ -81,7 +81,8 @@ export default { }, unseenNotificationsCount () { return this.unseenNotifications.length - } + }, + showFeaturesPanel () { return this.$store.state.config.showFeaturesPanel } }, methods: { scrollToTop () { diff --git a/src/App.vue b/src/App.vue index 833608ea..b999d889 100644 --- a/src/App.vue +++ b/src/App.vue @@ -29,7 +29,7 @@ - + diff --git a/src/modules/config.js b/src/modules/config.js index c9528f6f..526a7021 100644 --- a/src/modules/config.js +++ b/src/modules/config.js @@ -30,7 +30,8 @@ const defaultState = { interfaceLanguage: browserLocale, scopeCopy: undefined, // instance default subjectLineBehavior: undefined, // instance default - alwaysShowSubjectInput: undefined // instance default + alwaysShowSubjectInput: undefined, // instance default + showFeaturesPanel: true } const config = { From 1ee762cf6e09c12c21d5ba23295a128db493f6fc Mon Sep 17 00:00:00 2001 From: dev92341 Date: Tue, 5 Feb 2019 04:32:00 -0800 Subject: [PATCH 2/3] Add option to hide features panel --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index b999d889..082c6cb6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -29,7 +29,7 @@ - + From e3da156162ce04d987935eeb4649f0aa51590cf2 Mon Sep 17 00:00:00 2001 From: dev92341 Date: Tue, 5 Feb 2019 06:12:14 -0800 Subject: [PATCH 3/3] Add option to hide features panel (About page) --- src/components/about/about.js | 3 +++ src/components/about/about.vue | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/about/about.js b/src/components/about/about.js index b4433b4e..b1ce3c7d 100644 --- a/src/components/about/about.js +++ b/src/components/about/about.js @@ -7,6 +7,9 @@ const About = { InstanceSpecificPanel, FeaturesPanel, TermsOfServicePanel + }, + computed: { + showFeaturesPanel () { return this.$store.state.config.showFeaturesPanel } } } diff --git a/src/components/about/about.vue b/src/components/about/about.vue index bf87e0b8..13dec87c 100644 --- a/src/components/about/about.vue +++ b/src/components/about/about.vue @@ -1,7 +1,7 @@