As a user I want to be notified when my habit was liked so that I am always aware that people are interested in my habits
Preconditions
User 1 adds a habit and User 2 likes added habit
Acceptance Criteria
When another user likes the habit, the user who added this habit should be notified 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] likes your habbit [Habit name]. [Date and Time]
(ex. "Maria likes your habit Do not use disposable packages. Today 10:00 a.m")
[Username] - user who liked a habit
If more than one user liked a habit by the moment the user sees this notification, then the usernames of 2 last
users and "other users" should be instead (ex, "Maria, Olha and other users liked your habit Do not use disposable
packages. Today 10:00 a.m")
If the same user liked more than one habit 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 habit is liked
[Habit name] - name of the habit. Should be a link, should be cut if too long (?)
[Date and time] - Date and time when a habit was liked
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
Epic link
E.g.: Epic #315
As a user I want to be notified when my habit was liked so that I am always aware that people are interested in my habits
Preconditions
User 1 adds a habit and User 2 likes added habit Acceptance Criteria When another user likes the habit, the user who added this habit should be notified 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:
Labels to be added "User story"