Rebuilding Date/Time Picker for more flexibility#9569
Merged
Conversation
* Migrating original range options to Popover * Converting existing DateTimePicker to Popover * Styling TimeRangeDisplay * Flow Tests * Some Cleanup * temp -> tempTimeRange * Linting * Keyword output * All time ranges loading properly * react hook linting * lint weak objects * Error on TimeRangeDisplay default type
* Migrating original range options to Popover * Converting existing DateTimePicker to Popover * Styling TimeRangeDisplay * Flow Tests * Some Cleanup * Linting * Rendering Live Preview * merge/rebase touchups
* Migrating original range options to Popover * Converting existing DateTimePicker to Popover * Styling TimeRangeDisplay * Flow Tests * Some Cleanup * Linting * merge/rebase touchups * Migrating original range options to Popover * Converting existing DateTimePicker to Popover * Flow Tests * Some Cleanup * Linting * Remove TimerangeSelector * Changing From time updates preview & saveable * Relative From Range working * Layout touchup and handle All Time uncheck * RelativeTimeRangeSelector tests * Clean up configuration of relative times * Disable All Time check if query limit defined * Wroking out a couple responsive issues, but needs more drastic code changes to fix other problems * merge/rebase touchups * lint * Updating some tests to get more passing * lint * reverting & commenting * update to newer function style
* Migrating original range options to Popover * Converting existing DateTimePicker to Popover * Styling TimeRangeDisplay * Flow Tests * Some Cleanup * temp -> tempTimeRange * Linting * Keyword output * All time ranges loading properly * react hook linting * lint weak objects * Error on TimeRangeDisplay default type
* Migrating original range options to Popover * Converting existing DateTimePicker to Popover * Styling TimeRangeDisplay * Flow Tests * Some Cleanup * Linting * Migrating original range options to Popover * Converting existing DateTimePicker to Popover * Flow Tests * Some Cleanup * Linting * Updating some tests to get more passing * TimeRangeLivePreview tests and flow typing * More tests & linting * failing tests & updated snaps * revert package * updating snaps
* Migrating original range options to Popover * Converting existing DateTimePicker to Popover * Styling TimeRangeDisplay * Flow Tests * Some Cleanup * temp -> tempTimeRange * Linting * Keyword output * All time ranges loading properly * react hook linting * lint weak objects * Error on TimeRangeDisplay default type
* Migrating original range options to Popover * Converting existing DateTimePicker to Popover * Styling TimeRangeDisplay * Flow Tests * Some Cleanup * Linting * Rendering Live Preview * merge/rebase touchups
* Migrating original range options to Popover * Converting existing DateTimePicker to Popover * Styling TimeRangeDisplay * Flow Tests * Some Cleanup * Linting * merge/rebase touchups * Migrating original range options to Popover * Converting existing DateTimePicker to Popover * Flow Tests * Some Cleanup * Linting * Remove TimerangeSelector * Changing From time updates preview & saveable * Relative From Range working * Layout touchup and handle All Time uncheck * RelativeTimeRangeSelector tests * Clean up configuration of relative times * Disable All Time check if query limit defined * Wroking out a couple responsive issues, but needs more drastic code changes to fix other problems * merge/rebase touchups * lint * Updating some tests to get more passing * lint * reverting & commenting * update to newer function style
kmerz
requested changes
Feb 4, 2021
Member
There was a problem hiding this comment.
- I have problem with the number input for relative timerange, but I will create an Issue for that.
- I tested it on my machine and beside the already mentioned problem it is fine.
- The only open think is the test which was commented out. Either delete the test if it is not relevant anymore, fix the test or add a comment why you cannot activate the test.
| // to: '2019-10-10T12:26:31.146Z', | ||
| // }, | ||
| // }))); | ||
| // }); |
edmundoa
approved these changes
Feb 4, 2021
Contributor
edmundoa
left a comment
There was a problem hiding this comment.
I haven't looked at the code but clicked around. It all seemed to work and I like it a lot, it makes things way easier to understand in my opinion. Great job! 🎉
kmerz
approved these changes
Feb 5, 2021
Member
kmerz
left a comment
There was a problem hiding this comment.
LGTM 👍
Worked on my machine! ✔️
dennisoelkers
requested changes
Feb 5, 2021
Contributor
Author
|
@dennisoelkers this is actually broken in master and not on this branch cc: @Gaya |
Contributor
|
This should fix that problem in develop #10026, sorry for the inconvience |
# Conflicts: # graylog2-web-interface/src/components/common/Select.tsx # graylog2-web-interface/src/views/components/DashboardSearchBar.tsx # graylog2-web-interface/src/views/components/SearchBar.tsx # graylog2-web-interface/src/views/components/widgets/EditWidgetFrame.tsx
dennisoelkers
approved these changes
Feb 8, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Description
Creating new Date & Time Range experience for the Search bar (Dashboard & Widgets included)
Motivation and Context
Allowing more flexibility in the date and time chosen by the User
Screenshots (if appropriate):
Types of changes
Checklist: