Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Change @mentioned to Mentioned for notification menu consistency

Dombi Attila7dcd6a16e96f
diff --git a/config/locales/js-en.yml b/config/locales/js-en.yml
index c3035518fa9..bb8fecfe156 100644
--- a/config/locales/js-en.yml
+++ b/config/locales/js-en.yml
@@ -620,7 +620,7 @@ en:
by_project: 'Unread by project'
by_reason: 'Involvement'
inbox: 'Inbox'
- mentioned: '@mentioned'
+ mentioned: 'Mentioned'
watching: 'Watching'
settings:
change_notification_settings: 'To view and change your notification settings, <a target="_blank" href="%{url}">click here</a>'
@@ -628,7 +628,7 @@ en:
notify_me: "Notify me"
reasons:
mentioned:
- title: '@mentioned'
+ title: 'Mentioned'
description: 'Receive a notification every time someone mentions me anywhere'
assignee: 'Assignee'
responsible: 'Accountable'
diff --git a/spec/features/notifications/notification_center/notification_center_sidemenu_spec.rb b/spec/features/notifications/notification_center/notification_center_sidemenu_spec.rb
index 8eb4eaf4405..1f5be577950 100644
--- a/spec/features/notifications/notification_center/notification_center_sidemenu_spec.rb
+++ b/spec/features/notifications/notification_center/notification_center_sidemenu_spec.rb
@@ -74,7 +74,7 @@ describe "Notification center sidemenu", type: :feature, js: true do
side_menu.expect_item_with_no_count 'Inbox'
side_menu.expect_item_with_no_count 'Assignee'
- side_menu.expect_item_with_no_count '@mentioned'
+ side_menu.expect_item_with_no_count 'Mentioned'
side_menu.expect_item_with_no_count 'Accountable'
side_menu.expect_item_with_no_count 'Watching'
end
@@ -86,7 +86,7 @@ describe "Notification center sidemenu", type: :feature, js: true do
# Expect standard filters
side_menu.expect_item_with_count 'Inbox', 4
side_menu.expect_item_with_count 'Assignee', 1
- side_menu.expect_item_with_count '@mentioned', 1
+ side_menu.expect_item_with_count 'Mentioned', 1
side_menu.expect_item_with_count 'Accountable', 1
side_menu.expect_item_with_count 'Watching', 1
@@ -101,7 +101,7 @@ describe "Notification center sidemenu", type: :feature, js: true do
# ... will change the filter counts
side_menu.expect_item_with_count 'Inbox', 3
side_menu.expect_item_with_count 'Assignee', 1
- side_menu.expect_item_with_count '@mentioned', 1
+ side_menu.expect_item_with_count 'Mentioned', 1
side_menu.expect_item_with_count 'Accountable', 1
side_menu.expect_item_with_no_count 'Watching'
@@ -121,7 +121,7 @@ describe "Notification center sidemenu", type: :feature, js: true do
center.mark_all_read
side_menu.expect_item_with_no_count 'Inbox'
side_menu.expect_item_with_no_count 'Assignee'
- side_menu.expect_item_with_no_count '@mentioned'
+ side_menu.expect_item_with_no_count 'Mentioned'
side_menu.expect_item_with_no_count 'Accountable'
side_menu.expect_item_with_no_count 'Watching'
@@ -152,8 +152,8 @@ describe "Notification center sidemenu", type: :feature, js: true do
center.expect_work_package_item notification3
center.expect_no_item notification, notification2, notification4
- # Filter for "@mentioned"
- side_menu.click_item '@mentioned'
+ # Filter for "Mentioned"
+ side_menu.click_item 'Mentioned'
side_menu.finished_loading
center.expect_work_package_item notification4
center.expect_no_item notification, notification2, notification3
diff --git a/spec/features/notifications/notification_center/notification_center_spec.rb b/spec/features/notifications/notification_center/notification_center_spec.rb
index 4a896f4c784..ab969d5476b 100644
--- a/spec/features/notifications/notification_center/notification_center_spec.rb
+++ b/spec/features/notifications/notification_center/notification_center_spec.rb
@@ -154,7 +154,7 @@ describe "Notification center", type: :feature, js: true, with_settings: { journ
visit home_path
center.open
center.expect_bell_count 2
- side_menu.click_item '@mentioned'
+ side_menu.click_item 'Mentioned'
side_menu.finished_loading
center.expect_no_toaster
notification3.update(read_ian: false)