As a user I want to be notified when a news article I posted was commented so that I can reply soon
Preconditions
User posted a News article and another user left a comment
Acceptance Criteria
When a new comment is left under the user's news article, the user must get a new notification about it
A notification counter value is increased by one
User should see a corresponding notification record when he views the most recent notifications popup or All notifications page:
[Username] commented on your news [News title]. [Date and Time]
(ex. "Maria commented on your news How to be eco friendly today. Today 10:00 a.m")
[Username] - user who left a message
If more than one user left a comment by the moment the user sees this notification, then the usernames of 2 last commentators and "other users" should be instead (ex, "Maria, Olha and other users commented on your news How to be eco friendly today. Today 10:00 a.m")
If the same user left more than one comment under the same article by the moment the user sees this notification, then user should see only the latest one in the notification record
[News title] - title of the article. Should be a link, should be cut if too long (?)
[Date and time] - Date and time when the comment was left.
Date format is DD.MM.YYYY
Time format is HH:MM XM
If the day = Today, then use "Today" word instead of calendar date
If the day = Today - 1, then use "Yesterday" word instead of calendar date
As a user I want to be notified when a news article I posted was commented so that I can reply soon
Preconditions
Acceptance Criteria
Epic link E.g.: Epic #324
Labels to be added "User story"