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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Change @mentioned to Mentioned for notification menu consistency
Dombi Attila7dcd6a16e96f
diff --git a/config/locales/js-en.yml b/config/locales/js-en.ymlindex 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.rbindex 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 doside_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 filtersside_menu.expect_item_with_count 'Inbox', 4side_menu.expect_item_with_count 'Assignee', 1- side_menu.expect_item_with_count '@mentioned', 1+ side_menu.expect_item_with_count 'Mentioned', 1side_menu.expect_item_with_count 'Accountable', 1side_menu.expect_item_with_count 'Watching', 1@@ -101,7 +101,7 @@ describe "Notification center sidemenu", type: :feature, js: true do# ... will change the filter countsside_menu.expect_item_with_count 'Inbox', 3side_menu.expect_item_with_count 'Assignee', 1- side_menu.expect_item_with_count '@mentioned', 1+ side_menu.expect_item_with_count 'Mentioned', 1side_menu.expect_item_with_count 'Accountable', 1side_menu.expect_item_with_no_count 'Watching'@@ -121,7 +121,7 @@ describe "Notification center sidemenu", type: :feature, js: true docenter.mark_all_readside_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 docenter.expect_work_package_item notification3center.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_loadingcenter.expect_work_package_item notification4center.expect_no_item notification, notification2, notification3diff --git a/spec/features/notifications/notification_center/notification_center_spec.rb b/spec/features/notifications/notification_center/notification_center_spec.rbindex 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: { journvisit home_pathcenter.opencenter.expect_bell_count 2- side_menu.click_item '@mentioned'+ side_menu.click_item 'Mentioned'side_menu.finished_loadingcenter.expect_no_toasternotification3.update(read_ian: false)