From 80784886dd7b77319ac5fb54409e20a9356fbe42 Mon Sep 17 00:00:00 2001 From: Melvyn M <56388157+Melvynx@users.noreply.github.com> Date: Fri, 5 Aug 2022 23:09:17 +0200 Subject: [PATCH] feat(notification): add hide notification notification badge and message notifications badge --- app/_locales/en/messages.json | 6 ++ app/pages/popup.html | 120 ++++++++++++++------------- app/scripts/contentscript.ts | 60 ++++++++++---- app/scripts/popup.ts | 56 +++++++++---- app/styles/contentscript.scss | 151 ++++++++++++++++++++++++++++------ 5 files changed, 280 insertions(+), 113 deletions(-) diff --git a/app/_locales/en/messages.json b/app/_locales/en/messages.json index 85fa708..7aa7071 100644 --- a/app/_locales/en/messages.json +++ b/app/_locales/en/messages.json @@ -27,6 +27,12 @@ "titleShowCalmText": { "message": "Show \"Calm\" next to the logo" }, + "titleIsNotificationHidden": { + "message": "Hide Notifications Badge" + }, + "titleIsMessageNotificationHidden": { + "message": "Hide Message Notifications Badge" + }, "titleIsFollowingNumberHidden": { "message": "Hide number of following" }, diff --git a/app/pages/popup.html b/app/pages/popup.html index 8a5b2e9..110842f 100644 --- a/app/pages/popup.html +++ b/app/pages/popup.html @@ -1,60 +1,66 @@ +
+ +