diff --git a/frontend/__snapshots__/replay-player-success--second-recording-in-list--dark.png b/frontend/__snapshots__/replay-player-success--second-recording-in-list--dark.png index 93ad7064fd68b..deadbaa964285 100644 Binary files a/frontend/__snapshots__/replay-player-success--second-recording-in-list--dark.png and b/frontend/__snapshots__/replay-player-success--second-recording-in-list--dark.png differ diff --git a/frontend/__snapshots__/replay-player-success--second-recording-in-list--light.png b/frontend/__snapshots__/replay-player-success--second-recording-in-list--light.png index 537566ccb05ab..f25c112bb904b 100644 Binary files a/frontend/__snapshots__/replay-player-success--second-recording-in-list--light.png and b/frontend/__snapshots__/replay-player-success--second-recording-in-list--light.png differ diff --git a/frontend/__snapshots__/scenes-app-insights--funnel-top-to-bottom-breakdown-edit--dark.png b/frontend/__snapshots__/scenes-app-insights--funnel-top-to-bottom-breakdown-edit--dark.png index 4b405550412a0..c97834c6d7fb1 100644 Binary files a/frontend/__snapshots__/scenes-app-insights--funnel-top-to-bottom-breakdown-edit--dark.png and b/frontend/__snapshots__/scenes-app-insights--funnel-top-to-bottom-breakdown-edit--dark.png differ diff --git a/frontend/__snapshots__/scenes-app-insights--funnel-top-to-bottom-breakdown-edit--light.png b/frontend/__snapshots__/scenes-app-insights--funnel-top-to-bottom-breakdown-edit--light.png index 02bc921745ecd..00916265cd38b 100644 Binary files a/frontend/__snapshots__/scenes-app-insights--funnel-top-to-bottom-breakdown-edit--light.png and b/frontend/__snapshots__/scenes-app-insights--funnel-top-to-bottom-breakdown-edit--light.png differ diff --git a/frontend/__snapshots__/scenes-app-insights--funnel-top-to-bottom-edit--dark.png b/frontend/__snapshots__/scenes-app-insights--funnel-top-to-bottom-edit--dark.png index 9f3435ec919df..f7c582680bca6 100644 Binary files a/frontend/__snapshots__/scenes-app-insights--funnel-top-to-bottom-edit--dark.png and b/frontend/__snapshots__/scenes-app-insights--funnel-top-to-bottom-edit--dark.png differ diff --git a/frontend/src/scenes/surveys/surveyViewViz.tsx b/frontend/src/scenes/surveys/surveyViewViz.tsx index 8e19c575fef10..7384fec294c94 100644 --- a/frontend/src/scenes/surveys/surveyViewViz.tsx +++ b/frontend/src/scenes/surveys/surveyViewViz.tsx @@ -207,6 +207,7 @@ export function RatingQuestionBarChart({ } useEffect(() => { loadSurveyRatingResults({ questionIndex, iteration }) + // eslint-disable-next-line react-hooks/exhaustive-deps }, [questionIndex]) return ( @@ -301,6 +302,7 @@ export function NPSSurveyResultsBarChart({ useEffect(() => { loadSurveyRecurringNPSResults({ questionIndex }) + // eslint-disable-next-line react-hooks/exhaustive-deps }, [questionIndex]) return ( @@ -397,6 +399,7 @@ export function SingleChoiceQuestionPieChart({ useEffect(() => { loadSurveySingleChoiceResults({ questionIndex }) + // eslint-disable-next-line react-hooks/exhaustive-deps }, [questionIndex]) return ( @@ -499,12 +502,15 @@ export function MultipleChoiceQuestionBarChart({ useEffect(() => { loadSurveyMultipleChoiceResults({ questionIndex }) + // eslint-disable-next-line react-hooks/exhaustive-deps }, [questionIndex]) useEffect(() => { if (surveyMultipleChoiceResults?.[questionIndex]?.data?.length) { setChartHeight(100 + 20 * surveyMultipleChoiceResults[questionIndex].data.length) } + // TODO this one maybe should have questionIndex as a dependency + // eslint-disable-next-line react-hooks/exhaustive-deps }, [surveyMultipleChoiceResults]) return ( @@ -581,6 +587,7 @@ export function OpenTextViz({ useEffect(() => { loadSurveyOpenTextResults({ questionIndex }) + // eslint-disable-next-line react-hooks/exhaustive-deps }, [questionIndex]) return ( @@ -736,9 +743,9 @@ function ResponseSummaryFeedback({ surveyId }: { surveyId: string }): JSX.Elemen return // Already rated } setRating(newRating) - posthog.capture('survey_resonse_rated', { + posthog.capture('ai_survey_summary_rated', { survey_id: surveyId, - answer_rating: rating, + answer_rating: newRating, }) }