From 469f41ccdf8e513ee79dfb37cc7909aef2c32c82 Mon Sep 17 00:00:00 2001 From: Liza K Date: Wed, 29 Jan 2020 13:40:09 +0200 Subject: [PATCH] Revert most of changes to dashboard app because of changes in #55443 --- .../dashboard/np_ready/dashboard_app.html | 21 ++++- .../dashboard/np_ready/dashboard_app.tsx | 20 +++- .../np_ready/dashboard_app_controller.tsx | 92 +++++++++++++++++++ 3 files changed, 127 insertions(+), 6 deletions(-) diff --git a/src/legacy/core_plugins/kibana/public/dashboard/np_ready/dashboard_app.html b/src/legacy/core_plugins/kibana/public/dashboard/np_ready/dashboard_app.html index 5c9584172c483..cc11ca4100020 100644 --- a/src/legacy/core_plugins/kibana/public/dashboard/np_ready/dashboard_app.html +++ b/src/legacy/core_plugins/kibana/public/dashboard/np_ready/dashboard_app.html @@ -13,11 +13,22 @@ show-save-query="showSaveQuery" query="model.query" + saved-query="savedQuery" screen-title="screenTitle" on-query-submit="updateQueryAndFetch" - index-patterns="indexPatterns" - use-default-behaviors="true" + index-patterns="indexPatterns" + filters="model.filters" + on-filters-updated="onFiltersUpdated" + date-range-from="model.timeRange.from" + date-range-to="model.timeRange.to" + is-refresh-paused="model.refreshInterval.pause" + refresh-interval="model.refreshInterval.value" + on-saved="onQuerySaved" + on-saved-query-updated="onSavedQueryUpdated" + on-clear-saved-query="onClearSavedQuery" + on-refresh-change="onRefreshChange" > +