As a user I want to be notified when somebody likes the comment I left so that I am always aware that my comments are admired
Preconditions
User commented any article or event and another user liked it
Acceptance Criteria
When another user likes any comment, the author of this comment 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 comment to [Object] [Object title]. [Date and Time]
(ex. "Maria likes your comment to the news How to be eco friendly today. Today 10:00 a.m")
[Username] - user who likes the comment
If more than one user liked the same comment 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 comment to the 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 comment 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
[Object] - what was commented by the user
[Object title] - title of the article or name of the event. 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 comment I left so that I am always aware that my comments are admired
Preconditions
Acceptance Criteria
Epic link E.g.: Epic #324
Labels to be added "User story"