-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
TimePicker: Add fiscal years and search to time picker #39073
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UI looking good so far! Left few nits/comments
packages/grafana-ui/src/components/DateTimePickers/TimeRangePicker/TimePickerContent.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
auto focus on search field clear don't close the time picker clear sets the focus on input field
|
packages/grafana-ui/src/components/DateTimePickers/TimeRangePicker/TimePickerFooter.tsx
Outdated
Show resolved
Hide resolved
I cannot use the keyboard to select the time ranges, I think this is pretty essential to make a search like this really useful and quick. Having a search input that support arrow up / down & enter to select seems like something that would be nice to have as a generic component that can be used for different list types :) |
I agree, I planned on adding that if we have time before the next release. |
fixed in e5b9d6c |
Timepicker bug (not related to this), #39806 |
great! |
* Add search to time picker * implement fiscal datemath Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com> (cherry picked from commit 738d5e4)
What this PR does / why we need it:
This adds fiscal year rounding to the time picker. It will now be possible to round to the start/end of a fiscal year or quarter using now/fy and now/fQ. When adding the fiscal time ranges the list got pretty long, so this also introduces a search function for the time picker.
Closes: #39052