Skip to content

[EuiDatePicker] Unable to see difference between selected/disabled times when using showTimeSelectOnly #4215

Closed

Description

@smhutch

Demo showing the issue.

Current design

Which of these are selectable? You can't tell until hovering, but all after 5:30pm are disabled.

Image 2020-11-03 at 7 37 23 AM

Desired design

Something like:

Image 2020-11-03 at 7 38 16 AM

Activity

  1. added
    design decision
    on Nov 3, 2020
  2. added and removed
    design decision
    on Nov 4, 2020
  3. Dishebh commented on Dec 10, 2020

    @Dishebh
    Contributor

    Hi @smhutch @cchaos, has the issue been resolved? Somehow, I'm not able to replicate the issue.

  4. smhutch commented on Jan 18, 2021

    @smhutch
    ContributorAuthor

    Hi @Dishebh. Thanks for taking a look into it.

    This demo shows the issue (the issue is shown in the top example, and a "fixed" design is shown below it).

  5. anuragxxd commented on Feb 15, 2021

    @anuragxxd
    Contributor

    @smhutch I am working on this.

  6. anuragxxd commented on Feb 15, 2021

    @anuragxxd
    Contributor

    This is working fine I think this is not an issue now I am not able to replicate this. @smhutch

  7. smhutch commented on Feb 15, 2021

    @smhutch
    ContributorAuthor

    Thanks for taking a look @git-anurag-hub. I can still see the issue in the demo. To clarify, the issue is only shown in the first date picker shown. The second date picker shows a proposed solution.

  8. anuragxxd commented on Feb 15, 2021

    @anuragxxd
    Contributor

    @smhutch got the problem the problem lies inside this showTimeSelectOnly when this is enabled doesn't do right thing.

  9. anuragxxd commented on Feb 15, 2021

    @anuragxxd
    Contributor

    Screenshot 2021-02-15 at 7 09 56 PM

    @smhutch Is this good?

  10. smhutch commented on Feb 15, 2021

    @smhutch
    ContributorAuthor

    @git-anurag-hub that looks good to me. Thanks! 👍

    It might be worth confirming with @cchaos or @thompsongl to confirm they are happy with this approach.

  11. anuragxxd commented on Feb 15, 2021

    @anuragxxd
    Contributor

    Can I open the pr? @smhutch

  12. cchaos commented on Feb 17, 2021

    @cchaos
    Contributor

    Closed by #4524

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions