(props: {
rating: number;
renderDurationMs?: number;
comment?: string;
doctorSummary?: string;
})
| 371 | } |
| 372 | |
| 373 | export function trackRenderFeedback(props: { |
| 374 | rating: number; |
| 375 | renderDurationMs?: number; |
| 376 | comment?: string; |
| 377 | doctorSummary?: string; |
| 378 | }): void { |
| 379 | trackEvent("survey sent", { |
| 380 | $survey_id: "render_satisfaction", |
| 381 | $survey_response: props.rating, |
| 382 | ...(props.comment ? { $survey_response_2: props.comment } : {}), |
| 383 | ...(props.renderDurationMs !== undefined ? { render_duration_ms: props.renderDurationMs } : {}), |
| 384 | ...(props.doctorSummary ? { doctor_summary: props.doctorSummary } : {}), |
| 385 | }); |
| 386 | } |
| 387 | |
| 388 | export function trackCommandResult(props: { |
| 389 | command: string; |
no test coverage detected