superset icon indicating copy to clipboard operation
superset copied to clipboard

[Explore View] Make Time selections more usable

Open vylc opened this issue 8 years ago • 3 comments

Updates to make filtering on time more efficient: (1) Default to 'Relative' tab. Allow the user choose commonly used time frames (ie. last week, last month, etc.) (2) After clicking on either Since or Until, there should be affordances to modify both Since and Until values at the same time (3) Freeform and Fixed can be combined. Get to these options by clicking on the tab. (4) Once the date/time has been selected on the calendar popup, it should close to avoid multiple windows showing up (5) OK button to be moved to lower right corner as standard UI design pattern (not shown, but 'Cancel' should be to the left of OK and should be a white button, black/grey text. (6) Allow type in for fixed dates - currently limited to just being able to select from calendar popup

screen shot 2018-01-25 at 2 38 57 pm screen shot 2018-01-25 at 2 39 05 pm

Make sure these boxes are checked before submitting your issue - thank you!

  • [x] I have checked the superset logs for python stacktraces and included it here as text if any
  • [x] I have reproduced the issue with at least the latest released version of superset
  • [x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

0.23.0rc1

Expected results

Actual results

Steps to reproduce

vylc avatar Jan 25 '18 22:01 vylc

@vylc, a few questions about this:

I understand that in this new design the relative tab sets both the since and until fields. How does this work? If I select "last week" will this set since to -7 days and until to now?

What happens if I then click until and make a new selection, say, "last day"? Will this set since to -1 day and until to now? Or is the time range now from -7 days to -1 day?

betodealmeida avatar Apr 23 '18 19:04 betodealmeida

Good question. Since we are overhauling, maybe we just get rid of the Until selection altogether and do something like this screen shot 2018-04-24 at 12 00 11 pm

So the user can override the Until through that input box below. By default, we set it to now, but they can do some sort of free form text to specify. Thoughts?

vylc avatar Apr 24 '18 19:04 vylc

Done

vylc avatar Feb 15 '19 23:02 vylc