Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EuiSuperDatePicker] Clicking “Now” tab changes the value #1598

Closed
formgeist opened this issue Feb 26, 2019 · 3 comments
Closed

[EuiSuperDatePicker] Clicking “Now” tab changes the value #1598

formgeist opened this issue Feb 26, 2019 · 3 comments
Assignees

Comments

@formgeist
Copy link
Contributor

It is a bit surprising that simply clicking the “Now” tab is an action that changes the value, without any confirmation, or possibility of undoing.

image4

@cchaos
Copy link
Contributor

cchaos commented Feb 26, 2019

So what's happening here is that now = 0 seconds ago which is what the Relative tab changes back to. It's the same way we try to persist the currently selected time in a relative fashion even when it's an absolute date:

I'm not sure what the call should be here. @nreese @snide Thoughts?

@formgeist
Copy link
Contributor Author

Perhaps instead of having a tab/button option, make "Now" an option in the Relative pane?

@cchaos cchaos self-assigned this Feb 26, 2019
@cchaos
Copy link
Contributor

cchaos commented Feb 26, 2019

I'm going to try to come up with some ideas/mocks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants