Skip to content

[SuperDatePicker] Add a disabled state default text #6814

Closed

Description

@stratoula

Is your feature request related to a problem? Please describe.
In ESQL mode we have 2 kind of indices:

  • the indices which doesn't have an @timestamp field
  • the indices which have

For the first case is going to be handled as:

  • We communicate to the user that the @timestamp doesn't exist
  • We disable the SuperDatePicker

Disabing the SuperDatePicker means that we return all the data to the user. So in the screenshot below we want to depict to the user this information. So instead of having disabled and Last 24 hours, we want to depict disabled and a disabled status text All Time

image

Describe the solution you'd like
We would like a new property for the disabled status, a placeholder text to support the case I describe above. As ESQL is a high priority project it would be amazing if we could have it before the 8.9 FF 🙏

Activity

  1. self-assigned this
    on May 30, 2023
  2. JasonStoltz commented on May 30, 2023

    @JasonStoltz
    Contributor

    Hey @stratoula, @cee-chen is planning to take a look at implementing this week.

  3. stratoula commented on May 31, 2023

    @stratoula
    ContributorAuthor

    Amazing! Thank you @JasonStoltz and @cee-chen!

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions