kibana/x-pack/plugins/infra
Kerry Gallagher a5fb494d84
[InfraUI] Use EuiSuperDatePicker on the Metrics page (#34427)
* Remove custom date picker for Metrics page, replace with EuiSuperDatePicker. Remove redux-observable for metrics-time state, replace with hooks.

Pass through refreshInterval and set it as part of the startMetricsAutoReload action

Refactor metric time controls to use EuiSuperDatePicker

Remove redux / redux-observable usage for MetricsTime, replace with hooks

Add useInterval hook and hook up to auto reloading

Add refresh interval support to the URL

Use more concise syntax

Add small styling

Add tests for metric_time

Add extra test

Add correct typings

Update time range immediately when auto reload is turned on (so we don't wait for the first interval to elapse)

Use stricter typing

Remove custom date range picker

Amend translations after removing custom date range picker

* Amend test for CI sensitivity

* Amend test assertions

* DRY up with useCallback
2019-04-09 12:49:04 +01:00
..
common Migrate from tslint (#33826) 2019-04-05 17:45:23 +01:00
docs [Infra UI] Add Docker / Metricbeat / Nginx guide (#32898) 2019-03-15 09:26:55 +01:00
public [InfraUI] Use EuiSuperDatePicker on the Metrics page (#34427) 2019-04-09 12:49:04 +01:00
scripts Migrate from tslint (#33826) 2019-04-05 17:45:23 +01:00
server Migrate from tslint (#33826) 2019-04-05 17:45:23 +01:00
types Migrate from tslint (#33826) 2019-04-05 17:45:23 +01:00
index.ts [InfraUI] Infrastructure navigation changes (#32892) 2019-03-18 14:11:16 +00:00
package.json fix(NA): recent unconforming licenses. (#25560) 2018-11-12 21:39:06 +00:00
tsconfig.json [Infra UI] Table View for Home Page (#29192) 2019-01-31 09:53:09 -07:00