From 423d6f044a220e4e247022f9d2c7ca80b3645795 Mon Sep 17 00:00:00 2001 From: Kristina Date: Mon, 4 Mar 2024 23:31:45 +0400 Subject: [PATCH] Add archive all button in inbox (#4870) Signed-off-by: Kristina Fefelova --- plugins/notification-assets/lang/en.json | 3 ++- plugins/notification-assets/lang/ru.json | 3 ++- .../src/components/Filter.svelte | 4 ++-- .../src/components/inbox/Inbox.svelte | 13 +++++++++++- .../src/inboxNotificationsClient.ts | 20 +++++++++++++++++-- plugins/notification/src/index.ts | 4 +++- 6 files changed, 39 insertions(+), 8 deletions(-) diff --git a/plugins/notification-assets/lang/en.json b/plugins/notification-assets/lang/en.json index b24528cbe3..1da774f82e 100644 --- a/plugins/notification-assets/lang/en.json +++ b/plugins/notification-assets/lang/en.json @@ -35,6 +35,7 @@ "Pinned": "Pinned", "Message": "Message", "FlatList": "Flat list", - "GroupedList": "Grouped list" + "GroupedList": "Grouped list", + "ArchiveAll": "Archive all" } } diff --git a/plugins/notification-assets/lang/ru.json b/plugins/notification-assets/lang/ru.json index 0688ef3b0c..e2512a42cf 100644 --- a/plugins/notification-assets/lang/ru.json +++ b/plugins/notification-assets/lang/ru.json @@ -35,6 +35,7 @@ "Pinned": "Закреплено", "Message": "Сообщение", "FlatList": "Flat list", - "GroupedList": "Grouped list" + "GroupedList": "Grouped list", + "ArchiveAll": "Архивировать все" } } diff --git a/plugins/notification-resources/src/components/Filter.svelte b/plugins/notification-resources/src/components/Filter.svelte index 0eee679f27..1d7bad345a 100644 --- a/plugins/notification-resources/src/components/Filter.svelte +++ b/plugins/notification-resources/src/components/Filter.svelte @@ -13,7 +13,7 @@ // limitations under the License. --> -