-
- Downloads
Remove redundant ParameterFieldWidget logic (#23271)
* Remove popover logic from ParameterFieldWidget * Support formatting array values * Fix isValid logic * Readd close popover logic * Fix various bugs/broken tests Fix formatting/remapping Fix text Fix unit test Fix text Fix placeholder Fix placeholder Fix ellipses Fix bug caused by the any type Fix date parameter value formatting Readd dashboard prop Fix e2e test selector
Showing
- frontend/src/metabase/components/DateAllOptionsWidget/DateAllOptionsWidget.tsx 6 additions, 3 deletions.../components/DateAllOptionsWidget/DateAllOptionsWidget.tsx
- frontend/src/metabase/components/FieldValuesWidget.jsx 2 additions, 5 deletionsfrontend/src/metabase/components/FieldValuesWidget.jsx
- frontend/src/metabase/components/TextWidget/TextWidget.tsx 1 addition, 3 deletionsfrontend/src/metabase/components/TextWidget/TextWidget.tsx
- frontend/src/metabase/parameters/components/FormattedParameterValue/FormattedParameterValue.tsx 38 additions, 0 deletions...nents/FormattedParameterValue/FormattedParameterValue.tsx
- frontend/src/metabase/parameters/components/FormattedParameterValue/index.ts 1 addition, 0 deletions...se/parameters/components/FormattedParameterValue/index.ts
- frontend/src/metabase/parameters/components/ParameterValueWidget.jsx 14 additions, 6 deletions...c/metabase/parameters/components/ParameterValueWidget.jsx
- frontend/src/metabase/parameters/components/widgets/ParameterFieldWidget/ParameterFieldWidget.jsx 81 additions, 173 deletions...nts/widgets/ParameterFieldWidget/ParameterFieldWidget.jsx
- frontend/src/metabase/parameters/components/widgets/ParameterFieldWidget/ParameterFieldWidgetValue/ParameterFieldWidgetValue.tsx 37 additions, 0 deletions...t/ParameterFieldWidgetValue/ParameterFieldWidgetValue.tsx
- frontend/src/metabase/parameters/components/widgets/ParameterFieldWidget/ParameterFieldWidgetValue/ParameterFieldWidgetValue.unit.spec.js 3 additions, 5 deletions...erFieldWidgetValue/ParameterFieldWidgetValue.unit.spec.js
- frontend/src/metabase/parameters/components/widgets/ParameterFieldWidget/normalizeValue.ts 1 addition, 1 deletion...components/widgets/ParameterFieldWidget/normalizeValue.ts
- frontend/src/metabase/parameters/components/widgets/Widget.styled.tsx 1 addition, 1 deletion.../metabase/parameters/components/widgets/Widget.styled.tsx
- frontend/src/metabase/parameters/utils/formatting.ts 18 additions, 2 deletionsfrontend/src/metabase/parameters/utils/formatting.ts
- frontend/src/metabase/parameters/utils/formatting.unit.spec.ts 12 additions, 0 deletions...end/src/metabase/parameters/utils/formatting.unit.spec.ts
- frontend/test/metabase/scenarios/admin/tools/erroring-questions.cy.spec.js 1 addition, 1 deletion...abase/scenarios/admin/tools/erroring-questions.cy.spec.js
- frontend/test/metabase/scenarios/embedding/embedding-native.cy.spec.js 4 additions, 2 deletions.../metabase/scenarios/embedding/embedding-native.cy.spec.js
- frontend/test/metabase/scenarios/native-filters/helpers/e2e-field-filter-helpers.js 3 additions, 3 deletions...narios/native-filters/helpers/e2e-field-filter-helpers.js
- frontend/test/metabase/scenarios/native-filters/helpers/e2e-sql-filter-helpers.js 1 addition, 1 deletion...cenarios/native-filters/helpers/e2e-sql-filter-helpers.js
Please register or sign in to comment