Skip to content

DateTimePicker Absolute Timerange#9253

Merged
kmerz merged 25 commits intofeature/DateTimePickerfrom
dtp_absolute_timerange
Nov 11, 2020
Merged

DateTimePicker Absolute Timerange#9253
kmerz merged 25 commits intofeature/DateTimePickerfrom
dtp_absolute_timerange

Conversation

@kyleknighted
Copy link
Copy Markdown
Contributor

@kyleknighted kyleknighted commented Oct 22, 2020

Motivation and Context

Update Absolute TimeRange to allow for more flexibility and control

Future iteration will include ability to toggle between just the top Input and the Calendar/Time Inputs below.

Screenshots (if appropriate):

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

@kyleknighted kyleknighted changed the title Dtp absolute timerange DateTimePicker Absolute Timerange Oct 23, 2020
@kyleknighted kyleknighted force-pushed the dtp_absolute_timerange branch 3 times, most recently from 84079b8 to bce40ef Compare October 29, 2020 15:39
@kyleknighted kyleknighted force-pushed the feature/DateTimePicker branch from 2956d59 to 3201af6 Compare November 3, 2020 18:31
@kyleknighted kyleknighted force-pushed the dtp_absolute_timerange branch from f1243eb to 52f745e Compare November 4, 2020 19:02
@kyleknighted kyleknighted force-pushed the feature/DateTimePicker branch from 3201af6 to 4ee6d34 Compare November 5, 2020 17:34
@kyleknighted kyleknighted force-pushed the dtp_absolute_timerange branch from ff8f0f3 to 73745cc Compare November 5, 2020 19:36
@kyleknighted kyleknighted marked this pull request as ready for review November 5, 2020 19:47
@kyleknighted kyleknighted mentioned this pull request Nov 5, 2020
9 tasks
Copy link
Copy Markdown
Member

@kmerz kmerz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cannot change the year only:
Peek 2020-11-06 11-17

On the video you see that I set the cursor on the end of the YYYY part and then I hit Backspace and the cursor is switched to the beginning and then the date time looks funny.

@kyleknighted kyleknighted force-pushed the dtp_absolute_timerange branch from 4f5f8d6 to 491b2e0 Compare November 9, 2020 15:28
@kyleknighted kyleknighted force-pushed the feature/DateTimePicker branch from 4ee6d34 to 7d49c4e Compare November 9, 2020 16:13
* 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
@kyleknighted kyleknighted force-pushed the dtp_absolute_timerange branch from 491b2e0 to 2ea8265 Compare November 10, 2020 14:05
@kyleknighted
Copy link
Copy Markdown
Contributor Author

@kmerz thank you for the feedback, updated the PR to fix your concerns!
image

@kyleknighted kyleknighted requested a review from kmerz November 10, 2020 19:36
Copy link
Copy Markdown
Member

@kmerz kmerz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍
Worked on my machine!

@kmerz kmerz merged commit 8cde98d into feature/DateTimePicker Nov 11, 2020
@kmerz kmerz deleted the dtp_absolute_timerange branch November 11, 2020 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants