From c42bd33e1efca923497bc2313a6b09bf0cf22b55 Mon Sep 17 00:00:00 2001 From: Dmitry Lemeshko Date: Thu, 5 Mar 2020 14:56:25 +0200 Subject: [PATCH] Convert discover_page to ts, remove redundunt methods (#59312) * convert discover_page to ts * remove deuplicated methods, improve tests --- .../discover/np_ready/angular/discover.html | 2 +- .../apps/discover/_discover_histogram.js | 7 +- .../apps/discover/_source_filters.js | 1 - .../{discover_page.js => discover_page.ts} | 194 ++++++++---------- test/functional/page_objects/index.ts | 2 - test/functional/services/doc_table.ts | 8 +- test/functional/services/elastic_chart.ts | 9 + 7 files changed, 100 insertions(+), 123 deletions(-) rename test/functional/page_objects/{discover_page.js => discover_page.ts} (58%) diff --git a/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/discover.html b/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/discover.html index 3fd3c5b5b7633..18254aeca5094 100644 --- a/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/discover.html +++ b/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/discover.html @@ -23,7 +23,7 @@

{{screenTitle}}

-