chronograf icon indicating copy to clipboard operation
chronograf copied to clipboard

[Feature Request] Add time range selector to the Alert History page

Open rkuchan opened this issue 9 years ago • 7 comments

Currently, it's not possible to filter alerts on the time column on the ALERT HISTORY page. It would be cool/useful to have a time range selector (like the one for dashboards and the explorer) in the top bar.

rkuchan avatar Mar 16 '17 21:03 rkuchan

@alexpaxton can we get a design for this

nhaugo avatar Mar 27 '17 23:03 nhaugo

Can we find date picker for react then custom style it?

This one looks okay: https://hacker0x01.github.io/react-datepicker/#example-13 Wish it was possible to display the start/end times simultaneously though

This one looks awesome, made by Airbnb so likely solid: http://airbnb.io/react-dates/?selectedKind=DateRangePicker%20%28DRP%29&selectedStory=default&full=0&down=1&left=1&panelRight=0&downPanel=kadirahq%2Fstorybook-addon-actions%2Factions-panel

alexpaxton avatar Mar 28 '17 17:03 alexpaxton

Looks good, but needs to be a date time selector. Also, it sounds like we may already have one.

nhaugo avatar Mar 28 '17 17:03 nhaugo

Default selected time should be the past 24 hours

nhaugo avatar Mar 28 '17 17:03 nhaugo

@nhaugo do we need to remember the users selection for time range?

121watts avatar Mar 29 '17 16:03 121watts

no the default should always be current time and current time - 24 hours

nhaugo avatar Mar 30 '17 19:03 nhaugo

@121watts clicking on the time selector produces the correct query, but clears the alert list

nhaugo avatar Mar 30 '17 23:03 nhaugo