From 7f51ea369eb4ae1252fcba9a82438fd00471e874 Mon Sep 17 00:00:00 2001 From: tusooa Date: Fri, 18 Aug 2023 20:34:27 -0400 Subject: Make extra notification display customizable --- .../settings_modal/tabs/notifications_tab.vue | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'src/components/settings_modal/tabs/notifications_tab.vue') diff --git a/src/components/settings_modal/tabs/notifications_tab.vue b/src/components/settings_modal/tabs/notifications_tab.vue index fcb92135..4dfba444 100644 --- a/src/components/settings_modal/tabs/notifications_tab.vue +++ b/src/components/settings_modal/tabs/notifications_tab.vue @@ -51,6 +51,47 @@ +
  • + + {{ $t('settings.notification_show_extra') }} + +
  • +
  • + +
  • -- cgit v1.2.3-70-g09d2 From e3ee3eaccae6a9ece674d7d76db8e67da499d6c3 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Sun, 19 Nov 2023 15:24:34 +0200 Subject: added some settings for notifications --- src/components/mobile_nav/mobile_nav.js | 9 ++++++-- src/components/mobile_nav/mobile_nav.vue | 11 ++++++++++ src/components/notifications/notifications.js | 25 +++++++++++++++++++--- src/components/notifications/notifications.vue | 2 +- .../settings_modal/tabs/notifications_tab.vue | 23 ++++++++++++++++++++ src/i18n/en.json | 5 +++++ src/modules/config.js | 5 ++++- src/modules/instance.js | 3 +++ 8 files changed, 76 insertions(+), 7 deletions(-) (limited to 'src/components/settings_modal/tabs/notifications_tab.vue') diff --git a/src/components/mobile_nav/mobile_nav.js b/src/components/mobile_nav/mobile_nav.js index b5325116..6f4e35e5 100644 --- a/src/components/mobile_nav/mobile_nav.js +++ b/src/components/mobile_nav/mobile_nav.js @@ -14,7 +14,8 @@ import { faBell, faBars, faArrowUp, - faMinus + faMinus, + faCheckDouble } from '@fortawesome/free-solid-svg-icons' library.add( @@ -22,7 +23,8 @@ library.add( faBell, faBars, faArrowUp, - faMinus + faMinus, + faCheckDouble ) const MobileNav = { @@ -67,6 +69,9 @@ const MobileNav = { shouldConfirmLogout () { return this.$store.getters.mergedConfig.modalOnLogout }, + closingDrawerMarksAsSeen () { + return this.$store.getters.mergedConfig.closingDrawerMarksAsSeen + }, ...mapGetters(['unreadChatCount']) }, methods: { diff --git a/src/components/mobile_nav/mobile_nav.vue b/src/components/mobile_nav/mobile_nav.vue index c2746abe..ecd8290a 100644 --- a/src/components/mobile_nav/mobile_nav.vue +++ b/src/components/mobile_nav/mobile_nav.vue @@ -66,6 +66,17 @@ /> +