Skip to content

Commit

Permalink
Merge branch 'master' into telemetry_collection_xpack-to-ts-project-r…
Browse files Browse the repository at this point in the history
…eferences
  • Loading branch information
TinaHeiligers committed Oct 21, 2020
2 parents 6ff1d00 + 32e54bb commit b4e2f8b
Show file tree
Hide file tree
Showing 127 changed files with 2,947 additions and 2,026 deletions.
2 changes: 2 additions & 0 deletions docs/api/dashboard/export-dashboard.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ experimental[] Export dashboards and corresponding saved objects.

`GET <kibana host>:<port>/api/kibana/dashboards/export`

`GET <kibana host>:<port>/s/<space-id>/api/kibana/dashboards/export`

[[dashboard-api-export-params]]
==== Query parameters

Expand Down
2 changes: 2 additions & 0 deletions docs/api/dashboard/import-dashboard.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ experimental[] Import dashboards and corresponding saved objects.

`POST <kibana host>:<port>/api/kibana/dashboards/import`

`POST <kibana host>:<port>/s/<space-id>/api/kibana/dashboards/import`

[[dashboard-api-import-params]]
==== Query parameters

Expand Down
2 changes: 1 addition & 1 deletion docs/discover/kuery.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ KQL supports `>`, `>=`, `<`, and `<=`. For example:

[source,yaml]
-------------------
account_number:>=100 and items_sold:<=200
account_number >= 100 and items_sold <= 200
-------------------

[discrete]
Expand Down
3 changes: 3 additions & 0 deletions docs/settings/monitoring-settings.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ a|`monitoring.cluster_alerts.`
health checks. By default, it matches the <<elasticsearch-pingTimeout, `elasticsearch.pingTimeout`>> setting,
which has a default value of `30000`.

| `monitoring.ui.elasticsearch.ssl`
| Shares the same configuration as <<elasticsearch-ssl-cert-key, `elasticsearch.ssl`>>. These settings configure encrypted communication between {kib} and the monitoring cluster.

|===

[float]
Expand Down
5 changes: 2 additions & 3 deletions docs/user/dashboard/dashboard-drilldown.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ TIP: If you don’t see data for a panel, try changing the time range.
. Set a search and filter.
+
[%hardbreaks]
Search: `extension.keyword:( “gz” or css or deb)`
Filter: `geo.src : CN`
Search: `extension.keyword: ("gz" or "css" or "deb")`
Filter: `geo.src: CN`


*Create the drilldown*
Expand Down Expand Up @@ -94,4 +94,3 @@ image::images/drilldown_on_panel.png[Drilldown on pie chart that navigates to an
+
You are navigated to your destination dashboard. Verify that the search query, filters,
and time range are carried over.

Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { getServices } from '../../../../kibana_services';
import { fetchAnchorProvider } from '../api/anchor';
import { fetchContextProvider } from '../api/context';
import { getQueryParameterActions } from '../query_parameters';
import { FAILURE_REASONS, LOADING_STATUS } from './constants';
import { FAILURE_REASONS, LOADING_STATUS } from './index';
import { MarkdownSimple } from '../../../../../../kibana_react/public';

export function QueryActionsProvider(Promise) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
*/

export { QueryActionsProvider } from './actions';
export { FAILURE_REASONS, LOADING_STATUS } from './constants';
export { FAILURE_REASONS, LOADING_STATUS } from '../../../components/context_app/constants';
export { createInitialLoadingStatusState } from './state';
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* under the License.
*/

import { LOADING_STATUS } from './constants';
import { LOADING_STATUS } from './index';

export function createInitialLoadingStatusState() {
return {
Expand Down
46 changes: 12 additions & 34 deletions src/plugins/discover/public/application/angular/context_app.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@


<!-- Error feedback -->
<context-error-message
status="contextApp.state.loadingStatus.anchor.status"
<context-error-message
status="contextApp.state.loadingStatus.anchor.status"
reason="contextApp.state.loadingStatus.anchor.reason">
</context-error-message>

Expand All @@ -35,39 +35,17 @@
type="'predecessors'"
></context-action-bar>


<!-- Loading feedback -->
<div
ng-if="[
contextApp.constants.LOADING_STATUS.UNINITIALIZED,
contextApp.constants.LOADING_STATUS.LOADING,
].includes(contextApp.state.loadingStatus.anchor.status)"
class="kuiPanel kuiPanel--centered kuiVerticalRhythm"
>
<div
class="kuiTableInfo"
i18n-id="discover.context.loadingDescription"
i18n-default-message="Loading…"
></div>
</div>

<!-- Table -->
<div
ng-if="contextApp.state.loadingStatus.anchor.status === contextApp.constants.LOADING_STATUS.LOADED"
class="kuiPanel kuiVerticalRhythm"
>
<div class="discover-table" fixed-scroll>
<doc-table
filter="contextApp.actions.addFilter"
hits="contextApp.state.rows.all"
index-pattern="contextApp.indexPattern"
sorting="contextApp.state.queryParameters.sort"
columns="contextApp.state.queryParameters.columns"
infinite-scroll="true"
minimum-visible-rows="contextApp.state.rows.all.length"
></doc-table>
</div>
</div>
<context-app-legacy
filter="contextApp.actions.addFilter"
hits="contextApp.state.rows.all"
index-pattern="contextApp.indexPattern"
sorting="contextApp.state.queryParameters.sort"
columns="contextApp.state.queryParameters.columns"
infinite-scroll="true"
minimum-visible-rows="contextApp.state.rows.all.length"
status="contextApp.state.loadingStatus.anchor.status"
></context-app-legacy>

<!-- Controls -->
<context-action-bar
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
@import 'no_results';
@import 'histogram';
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,5 @@
* under the License.
*/

import { DiscoverNoResults } from './no_results';
import { DiscoverUninitialized } from './uninitialized';
import { DiscoverHistogram } from './histogram';
import { getAngularModule } from '../../../kibana_services';

const app = getAngularModule();

app.directive('discoverNoResults', (reactDirective) => reactDirective(DiscoverNoResults));

app.directive('discoverUninitialized', (reactDirective) => reactDirective(DiscoverUninitialized));

app.directive('discoverHistogram', (reactDirective) => reactDirective(DiscoverHistogram));
export { DiscoverUninitialized } from './uninitialized';
export { DiscoverHistogram } from './histogram';
Loading

0 comments on commit b4e2f8b

Please sign in to comment.