Skip to content

Commit

Permalink
Merge branch 'main' into migrate-avatars
Browse files Browse the repository at this point in the history
  • Loading branch information
rshen91 authored Sep 1, 2022
2 parents 3224aaa + 892e632 commit 1e87680
Show file tree
Hide file tree
Showing 195 changed files with 5,563 additions and 1,566 deletions.
5 changes: 4 additions & 1 deletion .buildkite/pull_requests.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@
"^src/dev/prs/kibana_qa_pr_list\\.json$",
"^\\.buildkite/pull_requests\\.json$"
],
"always_require_ci_on_changed": ["^docs/developer/plugin-list.asciidoc$"],
"always_require_ci_on_changed": [
"^docs/developer/plugin-list.asciidoc$",
"/plugins/[^/]+/readme\\.(md|asciidoc)$"
],
"kibana_versions_check": true,
"kibana_build_reuse": true,
"kibana_build_reuse_pipeline_slugs": ["kibana-pull-request", "kibana-on-merge"],
Expand Down
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
/x-pack/plugins/graph/ @elastic/kibana-data-discovery
/x-pack/test/functional/apps/graph @elastic/kibana-data-discovery
/src/plugins/unified_field_list/ @elastic/kibana-data-discovery
/src/plugins/saved_objects_finder/ @elastic/kibana-data-discovery

# Vis Editors
/x-pack/plugins/lens/ @elastic/kibana-vis-editors
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/docs-preview-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Docs Preview Links

on:
pull_request_target:
types: [opened]
paths:
- '**.asciidoc'

jobs:
doc-preview:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
name: Add doc preview links
with:
script: |
const pr = context.payload.pull_request;
const comment = `Documentation preview:
- ✨ [Changed pages](https://${context.repo.repo}_${pr.number}.docs-preview.app.elstc.co/diff)`;
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: comment,
});
1 change: 1 addition & 0 deletions .i18nrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"newsfeed": "src/plugins/newsfeed",
"presentationUtil": "src/plugins/presentation_util",
"savedObjects": "src/plugins/saved_objects",
"savedObjectsFinder": "src/plugins/saved_objects_finder",
"savedObjectsManagement": "src/plugins/saved_objects_management",
"server": "src/legacy/server",
"share": "src/plugins/share",
Expand Down
17 changes: 7 additions & 10 deletions api_docs/core.devdocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -17474,13 +17474,7 @@
"{@link I18nServiceSetup}"
],
"signature": [
{
"pluginId": "core",
"scope": "server",
"docId": "kibCorePluginApi",
"section": "def-server.I18nServiceSetup",
"text": "I18nServiceSetup"
}
"I18nServiceSetup"
],
"path": "src/core/server/index.ts",
"deprecated": false
Expand Down Expand Up @@ -22202,7 +22196,10 @@
"tags": [],
"label": "I18nServiceSetup",
"description": [],
"path": "src/core/server/i18n/i18n_service.ts",
"signature": [
"I18nServiceSetup"
],
"path": "node_modules/@types/kbn__core-i18n-server/index.d.ts",
"deprecated": false,
"children": [
{
Expand All @@ -22217,7 +22214,7 @@
"signature": [
"() => string"
],
"path": "src/core/server/i18n/i18n_service.ts",
"path": "node_modules/@types/kbn__core-i18n-server/index.d.ts",
"deprecated": false,
"children": [],
"returnComment": []
Expand All @@ -22234,7 +22231,7 @@
"signature": [
"() => string[]"
],
"path": "src/core/server/i18n/i18n_service.ts",
"path": "node_modules/@types/kbn__core-i18n-server/index.d.ts",
"deprecated": false,
"children": [],
"returnComment": []
Expand Down
2 changes: 1 addition & 1 deletion api_docs/core.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que

| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 2656 | 1 | 101 | 3 |
| 2656 | 1 | 100 | 3 |

## Client

Expand Down
2 changes: 1 addition & 1 deletion api_docs/core_chrome.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que

| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 2656 | 1 | 101 | 3 |
| 2656 | 1 | 100 | 3 |

## Client

Expand Down
2 changes: 1 addition & 1 deletion api_docs/data.devdocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -8724,7 +8724,7 @@
"section": "def-common.TimeRange",
"text": "TimeRange"
},
" | undefined; }"
" | undefined; disableShardWarnings?: boolean | undefined; }"
],
"path": "src/plugins/data/common/search/expressions/kibana_context_type.ts",
"deprecated": false,
Expand Down
2 changes: 1 addition & 1 deletion api_docs/data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services

| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 3130 | 34 | 2440 | 23 |
| 3131 | 34 | 2441 | 23 |

## Client

Expand Down
2 changes: 1 addition & 1 deletion api_docs/data_query.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services

| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 3130 | 34 | 2440 | 23 |
| 3131 | 34 | 2441 | 23 |

## Client

Expand Down
23 changes: 18 additions & 5 deletions api_docs/data_search.devdocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -13895,7 +13895,7 @@
"label": "handleRequest",
"description": [],
"signature": [
"({ abortSignal, aggs, filters, indexPattern, inspectorAdapters, query, searchSessionId, searchSourceService, timeFields, timeRange, getNow, executionContext, }: ",
"({ abortSignal, aggs, filters, indexPattern, inspectorAdapters, query, searchSessionId, searchSourceService, timeFields, timeRange, disableShardWarnings, getNow, executionContext, }: ",
{
"pluginId": "data",
"scope": "common",
Expand Down Expand Up @@ -13923,7 +13923,7 @@
"id": "def-common.handleRequest.$1",
"type": "Object",
"tags": [],
"label": "{\n abortSignal,\n aggs,\n filters,\n indexPattern,\n inspectorAdapters,\n query,\n searchSessionId,\n searchSourceService,\n timeFields,\n timeRange,\n getNow,\n executionContext,\n}",
"label": "{\n abortSignal,\n aggs,\n filters,\n indexPattern,\n inspectorAdapters,\n query,\n searchSessionId,\n searchSourceService,\n timeFields,\n timeRange,\n disableShardWarnings,\n getNow,\n executionContext,\n}",
"description": [],
"signature": [
{
Expand Down Expand Up @@ -24764,6 +24764,19 @@
"path": "src/plugins/data/common/search/expressions/esaggs/request_handler.ts",
"deprecated": false
},
{
"parentPluginId": "data",
"id": "def-common.RequestHandlerParams.disableShardWarnings",
"type": "CompoundType",
"tags": [],
"label": "disableShardWarnings",
"description": [],
"signature": [
"boolean | undefined"
],
"path": "src/plugins/data/common/search/expressions/esaggs/request_handler.ts",
"deprecated": false
},
{
"parentPluginId": "data",
"id": "def-common.RequestHandlerParams.getNow",
Expand Down Expand Up @@ -27560,7 +27573,7 @@
"section": "def-common.TimeRange",
"text": "TimeRange"
},
" | undefined; }"
" | undefined; disableShardWarnings?: boolean | undefined; }"
],
"path": "src/plugins/data/common/search/expressions/kibana_context_type.ts",
"deprecated": false,
Expand Down Expand Up @@ -35203,7 +35216,7 @@
"section": "def-common.TimeRange",
"text": "TimeRange"
},
" | undefined; }"
" | undefined; disableShardWarnings?: boolean | undefined; }"
],
"path": "src/plugins/data/common/search/expressions/remove_filter.ts",
"deprecated": false,
Expand Down Expand Up @@ -35506,7 +35519,7 @@
"section": "def-common.TimeRange",
"text": "TimeRange"
},
" | undefined; }"
" | undefined; disableShardWarnings?: boolean | undefined; }"
],
"path": "src/plugins/data/common/search/expressions/select_filter.ts",
"deprecated": false,
Expand Down
2 changes: 1 addition & 1 deletion api_docs/data_search.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services

| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 3130 | 34 | 2440 | 23 |
| 3131 | 34 | 2441 | 23 |

## Client

Expand Down
75 changes: 75 additions & 0 deletions api_docs/kbn_core_i18n_server.devdocs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"id": "@kbn/core-i18n-server",
"client": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
},
"server": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
},
"common": {
"classes": [],
"functions": [],
"interfaces": [
{
"parentPluginId": "@kbn/core-i18n-server",
"id": "def-common.I18nServiceSetup",
"type": "Interface",
"tags": [],
"label": "I18nServiceSetup",
"description": [],
"path": "packages/core/i18n/core-i18n-server/src/types.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "@kbn/core-i18n-server",
"id": "def-common.I18nServiceSetup.getLocale",
"type": "Function",
"tags": [],
"label": "getLocale",
"description": [
"\nReturn the locale currently in use."
],
"signature": [
"() => string"
],
"path": "packages/core/i18n/core-i18n-server/src/types.ts",
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "@kbn/core-i18n-server",
"id": "def-common.I18nServiceSetup.getTranslationFiles",
"type": "Function",
"tags": [],
"label": "getTranslationFiles",
"description": [
"\nReturn the absolute paths to translation files currently in use."
],
"signature": [
"() => string[]"
],
"path": "packages/core/i18n/core-i18n-server/src/types.ts",
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
}
],
"enums": [],
"misc": [],
"objects": []
}
}
30 changes: 30 additions & 0 deletions api_docs/kbn_core_i18n_server.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
####
#### This document is auto-generated and is meant to be viewed inside our experimental, new docs system.
#### Reach out in #docs-engineering for more info.
####
id: kibKbnCoreI18nServerPluginApi
slug: /kibana-dev-docs/api/kbn-core-i18n-server
title: "@kbn/core-i18n-server"
image: https://source.unsplash.com/400x175/?github
description: API docs for the @kbn/core-i18n-server plugin
date: 2022-09-01
tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server']
---
import kbnCoreI18nServerObj from './kbn_core_i18n_server.devdocs.json';



Contact Kibana Core for questions regarding this plugin.

**Code health stats**

| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 3 | 0 | 1 | 0 |

## Common

### Interfaces
<DocDefinitionList data={kbnCoreI18nServerObj.common.interfaces}/>

Loading

0 comments on commit 1e87680

Please sign in to comment.