From a363b98e38b7b3091cb2ba11cebed0cc53bedc6b Mon Sep 17 00:00:00 2001 From: Edgars Date: Tue, 10 Nov 2020 12:50:46 +0200 Subject: Nextcloud Talk: Hide unrelated notifications and fix notifications count `service.css` was updated to: - unhide contacts menu; - hide notifications that are not related to Nextcloud Talk; - hide "Dismiss all notifications" as this action would also dismiss hidden notifications. `webview.js` was updated to fix notifications (both direct and indirect) count retrieval. `README.md` was added. --- recipes/nextcloud-talk/service.css | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'recipes/nextcloud-talk/service.css') diff --git a/recipes/nextcloud-talk/service.css b/recipes/nextcloud-talk/service.css index 82dde75..f4f08bc 100644 --- a/recipes/nextcloud-talk/service.css +++ b/recipes/nextcloud-talk/service.css @@ -15,7 +15,13 @@ settings links and disable them */ display: none !important; } -/* Hide contacts in the top menu */ -#contactsmenu { - display: none; +/* Hide notifications that are not related to calendar */ +.notifications .notification-wrapper .notification {display: none;} +.notifications .notification-wrapper .notification[object_type="chat"], +.notifications .notification-wrapper .notification[object_type="room"] { + display: initial; } + +/* Hide "Dismiss all notifications" as this action will dismiss also hidden +notifications */ +.notification-wrapper .dismiss-all {display: none;} -- cgit v1.2.3-70-g09d2