KinesteX

Feedback Events

Events dispatched when a user submits feedback.


EventDescription
feedback_submittedUser submitted training rating or per-exercise feedback

Training Feedback Payload (source: "training_feedback"):

typescript
1{
2  type: "feedback_submitted",
3  source: "training_feedback",
4  rating: number,              // User rating (e.g., 1-5)
5  is_like: boolean,            // Whether the user liked the workout
6  description: string,         // Optional text feedback
7  workout_id: string,          // Workout ID
8  workout_title: string        // Workout name
9}

Per-Exercise Feedback Payload (source: "exercise_feedback"):

typescript
1{
2  type: "feedback_submitted",
3  source: "exercise_feedback",
4  workout_id: string,          // Workout ID
5  workout_title: string,       // Workout name
6  feedbacks: Array<{           // Per-exercise feedback entries
7    exercise_id: string,       // Exercise ID
8    exercise_title: string,    // Exercise name
9    is_like: boolean,          // Whether the user liked the exercise
10    description: string        // Optional text feedback
11  }>
12}