Skip to content

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

Closed

Description

@formgeist

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

Activity

  1. cchaos commented on Feb 26, 2019

    @cchaos
    Contributor

    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?

  2. added
    design decision
    on Feb 26, 2019
  3. formgeist commented on Feb 26, 2019

    @formgeist
    ContributorAuthor

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

  4. self-assigned this
    on Feb 26, 2019
  5. cchaos commented on Feb 26, 2019

    @cchaos
    Contributor

    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

Metadata

Metadata

Assignees

Labels

design decision

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions