Skip to content

Commit e018b43

Browse files
Merge branch 'master' into remove-code-from-code-owners
2 parents 25663b7 + 9212eb2 commit e018b43

File tree

143 files changed

+2583
-1867
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+2583
-1867
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-public](./kibana-plugin-public.md) &gt; [App](./kibana-plugin-public.app.md) &gt; [chromeless](./kibana-plugin-public.app.chromeless.md)
4+
5+
## App.chromeless property
6+
7+
Hide the UI chrome when the application is mounted. Defaults to `false`<!-- -->. Takes precedence over chrome service visibility settings.
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
chromeless?: boolean;
13+
```

docs/development/core/public/kibana-plugin-public.app.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ export interface App extends AppBase
1616
1717
| Property | Type | Description |
1818
| --- | --- | --- |
19+
| [chromeless](./kibana-plugin-public.app.chromeless.md) | <code>boolean</code> | Hide the UI chrome when the application is mounted. Defaults to <code>false</code>. Takes precedence over chrome service visibility settings. |
1920
| [mount](./kibana-plugin-public.app.mount.md) | <code>(context: AppMountContext, params: AppMountParameters) =&gt; AppUnmount &#124; Promise&lt;AppUnmount&gt;</code> | A mount function called when the user navigates to this app's route. |
2021

docs/development/core/public/kibana-plugin-public.appmountparameters.appbasepath.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ How to configure react-router with a base path:
2121
export class MyPlugin implements Plugin {
2222
setup({ application }) {
2323
application.register({
24-
id: 'my-app',
25-
async mount(context, params) {
26-
const { renderApp } = await import('./application');
27-
return renderApp(context, params);
28-
},
29-
});
24+
id: 'my-app',
25+
async mount(context, params) {
26+
const { renderApp } = await import('./application');
27+
return renderApp(context, params);
28+
},
29+
});
30+
}
3031
}
3132

3233
```

docs/maps/images/grid_to_docs.gif

894 KB
Loading

docs/maps/maps-aggregations.asciidoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ Use {ref}/search-aggregations.html[aggregations] to plot large data sets without
77
Aggregations group your documents into buckets and calculate metrics for each bucket.
88
Your documents stay in Elasticsearch and only the metrics for each group are returned to your computer.
99

10+
Use aggregated layers with document layers to show aggregated views when the map shows larger
11+
amounts of the globe and individual documents when the map shows smaller regions.
12+
13+
In the following example, the Grid aggregation layer is only visible when the map is at zoom levels 0 through 5. The Documents layer is only visible when the map is at zoom levels 4 through 24.
14+
See the <<maps-add-elasticsearch-layer, Getting started>> tutorial for more details on configuring the layers.
15+
16+
[role="screenshot"]
17+
image::maps/images/grid_to_docs.gif[]
1018

1119
[role="xpack"]
1220
[[maps-grid-aggregation]]

docs/maps/maps-getting-started.asciidoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ image::maps/images/grid_metrics_both.png[]
150150
. In the map legend, click *Add layer*.
151151
. Click the *Grid aggregation* data source.
152152
. Set *Index pattern* to *kibana_sample_data_logs*.
153+
. Set *Show as* to *points*.
153154
. Click the *Add layer* button.
154155
. Set *Layer name* to `Total Requests and Bytes`.
155156
. Set *Zoom range for layer visibility* to the range [0, 9].
@@ -181,7 +182,7 @@ Now that your map is complete, you'll want to save it so others can use it.
181182

182183
. In the application toolbar, click *Save*.
183184
. Enter `Tutorial web logs map` for the title.
184-
. Click *Confirm Save*.
185+
. Click *Save*.
185186
+
186187
You have completed the steps for re-creating the sample data map.
187188

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
"@elastic/charts": "^14.0.0",
110110
"@elastic/datemath": "5.0.2",
111111
"@elastic/ems-client": "1.0.5",
112-
"@elastic/eui": "14.8.0",
112+
"@elastic/eui": "14.9.0",
113113
"@elastic/filesaver": "1.1.2",
114114
"@elastic/good": "8.1.1-kibana2",
115115
"@elastic/numeral": "2.3.3",

src/core/public/application/types.ts

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ export interface App extends AppBase {
8080
* @returns An unmounting function that will be called to unmount the application.
8181
*/
8282
mount: (context: AppMountContext, params: AppMountParameters) => AppUnmount | Promise<AppUnmount>;
83+
84+
/**
85+
* Hide the UI chrome when the application is mounted. Defaults to `false`.
86+
* Takes precedence over chrome service visibility settings.
87+
*/
88+
chromeless?: boolean;
8389
}
8490

8591
/** @internal */
@@ -145,12 +151,13 @@ export interface AppMountParameters {
145151
* export class MyPlugin implements Plugin {
146152
* setup({ application }) {
147153
* application.register({
148-
* id: 'my-app',
149-
* async mount(context, params) {
150-
* const { renderApp } = await import('./application');
151-
* return renderApp(context, params);
152-
* },
153-
* });
154+
* id: 'my-app',
155+
* async mount(context, params) {
156+
* const { renderApp } = await import('./application');
157+
* return renderApp(context, params);
158+
* },
159+
* });
160+
* }
154161
* }
155162
* ```
156163
*

0 commit comments

Comments
 (0)