From 74e5e2163a31b7b61f72da8af947376fdd57691a Mon Sep 17 00:00:00 2001 From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Date: Thu, 1 Feb 2024 15:17:24 +0530 Subject: [PATCH] feat: Inbox options dropdown menu (#8836) --- .../dashboard/i18n/locale/en/inbox.json | 6 +- .../routes/dashboard/inbox/InboxList.vue | 8 +-- .../inbox/components/InboxListHeader.vue | 31 +++++--- .../inbox/components/InboxOptionMenu.vue | 72 +++++++++++++++++++ 4 files changed, 102 insertions(+), 15 deletions(-) create mode 100644 app/javascript/dashboard/routes/dashboard/inbox/components/InboxOptionMenu.vue diff --git a/app/javascript/dashboard/i18n/locale/en/inbox.json b/app/javascript/dashboard/i18n/locale/en/inbox.json index 9941f5e10..5e9c6419a 100644 --- a/app/javascript/dashboard/i18n/locale/en/inbox.json +++ b/app/javascript/dashboard/i18n/locale/en/inbox.json @@ -2,6 +2,7 @@ "INBOX": { "LIST": { "TITLE": "Inbox", + "DISPLAY_DROPDOWN": "Display", "LOADING": "Fetching notifications", "EOF": "All notifications loaded 🎉", "404": "There are no active notifications in this group." @@ -17,7 +18,10 @@ "MARK_AS_READ": "Mark as read", "MARK_AS_UNREAD": "Mark as unread", "SNOOZE": "Snooze", - "DELETE": "Delete" + "DELETE": "Delete", + "MARK_ALL_READ": "Mark all as read", + "DELETE_ALL": "Delete all", + "DELETE_ALL_READ": "Delete all read" } } } diff --git a/app/javascript/dashboard/routes/dashboard/inbox/InboxList.vue b/app/javascript/dashboard/routes/dashboard/inbox/InboxList.vue index e6ad0a437..441030584 100644 --- a/app/javascript/dashboard/routes/dashboard/inbox/InboxList.vue +++ b/app/javascript/dashboard/routes/dashboard/inbox/InboxList.vue @@ -1,11 +1,13 @@