Skip to content

Commit

Permalink
Add reminders filter to notifications sidemenu
Browse files Browse the repository at this point in the history
  • Loading branch information
akabiru committed Dec 5, 2024
1 parent cb7af7e commit 7887550
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/menus/notifications/menu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def inbox_menu
end

def reason_filters
%w[mentioned assigned responsible watched dateAlert shared].map do |reason|
%w[mentioned assigned responsible watched dateAlert shared reminder].map do |reason|
count = unread_by_reason[reason]
menu_item(title: I18n.t("notifications.reasons.#{reason}"),
icon_key: reason,
Expand Down Expand Up @@ -128,7 +128,8 @@ def icon_map
"responsible" => :"op-person-accountable",
"watched" => :eye,
"shared" => :"share-android",
"dateAlert" => :"op-calendar-alert"
"dateAlert" => :"op-calendar-alert",
"reminder" => :bell
}
end

Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2199,6 +2199,7 @@ en:
responsible: "Accountable"
shared: "Shared"
watched: "Watcher"
reminder: "Reminder"
facets:
unread: "Unread"
unread_title: "Show unread"
Expand Down

0 comments on commit 7887550

Please sign in to comment.