As an editor I want to query data with values within a certain range in order to find all the results I am looking for, not just the ones with the exact values.
Problem:
Right now we can only query with exact matching for 'date' and 'quantity values'.
Example:
- all countries with a population over X
- all books with more than X pages
- TV shows with less than X episodes
- people born between X and Y
- italien mountains higher than 4000m
Screenshots/mockups:
date/time ranges
Label 1: before
Label 2: after
quantity ranges
Label 1: less than
Label 2: more than
BDD
GIVEN a visual query
WHEN querying for Properties of datatype time
THEN the editor can also choose one of 'before"/"after' in the dropdown
GIVEN a visual query
WHEN querying for Properties of datatype quantity
THEN the editor can also choose one of 'less than"/"more than' in the dropdown
Acceptance criteria:
- Editors can choose between 'exact match' and 'range' for the given value when selecting a Property of datatype time or quantity.
- Range options are only available for time and quantity values.
- The range label varies depending on the datatype ("before"/"after" for time and "less than"/"more than" for quantity)