DeeMcCart / CI_PP4_Financial_Planner

Financial_Planner: Authorative information on financial processes in Republic of Ireland
0 stars 1 forks source link

User Story: Ability to Like/Unlike an Article #19

Closed DeeMcCart closed 1 year ago

DeeMcCart commented 1 year ago

EPIC: MVP

As a site user I can like/unlike an article so that I provide feedback to other users about which articles are most useful As a site user/Admin I can view the number of likes on each article so I can see which is the most popular or useful

Assumptions:

Acceptance Criteria

Tasks

DeeMcCart commented 1 year ago

30/10/23 (Sprint 5 retrospective) this issue was scheduled for Sprint5 but not done. Moving to Sprint 6. Remains in 'to do' status as already been groomed, LOE SP estimates still valid. This should be close to top of priority list as needed for MVP, before moving on to any Release1 work.

DeeMcCart commented 1 year ago

Done 01/11/23 - Done & tested separate userids adding and removing likes. One acceptance criterion not fully met - an unregistered user sees an onscreen message beside the 'like' button to tell them it cant be clicked unless they login, however would prefer if this message only appears if they attempt to click the button... Can accept the current functioning (permanent message display for unauthorised user) as a workaround - see testing screenshots below.

DeeMcCart commented 1 year ago

Review/test 01/11/23: If the user is not logged in then they have an alert message telling them to login before they are allowed to like/unlike or make comments:

Image

If they are logged in and they have not yet clicked on like, an icon with a heart outline displays:

Image

If they click on the like button then the number of likes increments and the button changes to a solid red heart button

Image

If they sign out and back in, the like button still shows the incremented value and a solid red heart for this user:

Image

If they click on the like icon again then the number of likes decrements and the icon changes back to a heart outline:

Image