Skip to content

EuiSuperDatePicker - always call onTimeChange when showUpdateButton is false#1477

Merged
nreese merged 3 commits into
elastic:masterfrom
nreese:always_call_onTimeChange
Jan 25, 2019
Merged

EuiSuperDatePicker - always call onTimeChange when showUpdateButton is false#1477
nreese merged 3 commits into
elastic:masterfrom
nreese:always_call_onTimeChange

Conversation

@nreese
Copy link
Copy Markdown
Contributor

@nreese nreese commented Jan 25, 2019

Some more clean-up discovered from integrating EuiSuperDatePicker into Kibana QueryBar

  1. onTimeChange is not getting called on each update when showUpdateButton is false
  2. Need a way to know when onTimeChange is triggered from quick selection so the results can be applied immediately.

Copy link
Copy Markdown
Contributor

@chandlerprall chandlerprall left a comment

Choose a reason for hiding this comment

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

This looks sane. One formatting nit pick.

Comment thread src/components/date_picker/super_date_picker/super_date_picker.js Outdated
Comment thread src/components/date_picker/super_date_picker/super_date_picker.js
Copy link
Copy Markdown
Contributor

@chandlerprall chandlerprall left a comment

Choose a reason for hiding this comment

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

LGTM

@nreese nreese merged commit 17fdc20 into elastic:master Jan 25, 2019
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