mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 06:47:33 +00:00
## Summary Fixes all usages of `SurveyResponses` interface to match the updated structure. ## Problem After PR #6314 updated the `SurveyResponses` interface, several files still used the old property names causing TypeScript errors: - `team_size` (removed) - `use_case` (should be `useCase`) - `intended_use` (removed) ## Changes Updated all survey response usages: **CloudSurveyView.vue:** - Updated `trackSurvey` call to use new field names - Removed obsolete `team_size` and `intended_use` fields - Added `making` field for content type tracking **MixpanelTelemetryProvider.ts (4 locations):** - User properties from cached store - User properties from dynamic import - Event properties in `trackSurvey` - `setSurveyUserProperties` method ## Testing - [x] Type checking passes - [x] Survey data now maps 1-to-1 with actual survey fields ## Related Follow-up to PR #6314 which updated the interface definition. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6325-bugfix-update-survey-response-usage-to-match-new-interface-2996d73d36508128bb62deb545b76c7b) by [Unito](https://www.unito.io)