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
Add full stop on relative time as per design
Kabiru Mwenja2ad579f2648b
diff --git a/frontend/src/app/features/in-app-notifications/entry/relative-time/in-app-notification-relative-time.component.ts b/frontend/src/app/features/in-app-notifications/entry/relative-time/in-app-notification-relative-time.component.tsindex 3f3b1801cff..153e658175a 100644--- a/frontend/src/app/features/in-app-notifications/entry/relative-time/in-app-notification-relative-time.component.ts+++ b/frontend/src/app/features/in-app-notifications/entry/relative-time/in-app-notification-relative-time.component.ts@@ -55,7 +55,7 @@ export class InAppNotificationRelativeTimeComponent implements OnInit {return this.text.updated_by_at(time);}- return time;+ return `${time}.`;}),distinctUntilChanged(),);diff --git a/spec/features/notifications/notification_center/notification_center_reminder_spec.rb b/spec/features/notifications/notification_center/notification_center_reminder_spec.rbindex d1f3cf3c04b..3b9f45e28ae 100644--- a/spec/features/notifications/notification_center/notification_center_reminder_spec.rb+++ b/spec/features/notifications/notification_center/notification_center_reminder_spec.rb@@ -51,7 +51,7 @@ RSpec.describe "Notification center reminder, mention and date alert",center.within_item(notification_reminder) doexpect(page).to have_text("Date alert, Mentioned, Reminder")expect(page).to have_no_text("Actor user")- expect(page).to have_text("a few seconds ago\nNote: “This is an important reminder”")+ expect(page).to have_text("a few seconds ago.\nNote: “This is an important reminder”")endendend