Skip to content
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

Add timeSelectorDropdown to timeMachine #4287

Merged
merged 1 commit into from
Aug 27, 2018

Conversation

ischolten
Copy link
Contributor

@ischolten ischolten commented Aug 25, 2018

Closes #4141

Briefly describe your proposed changes:
Add time selector dropdown into time machine. Store state in redux.
The time selector will default to the time set for the dashboard. This time selector does not update the time for the entire dashboard.

  • CHANGELOG.md updated with a link to the PR (not the Issue)
  • Rebased/mergeable
  • Tests pass

@ischolten ischolten force-pushed the flux/time-selection-dropdown branch from fa5ca94 to ae0633f Compare August 25, 2018 00:49
@@ -39,6 +47,13 @@ const TimeMachineControls: SFC<Props> = ({
isDynamicSourceSelected={isDynamicSourceSelected}
onSelectDynamicSource={onSelectDynamicSource}
/>

<div style={{padding: 15}}>
Copy link
Contributor

Choose a reason for hiding this comment

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

Try to avoid inline styles wherever possible unless we need to dynamically control them with javascript.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will do!

@ischolten ischolten force-pushed the flux/time-selection-dropdown branch from ae0633f to 4110947 Compare August 27, 2018 17:46
@ischolten ischolten merged commit b7a0969 into master Aug 27, 2018
@ischolten ischolten deleted the flux/time-selection-dropdown branch August 27, 2018 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants