chronograf icon indicating copy to clipboard operation
chronograf copied to clipboard

Add 90d, 180d and 1 year to the time selector for dashboards

Open nhaugo opened this issue 9 years ago • 2 comments

Only on the dashboard time selector, not the data explorer or host view for now.

nhaugo avatar Jun 28 '17 18:06 nhaugo

Correct me if I'm wrong, but I worry the stipulation that the changes to the ranges used by the TimeRangeDropdown should only be on the dashboard time selector, might significantly complicate and/or reduce the maintainability of the component in question.

It gets its configuration data from a single hson file, so either multiple files are introduced, and/or multiple components that do similar things. I could be wrong about the difficulty and aesthetics of this approach, perhaps there's a better way.

Though, perhaps it would shed more light on the matter if I knew the reason for why that stipulation is warranted in the first place.

tl;dr: RE: Only on the dashboard time selector, not the data explorer or host view for now: why? this might be end up being harder

cryptoquick avatar Jun 28 '17 23:06 cryptoquick

Thanks @cryptoquick wasn't sure these were the same component, lets punt on this for now.

nhaugo avatar Jun 29 '17 00:06 nhaugo