From f2c6dd658130be3dbef260dfa03d6bb7c67b7236 Mon Sep 17 00:00:00 2001 From: dev92341 Date: Tue, 5 Feb 2019 03:57:11 -0800 Subject: [PATCH 1/6] 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/6] 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/6] 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 @@ From 0b24454561f677d4e4df68ae2f927e0da7794b96 Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 5 Feb 2019 14:33:16 -0500 Subject: [PATCH 4/6] #316 - fix empty username issue --- src/components/user_settings/user_settings.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/user_settings/user_settings.vue b/src/components/user_settings/user_settings.vue index be42cc4a..d0743ef0 100644 --- a/src/components/user_settings/user_settings.vue +++ b/src/components/user_settings/user_settings.vue @@ -33,7 +33,7 @@

- +

{{$t('settings.avatar')}}

From 52f5ffa86233773953325d9998707558d29810f0 Mon Sep 17 00:00:00 2001 From: Edijs Date: Tue, 5 Feb 2019 15:11:17 -0700 Subject: [PATCH 5/6] Fix avatar link in search result --- src/components/user_card/user_card.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue index 35b27319..7129430b 100644 --- a/src/components/user_card/user_card.vue +++ b/src/components/user_card/user_card.vue @@ -1,8 +1,8 @@