[Lens] allow synonyms and spaces in time shift intervals configuration #102405
Labels
enhancement
New value added to drive a business result
Feature:Lens
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
usability
Describe the feature:
During usability testing someone attempted
8 w
and8 wk
as a shift interval. We should allow the spaces as a valid input if we are able. Would be nice to handle common synonyms and fully typed out intervals likemon
month
wk
week
day
yr
year
qtr
quarter
. Might also be good to allow the plural on all fully spelled out variantsmonths
weeks
days
years
quarters
Describe a specific use case for the feature:
A user entering a number can naturally enter a space between the number ("8") and the interval unit ("w") without thinking if it matches the time shift syntax which expects no space. we should remove spaces for them and allow this as a valid configuration
A user enters the full name of the interval (plus a space) like "8 weeks" and expects the "8w" shift
The text was updated successfully, but these errors were encountered: