Commit graph

1091 commits

Author SHA1 Message Date
Josh Dover
648209981d
[new-platform] Improve naming and consistency in Plugin types (#34725) (#34882) 2019-04-10 17:08:25 -05:00
lcawl
a4acd3f0d1 [DOCS] Removes coming tags 2019-04-10 08:33:07 -07:00
Mikhail Shustov
e0afa46852
[New platform] Restrict import from core&plugin internals for ts files (#34688) (#34859)
* eslint-plugin-import should resolve *.ts files

* no_restricted_paths adc support filename exclusion

* fix linter errors

* update autogenerateds docs

* export directly
2019-04-10 15:58:32 +02:00
lcawl
197703c5f8 [DOCS] Temporarily omit broken link in upgrade known issues 2019-04-09 10:42:02 -07:00
Sarah Hersh
e0e2e286a5 add beats issue (#34800) 2019-04-09 12:26:02 -04:00
Shaunak Kashyap
21075e777c
Docs: Simplifying setup by using module configuration variant syntax (#34599) (#34726)
Now that https://github.com/elastic/beats/pull/9118 is merged, starting 7.1 users will be able configure Metricbeat for monitoring Kibana instances using a simpler syntax.

Previously, users would have to run `metricbeat modules enable kibana` to enable the `kibana` Metricbeat module, then configure the module for Stack Monitoring by manually editing `modules.d/kibana.yml`. Going forward, users will be able to achieve the same effect by running `metricbeat modules enable kibana-xpack`.

This PR updates the docs with this change.

Related: https://github.com/elastic/elasticsearch/pull/40879
2019-04-08 09:51:56 -07:00
Rudolf Meijering
8dbff4f1ef
Overlay core service (#34261) (#34717)
* Move ui/flyout to overlay core service

* Remove onClose in parameter (use FlyoutSession instead)

* Fix tests

* Remove old inspector tests

* Proper TODO message

* Convert flyout service to class

* Use correct i18n

* Resolving weird merge conflicts

* Fix panel plugin test

* Change new platform access

* Add more tests

* Remove commented tests

* Revert test fix (core is actually not fixed yet)

* Fix tests

* Expose onClose as Observable

* Use jest.doMock

* Fix typos

* Core start() -> setup()

* Remove @extends EventEmitter docs

* Refactor and test flyoutservice

* Fix comments: promise -> observable

* Fix tests

* Explicitly define OverlaySetup

* Fix OverlaySetup type signature

* Update Core API review file and docs

* Remove redudant if case

* Change FlyoutRef.onClose into a promise

* Remove redundante cleanup

* Use promise.finally

* Remove targetDomElement from openFlyout()

There's no need to support multiple targetDomElements per FlyoutService
and the current implementation handled this use case incorrectly.

Instead of adding complexity to try to support it, remove this from the
function signature.

* Fix + test to ensure child components are unmounted when a new flyover is displayed

* Wrap flyover in i18n Context component

* TSlint -> ESlint + test improvements
2019-04-08 16:43:58 +02:00
Sarah Hersh
df3e49e553 [DOCS] Adds release notes for 7.0.0 (#34649) 2019-04-08 09:42:36 -04:00
Lisa Cawley
fdc71b60dd [DOCS] Updates data recognizer screenshots for ECS (#34596) 2019-04-05 11:38:36 -07:00
gchaps
fcf30e8fef [DOCS] Fixes formatting in plugin and l10 docs (#34594) 2019-04-05 08:26:41 -07:00
gchaps
a707f077f4
[DOCS] Updated image in highlights doc (#34576)
* [DOCS] Updated image in highlights doc

* Update docs/release-notes/highlights-7.0.0.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
2019-04-04 14:00:45 -07:00
Rudolf Meijering
8945b56fe2
[7.x] Generate core API docs from TSDoc comments (#32148) (#34421)
* Generate core API docs from TSDoc comments (#32148)

* Generate core API docs from TSDoc comments

Uses api-extractor and api-documenter to generate documentation for
the Kibana core API from TSDoc comments in the source code.

Documentation can be generated using `npm run docs:api`.

I used --no-verify to ignore the following pre-commit hook errors:
1. Filenames MUST use snake_case - api-extractor.json
   It's possible to specify a different config file, but I prefer to keep the "standard" config file name.
2. UNHANDLED ERROR: Unable to find tsconfig.json file selecting "common/core_api_review/kibana.api.ts". Ensure one exists and it is listed in "src/dev/typescript/projects.ts"
   This is not a source file, so safe to ignore.

* Flesh out API docs a little bit

* Ignore snake_case check for api-extractor.json

* Ignore api-extractor's review file from pre-commit check

* Try to fix build failing by using masters yarn.lock

* I'm being stupid

* Found a better home for ignoring common/core_api_review/kibana.api.ts

* Node script for detecting core API changes

I initially wanted to include this as a precommit hook, but it takes
quite long to execute (~12s) so might be better suited as a test or
as part of the release process.

The script currently fails because api-extractor uses an older version
of typescript.

* Fix tslint precommit hook ignore condition

* Write tsdoc-metadata.json into ./build

* Add LogMeta and ElasticSearch to exported types & docs

* Suppress logging when running api-extractor from script

* Improve check_core_api_changes script and run as test

* Inline api-extractor.json config

* Fix check_core_api_changes --help flag

* LogMeta TSDoc comments

* check_core_api_changes: fail if api-extractor produces warnings or errors

And print more useful messages to the console

* Move ignored ts files list into dev/file

* Add back build:types since api-exporter cannot operate on source files

* Upgrade api-exporter/documenter

* api-extractor: independantly analyze core/public and core/server

Becasue of https://github.com/Microsoft/web-build-tools/issues/1029
api-extractor can't use core/index.ts as a single entry point for
analyzing the public and server API's as isolated namespaces.

Instead we analyze these projects separately. This introduces other
problems like the api review files and documentation always being
called "kibana." from the package.json filename.

* Build types as part of build task

* Include types in typescript browser compilation

* Force inclusion of core/public for building types

* Fix api review filename in api-exporter errors

* Update docs and API review files

* Fix api-extractor warnings

* Remove ts file ignored list since it's no longer necessary

* Rename exported api package name

* Review comments

* Export other missing types

* Upgrade api-documenter to latest beta

* Export more missing types

* Fix warnings and add api-exporter to Jenkins tests

* Correctly handle runBuildTypes() exceptions

* Fix another swallowed exception

* Fix api-extractor warnings after master merge

* Update yarn.lock

* Fix erraneous type

* Revert "Update yarn.lock"

This reverts commit 85a8093015.

* Revert "Fix erraneous type"

This reverts commit 7f0550c0ae.

* Backport https://github.com/elastic/kibana/pull/32440

* Update core api signature and docs
2019-04-04 20:59:09 +02:00
Sarah Hersh
e97b329082 resolve merge conflict between master and 6.7 (#34570)
[DOCS] Adds i18n docs to master
2019-04-04 14:17:59 -04:00
Mike Côté
03202f5484
Modify saved object import APIs to handle special use cases from the previous import process (#34161) (#34539)
* Modify import APIs to handle special use cases from the previous import process

* Cleanup

* Add more examples to the docs

* Make title come from data inside file

* Fix some broken tests

* Fix docs

* Fix docs wording

* Apply PR feedback pt1

* Apply PR feedback pt2
2019-04-04 10:25:05 -04:00
Nathan Reese
51ee25a149
[Maps] search bar docs (#34315) (#34491)
* [Maps] search bar docs

* rename indexes to indicies and other text refinement feedback

* add example queries

* remove unused image

* Update docs/maps/search.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>
2019-04-03 16:16:49 -06:00
Brandon Morelli
48397fffbe docs: update tutorial (#34295) 2019-04-03 16:51:02 -04:00
Mike Côté
99d9b11dc7
Modify saved object export API to support exporting nested dependencies (#34225) (#34476)
* Modify saved object export API to be able to export nested dependencies

* Apply verbal feedback

* Apply PR feedback
2019-04-03 16:37:51 -04:00
lcawl
2e63955b9b [DOCS] Fixes error in changelog 2019-04-03 10:18:50 -07:00
Lisa Cawley
9bee0f3a70
[DOCS] Adds known monitoring issue to release notes (#34391) 2019-04-03 09:57:44 -07:00
lcawl
6468911fa4 [DOCS] Removes coming tags 2019-04-03 08:40:57 -07:00
Sarah Hersh
62c3ec2f72 [DOCS] Adds RN for 7 0 rc2 (#34309)
* add PRs for rc2

* add ml pr

* adds coming tag

* moves kibana app PRs to visualizations
2019-04-02 17:40:24 -04:00
gchaps
d3e469d933 [DOCS] Updates Create Pipeline doc (#34359) 2019-04-02 13:25:26 -07:00
gchaps
57d8d59973
[Docs] Incorporates edits into highlights doc (#34311) 2019-04-01 14:14:15 -07:00
Sarah Hersh
ae2c72bbcc [DOCS] Updates 7.0 upgrade guide (#34121) 2019-04-01 17:03:42 -04:00
Lisa Cawley
5cad03f445 [DOCS] Work around for titleabbrev errors (#34201) 2019-04-01 13:36:31 -07:00
Lisa Cawley
9daffb7c59 [DOCS] Adds X-Pack icon for Canvas (#34173) 2019-04-01 11:43:38 -07:00
Lisa Cawley
72c47d1f3e [DOCS] Adds X-Pack icon for index management (#34175) 2019-04-01 10:03:47 -07:00
Lisa Cawley
2e51b38aff [DOCS] Adds X-Pack icon for ILM (#34178) 2019-04-01 09:34:48 -07:00
Peter Pisljar
cc171423ec
adding yml switch for using interpreter in expressions (#33832) (#34265) 2019-04-01 18:04:23 +02:00
Lisa Cawley
0dd4fc5a7e [DOCS] Adds X-Pack icon for rollup management (#34182) 2019-04-01 09:02:43 -07:00
Lisa Cawley
6d0007842c [DOCS] Adds X-Pack icon for maps (#34170) 2019-04-01 08:45:24 -07:00
CJ Cenizal
a10821001b
Fix docs typo sniffOnConectionFault -> sniffOnConnectionFault. (#34189) (#34196) 2019-03-29 14:28:19 -07:00
Sarah Hersh
581caccd20 [DOCS]Update UI names in Reporting doc (#34073) 2019-03-28 13:39:51 -04:00
Lisa Cawley
5999ccf57d [DOCS] Fixes anchor in ordered list (#34092) 2019-03-28 10:23:01 -07:00
Sarah Hersh
f8db3a74cd
[DOCS]Updates to release highlights (#34015) 2019-03-27 18:04:45 -04:00
Lukas Olson
002fc5e937 Remove segmented fetch (#33453)
* Remove segmented fetch

* Fix namespace

* Remove unused translations
2019-03-27 14:14:55 -07:00
Lisa Cawley
b1cc795e79 [DOCS] Removes abbrevtitles from parts (#34002) 2019-03-27 13:52:11 -07:00
Sarah Hersh
105f4b4cf0 [DOCS] Removes empty image link (#30125) 2019-03-27 13:44:49 -07:00
Lisa Cawley
1043144e6c [DOCS] Remove out-dated link (#33980) 2019-03-27 10:38:05 -07:00
lcawl
732cfb5a4f [DOCS] Fixes bulleted list 2019-03-27 10:14:42 -07:00
Lisa Cawley
96b9584935 [DOCS] Identifies notable highlights (#33969) 2019-03-27 09:28:22 -07:00
Sarah Hersh
ef6c226d0e
[DOCS]removes coming tag (#33966) 2019-03-27 11:52:21 -04:00
gchaps
8727e6d8e9
[DOCS] Adds 7.0.0 Highlights doc (#33906)
* [DOCS] Adds 7.0.0 Highlights doc

* [DOCS] Adds images for Canvas to highlights doc

* [DOCS] Adds section on responsive dashboards
2019-03-27 08:20:32 -07:00
Josh Dover
43b1b5e008
[docs] Add docs for Add Default Field API (#33792)
* [docs] Add docs for Add Default Field API

* Apply suggestions from code review

Co-Authored-By: joshdover <me@joshdover.com>

* Update copy

[skip ci]
2019-03-27 09:08:07 -05:00
Tiago Costa
06d218e0c4
docs(NA): missing header for unit testing. (#33895) (#33909) 2019-03-27 00:42:29 +00:00
Tiago Costa
4213441df7
[7.x] Migration to Babel7 and @babel/preset-typescript (#33093) (#33889)
* chore(NA): merge and solve conflicts with 7.x branch

* docs(NA): fix docs build with page headers.
2019-03-27 00:40:12 +00:00
Sarah Hersh
11b5c7af51 move design enhancement (#33866) 2019-03-26 15:07:04 -04:00
Sarah Hersh
0e1b19acec [DOCS] Adds release notes for 7rc1 (#33816)
* compiling release notes

* adds release notes for 7rc1

* adds PRs from March 22

* feedback from review
2019-03-26 15:06:27 -04:00
Justin Kambic
67deee1aab
[Uptime] Add first draft of uptime docs (#31814) (#33727)
* Add first draft of uptime docs.

* Add first draft of uptime docs.

* Implement PR feedback.

* Add role info to uptime docs

* Impelement some more PR feedback.

* Attempt to add more copy focusing on the 'why' of each piece of the docs.

* uptime docs: grammar, formatting, order

* move location of uptime docs

* Implement more PR feedback.

* Add screenshots.
2019-03-25 18:01:19 -04:00
Spencer
883ea31bd2
[@kbn/expect] "fork" expect.js into repo (#33761) (#33794)
* [@kbn/expect] "fork" expect.js into repo

* [eslint] autofix references to expect.js

* [tslint] autofix all expect.js imports

* now that expect.js is in strict mode, avoid reassigning fn.length
2019-03-25 13:13:21 -07:00