feat(sdk): add withChartTypeSelector prop to InteractiveQuestion (#50664) (#50705)
* add withVisualizationSelector prop
* add tests
* add to docs
* use default layout in tests
* only use custom layout when needed
* make withChartTypeSelector false by default
Co-authored-by:
Phoomparin Mano <poom@metabase.com>
Showing
- docs/embedding/sdk/questions.md 14 additions, 13 deletionsdocs/embedding/sdk/questions.md
- enterprise/frontend/src/embedding-sdk/components/private/InteractiveAdHocQuestion.tsx 5 additions, 1 deletion...dding-sdk/components/private/InteractiveAdHocQuestion.tsx
- enterprise/frontend/src/embedding-sdk/components/private/InteractiveQuestionResult/InteractiveQuestionResult.tsx 7 additions, 2 deletions...e/InteractiveQuestionResult/InteractiveQuestionResult.tsx
- enterprise/frontend/src/embedding-sdk/components/public/InteractiveQuestion/InteractiveQuestion.tsx 2 additions, 0 deletions...onents/public/InteractiveQuestion/InteractiveQuestion.tsx
- enterprise/frontend/src/embedding-sdk/components/public/InteractiveQuestion/InteractiveQuestion.unit.spec.tsx 29 additions, 4 deletions...lic/InteractiveQuestion/InteractiveQuestion.unit.spec.tsx
Please register or sign in to comment