* 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
* Fix migrate significant terms include/exclude
* update ref to expect, update test initialization
* created function to encapsulate duplicated code
* commented seemingly extraneous code in test
* Removed extraneous initialization code from sig terms test, updated migrate_include_exclude_format.js to use named import from lodash, added localized displayName to sig terms
* Delete dirty prompt
* Moved check box directive
* Move kbn tooltip directive to watcher
* Moved toggle directives to watcher
* Moved json input directive to watcher
* Moved sortable column to watcher
* Fixed sortable column translations
* Remove kbn src directive (unused)
* Moved table cell directive to paginated table
* Moved number list into agg types
* Moved
- agg table
- paginated table
to table_vis plugin
* Moved draggable to vis editor
* Moved sort_prefix_first filter to agg types
* Now actions from dashboard/discovery/visualize listing table is screenreader accessible
* passing screen title to search_bar compoenent
* remove screen title from URL state
* removed obsolete translation for Asian language
* fix: add expression and filter to ElementWrapper propso
cause the component to re-render when these values change
* fix: correctly spread additional props
* chore: convert ElementWrapper to functional component
* chore: refactor ElementWrapper container
use connectAdvanced instead of connect since it provides a way to get a hold of dispatch just one time, so the handlers object can be built in the container and only updated when something actually changes
* fix: reset handlers isComplete when element changes
allow completeFn to be called again, required so that the correct external actions happen
* feat: make expression available on shapes object
* fix: reset done checker on function change
* fix: only rebuild handlers when element changes
rebuild on happens when id, filter, or expression change
* chore: remove unused ElementWrapper props
This commit introduces two changes:
- Adds new platform plugins as a new bundles to the optimizer
- A PluginsService in the UI that loads plugin bundles, initializes plugins, and manages the lifecycle of plugins.
* 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
* Add collector to ui_metric app so that it reports its own telemetry, so app maintainers don't need to update their apps' collectors.
* Remove UI metrics and some collectors from Index Manamgement, ILM, and Rollups.
This changes two things with how the log entries are loaded:
* This adds a reload action that is triggered when the stream item container is mounted. This is the case when the source configuration is being updated. Previously, the entry list was only loaded during the initialization of the log position url state container (which only happened once).
* This also adds handling of log entry loading failures (e.g. because the configuration has been changed to use an invalid timestamp field) by emptying out the log entry list in the store. Previously, the old log entries would be kept.
fixes#34033
Adds two fields to the IndexPattern Field:
* parent - the name of the field this field is a child of
* subType - The type of child this field is. Currently the only valid value is multi but we could expand this to include aliases, object children, and nested children.
The thinking behind implementing these two new properties instead of a simple isMultiField flag is that it should be generic enough to describe other sorts of parent -> child relationships between fields.