As a user I want to be notified when somebody likes the article I posted so that I am always aware that my posts are admired
Preconditions
User posted a News article and another user liked it
Acceptance Criteria
When another user likes the news article, the author of this article should be notified about it
A notification counter value is increased by one
User can see a corresponding notification record when he views the most recent notifications popup or All notifications page:
[Username] likes your news [News title]. [Date and Time]
(ex. "Maria likes your news How to be eco friendly today. Today 10:00 a.m")
[Username] - user who likes the news
If more than one user liked the news by the moment the author sees this notification, then the usernames of 2 last users and "other users" should be instead (ex, "Maria, Olha and other users like your news How to be eco friendly today. Today 10:00 a.m")
A notification counter value is increased by one
If the same user liked more than one news article by the moment the user sees this notification, then user should see all corresponding notifications in order from the latest notification to the earliest one
A notification counter value is increased by one each time a new article is liked
[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 somebody likes the article I posted so that I am always aware that my posts are admired
Preconditions
Acceptance Criteria
Epic link E.g.: Epic #324
Labels to be added "User story"