Reactions
Overview
- As a: Learner
- When: after submitting an answer on a question card
- Then: I want to be able to react to the content with the following icon options: Like, Love, Insightful, Confused
Acceptance Criteria: 1
- Given: a Learner user is looking at a question card
- When: activating a reaction icon by clicking on the desired icon
- Then: the selection should be captured
Acceptance Criteria: 2
- Given: a Learner user is looking at a question card
- When: activating a reaction icon by clicking on the desired icon
- Then: a toast notification appear to inform the user that it has been recorded.
Acceptance Criteria: 3
- Given: a Learner user looking at the reactions available
- When: hovering over the reaction
- Then: description appear above the reaction
Endpoint
/api/v1/question_reaction
Example Body:
body: {
"question_id": 108,
"reaction": "like",
"user_enrollment_id": 944cff9f-4ef3-4582-ac3e-890ad9a59c81
}
