-
Notifications
You must be signed in to change notification settings - Fork 223
Description
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Overview
Extend the recommendation feedback mechanism by creating RecommendationInteractionEvent objects for previewed and ignored interactions with recommended nodes, using the existing feedback utilities.
Description and outcomes
When a user previews a recommended content node from the list of shown recommendations, we should explicitly log that interaction by creating a RecommendationInteractionEvent with feedback_type: 'previewed'.
Additionally, when the user leaves the import flow without interacting with some recommended nodes, we consider those nodes to be implicitly ignored. A RecommendationInteractionEvent should be created with feedback_type: 'ignored', containing information about the ignored nodes.
Both types of interactions should be linked back to the originating RecommendationEvent to maintain context and enable future analysis of user engagement patterns with recommendations.
Acceptance criteria
-
When a user previews a recommended content node a RecommendationInteractionEvent is created with feedback_type: 'previewed'. A recommendation_event_id linking to the original RecommendationEvent
-
When the user exits the import process, any remaining unselected recommendations should be treated as ignored
-
A RecommendationInteractionEvent is created with feedback_type: 'ignored', having information about all the ignored nodes
-
A recommendation_event_id linking to the original RecommendationEvent
-
All feedback requests must go through the sendFeedbackRequest utility.