-
- Downloads
Move the compare to the past aggregation to the bottom of the dropdown and...
Move the compare to the past aggregation to the bottom of the dropdown and hide it when no temporal breakouts are available (#46500) * Move the compare to the past aggregation to the bottom of the dropdown * Fix missing icon property * Hide 'Compare to the past' when there are no temporal columns * Update copy in tests * Add test for questions with no temporal columns * Fix unit test for AggregationPicker * Allow adding a compare aggregation when the first breakout is not temporal too * Rename to 'Compare to the past' in custom column action * Rename to 'Compare to the past' in column drill * Update copy in tests for actions and drills * Move canAddTemporalAggregation to CompareAggregation utils * Use aggregations from the query always * Remove unnecessary displayName check
Showing
- e2e/test/scenarios/question-reproductions/reproductions-3.cy.spec.js 1 addition, 1 deletion...enarios/question-reproductions/reproductions-3.cy.spec.js
- e2e/test/scenarios/question/column-compare.cy.spec.ts 153 additions, 76 deletionse2e/test/scenarios/question/column-compare.cy.spec.ts
- frontend/src/metabase/common/components/AggregationPicker/AggregationPicker.tsx 20 additions, 51 deletions...common/components/AggregationPicker/AggregationPicker.tsx
- frontend/src/metabase/common/components/AggregationPicker/AggregationPicker.unit.spec.tsx 4 additions, 14 deletions...ponents/AggregationPicker/AggregationPicker.unit.spec.tsx
- frontend/src/metabase/query_builder/components/CompareAggregations/CompareAggregations.unit.spec.tsx 12 additions, 16 deletions...nts/CompareAggregations/CompareAggregations.unit.spec.tsx
- frontend/src/metabase/query_builder/components/CompareAggregations/utils.ts 26 additions, 5 deletions...ase/query_builder/components/CompareAggregations/utils.ts
- frontend/src/metabase/querying/utils/drills/compare-aggregations-drill/compare-aggregations-drill.tsx 5 additions, 3 deletions...compare-aggregations-drill/compare-aggregations-drill.tsx
- frontend/src/metabase/visualizations/click-actions/actions/CompareAggregationsAction/CompareAggregationsAction.tsx 4 additions, 23 deletions...s/CompareAggregationsAction/CompareAggregationsAction.tsx
Loading
Please register or sign in to comment