-
Notifications
You must be signed in to change notification settings - Fork 839
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
EuiDatePicker: display more years than a range of +- 7 years #7869
Comments
Hey @vera, this looks like a valid concern. I think on our end we'll need to determine what an optimal solution would be here. |
We're marking this as "Low" priority for now. We need to figure out how many users in Elastic this impacts before we're able to commit to addressing this. In the meantime, we're adding a "help wanted" label, because we would accept a PR for this one. |
👋 Thank you for your suggestion or request! While the EUI team agrees that it's valid, it's unlikely that we will prioritize this issue on our roadmap. We'll leave the issue open if you or anyone else in the community wants to implement it by contributing to EUI. If not, this issue will auto close in one year. |
I think most typically at Elastic we're dealing with log data, which tends to fall within the available time frame, which is why this hasn't come up before. May I ask what type of data you are dealing with / what your use case is? |
Alright, it turns out this is already supported. This is actually not documented super well in our documentation, but the |
Is your feature request related to a problem? Please describe.
I think the user experience when changing the year in the EuiDatePicker is not ideal. Currently, only a range of +- 7 years of the currently selected year is available when changing the year:
This is cumbersome when I want to select a year much further in the past or future. I don't see any option to increase that range (please correct me if I'm wrong.)
Describe the solution you'd like
I would like an easier way to select years far in the past or future. Ideally, it should just be possible to "infinitely" scroll up and down in the year selection dropdown (maybe using virtual scrolling).
Additional context
I found another solution to the problem suggested in a related old issue (#4047):
However, I would prefer to simply extend the scroll range and that issue was closed due to inactivity.
The text was updated successfully, but these errors were encountered: