-
- Downloads
Fix several bugs in relative datetime filters (#22321)
**Changing the granularity of the `Past`/`Next` range picker now changes the granularity of the `Starting from` option** - Fixes #22222 - Reproduces #22222 --- **`Include this quarter` now displays correctly** - Fixes #22224 --- **Now shows the correct date preview in `Past`/`Next` range picker** - Fixes #22225 - Reproduces #22225 --- **Can now change `Past`/`Next` granularity when the value is set to `1`** - Fixes #22227 - Reproduces #22227 --- **`Next` relative filter pill text now reads `from now` instead of `ago`** - Fixes #22228 - Reproduces #22228
Showing
- frontend/src/metabase/lib/query_time.js 38 additions, 31 deletionsfrontend/src/metabase/lib/query_time.js
- frontend/src/metabase/query_builder/components/filters/pickers/DatePicker/DateUnitSelector.tsx 3 additions, 0 deletions...omponents/filters/pickers/DatePicker/DateUnitSelector.tsx
- frontend/src/metabase/query_builder/components/filters/pickers/DatePicker/RelativeDatePicker.tsx 10 additions, 1 deletion...ponents/filters/pickers/DatePicker/RelativeDatePicker.tsx
- frontend/test/metabase/scenarios/filters/relative-datetime.cy.spec.js 137 additions, 37 deletions...t/metabase/scenarios/filters/relative-datetime.cy.spec.js
- frontend/test/metabase/scenarios/native-filters/helpers/e2e-date-filter-helpers.js 1 addition, 1 deletion...enarios/native-filters/helpers/e2e-date-filter-helpers.js
Loading
Please register or sign in to comment