From 8f8571cda987114d926944a6f9dc35978f9566ba Mon Sep 17 00:00:00 2001 From: notfire Date: Thu, 5 Jun 2025 18:07:09 -0400 Subject: [PATCH 1/2] add support for "accepted your follow request" notifications --- src/components/notification/notification.vue | 10 +++++++++- src/i18n/en.json | 1 + src/services/notification_utils/notification_utils.js | 4 ++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue index 3f61be9e..1c59c103 100644 --- a/src/components/notification/notification.vue +++ b/src/components/notification/notification.vue @@ -94,6 +94,14 @@ {{ ' ' }} {{ $t('notifications.followed_you') }} + + + {{ ' ' }} + {{ $t('notifications.follow_request_accepted') }} +
{ rootState.config.notificationVisibility.polls && 'poll', rootState.config.notificationVisibility.bites && 'bite', rootState.config.notificationVisibility.bites && 'bite_note', + rootState.config.notificationVisibility.followRequest && 'follow_request_accepted', rootState.config.notificationVisibility.edits && 'update' ].filter(_ => _)) } @@ -111,6 +112,9 @@ export const prepareNotificationObject = (notification, i18n, store) => { case 'bite_note': i18nString = 'bit_note' break + case 'follow_request_accepted': + i18nString = 'follow_request_accepted' + break case 'update': i18nString = 'edited' break From ef75fd81a47d6c783651dec291d0d765c26ecbec Mon Sep 17 00:00:00 2001 From: notfire Date: Fri, 6 Jun 2025 13:15:15 -0400 Subject: [PATCH 2/2] actually say that this is a thing now --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 17409879..cb4edd0b 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ - this wasn't intentional, but keeping the old names would require way more work - script to get new emojis is included for future unicode versions - add toggle for showing post edit notifications +- add support for accepted follow request notifications ---