Commit graph

357 commits

Author SHA1 Message Date
Quynh Nguyen 65b8dda157
[ML] Move Index Data Visualizer into separate plugin (Part 1) (#100922)
* [ML] Add index visualizer

* [ML] Readd support for global state

* [ML] Add time buckets & fix dependencies

* [ML] Working ver

* [ML] Add back and boolean support

* [ML] Remove old files inside ml

* [ML] Rename files

* [ML] Move field type icon

* [ML] Create new folder structure

* [ML] Organize index_data_visualizer

* [ML] Move types into index_data_visualizer folder

* [ML] Move more files into file_data_visualizer

* [ML] Move more files into index_data_visualizer

* [ML] Add new data visualizer model

* [ML] Remove getVisualizerFieldStats which is not used by dv

* [ML] Delete redundant folder

* [ML] Copy old data visualizer routes to new plugin

* [ML] Remove old routes

* [ML] Disable for ml job cards tests for now

* [ML] Remove todos

* [ML] Move the toast error to the UI component

* [ML] Fix map styling

* [ML] Add runtime_mappings for internal/file_upload/time_field_range

* [ML] Move routes into folder

* [ML] Update permissions

* [ML] Update texts

* [ML] Update schemas import and api get_field_stats

* [ML] Reorg folders into common

* [ML] Update types & tests

* [ML] Update internal/data_visualizer permissions and action panel tests

* [ML] Update imports after #100863

* [ML] Fix CI

* [ML] Rename folder from file_data_visualizer to data_visualizer

* [ML] Rename i18n ids

* [ML] Update fileDataVisualizer -> dataVisualizer dependency name in ml plugin

* [ML] Remove ml prefix in data test subjs

* [ML] Fix settings and docs

* [ML] Update plugin description

* [ML] Remove mlContext dependency completely

* [ML] Set query to optional

* Revert "[ML] Update plugin description"

This reverts commit 4ab1a25c

* [ML] Update plugins list docs

* [ML] Fix types and i18n

* [ML] Revert ml data test subj/class name changes

* [ML] Split up data visualizer model, remove Logger

* [ML] Remove empty file and indexPatternFieldEditor

* [ML] Move imports of file_upload

* [ML] Update plugin dependencies

* Re-add missing data_visualizer.json

* Remove capabilities in data_visualizer

* Fix test subjs

* Update ownership for data_visualizer and file_upload code to be ml

* Update estypes after 98266

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-08 14:50:14 -05:00
CJ Cenizal 7b4b713237
Update CODEOWNERS to ping Stack Management team. (#101350) 2021-06-04 09:22:40 -07:00
Shahzad 76105cc4d0
[User Experience] Move ux app to new nav (#101005) 2021-06-04 18:04:40 +02:00
Stratoula Kalafateli a9a9013120
[Pie] New implementation of the vislib pie chart with es-charts (#83929)
* es lint fix

* Add formatter on the buckets labels

* Config the new plugin, toggle tooltip

* Aff filtering on slice click

* minor fixes

* fix eslint error

* use legacy palette for now

* Add color picker to legend colors

* Fix ts error

* Add legend actions

* Fix bug on Color Picker and remove local state as it is unecessary

* Fix some bugs on colorPicker

* Add setting for the user to select between the legacy palette or the eui ones

* small enhancements, treat empty labels with (empty)

* Fix color picker bugs with multiple layers

* fixes on internationalization

* Create migration script for pie chart and legacy palette

* Add unit tests (wip) and a small refactoring

* Add unit tests and move some things to utils, useMemo and useCallback where it should

* Add jest config file

* Fix jest test

* fix api integration failure

* Fix to_ast_esaggs for new pie plugin

* Close legendColorPicker popover when user clicks outside

* Fix warning

* Remove getter/setters and refactor

* Remove kibanaUtils from pie plugin as it is not needed

* Add new values to the migration script

* Fix bug on not changing color for expty string

* remove from migration script as they don't need it

* Fix editor settings for old and new implementation

* fix uistate type

* Disable split chart for the new plugin for now

* Remove temp folder

* Move translations to the pie plugin

* Fix CI failures

* Add unit test for the editor config

* Types cleanup

* Fix types vol2

* Minor improvements

* Display data on the inspector

* Cleanup translations

* Add telemetry for new editor pie options

* Fix missing translation

* Use Eui component to detect click outside the color picker popover

* Retrieve color picker from editor and syncColors on dashboard

* Lazy load palette service

* Add the new plugin to ts references, fix tests, refactor

* Fix ci failure

* Move charts library switch to vislib plugin

* Remove cyclic dependencies

* Modify license headers

* Move charts library switch to visualizations plugin

* Fix i18n on the switch moved to visualizations plugin

* Update license

* Fix tests

* Fix bugs created by new charts version

* Fix the i18n switch problem

* Update the migration script

* Identify if colorIsOverwritten or not

* Small multiples, missing the click event

* Fixes the UX for small multiples part1

* Distinct colors per slice implementation

* Fix ts references problem

* Fix some small multiples bugs

* Add unit tests

* Fix ts ref problem

* Fix TS problems caused by es-charts new version

* Update the sample pie visualizations with the new eui palette

* Allows filtering by the small multiples value

* Apply sortPredicate on partition layers

* Fix vilib test

* Enable functional tests for new plugin

* Fix some functional tests

* Minor fix

* Fix functional tests

* Fix dashboard tests

* Fix all dashboard tests

* Apply some improvements

* Explicit params instead of visConfig Json

* Fix i18n failure

* Add top level setting

* Minor fix

* Fix jest tests

* Address PR comments

* Fix i18n error

* fix functional test

* Add an icon tip on the distinct colors per slice switch

* Fix some of the PR comments

* Address more PR comments

* Small fix

* Functional test

* address some PR comments

* Add padding to the pie container

* Add a max width to the container

* Improve dashboard functional test

* Move the labels expression function to the pie plugin

* Fix i18n

* Fix functional test

* Apply PR comments

* Do not forget to also add the migration to them embeddable too :D

* Fix distinct colors for IP range layer

* Remove console errors

* Fix small mulitples colors with multiple layers

* Fix lint problem

* Fix problems created from merging with master

* Address PR comments

* Change the config in order the pie chart to not appear so huge on the editor

* Address PR comments

* Change the max percentage digits to 4

* Change the max size to 1000

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-03 18:17:14 +03:00
Jean-Louis Leysens c260407640
added screenshot_mode to app services ownership (#101257) 2021-06-03 17:16:42 +02:00
Vadim Dalecky 2354f07802
Link and formatting fix (#101243)
* docs: ✏️ make "Risk Matrix" link absolute

The page can be rendered in different environments, so we should have
this link absolute so that it always works, for example, it would not
work in PRs themselves.

* docs: ✏️ remove formatting breaks

In PRs Markdown formatting breaks are rendered incorrectly, so we remove
them.
2021-06-03 10:03:08 +02:00
Robert Austin d65b8cb65d
Fix cases plugin ownership (#101073)
Changed `case` to `cases` to match plugin name
2021-06-02 10:57:28 -04:00
Vadim Dalecky 1caaf47c20
Add "Risk Matrix" section to the PR template (#100649) 2021-06-02 14:43:47 +02:00
Brian Seeders 54c3ca142e
[CI] Buildkite support with Baseline pipeline (#100492) 2021-06-01 13:11:07 -04:00
Thomas Neirynck c298efe610
[Maps] Add package to codeowners (#100786) 2021-05-27 11:25:28 -04:00
Alejandro Fernández Gómez 83e5b6c689
[Fleet] Remove beats management plugin (#99789) 2021-05-27 11:30:15 +02:00
Alison Goryachev 78a7d896e3
update breaking changes template to incorporate ES deprecations (#100621) 2021-05-26 10:19:12 -04:00
Dzmitry Lemechko ca2930c719
[status_page test] use navigateToApp (#100146) 2021-05-15 00:17:10 +02:00
Mikhail Shustov 16e1414ae0
add codeowners for xpack.banners (#99630) 2021-05-10 19:05:33 +02:00
Aaron Caldwell 9e8e6b227c
[Maps] Add geo alerts dirs to codeowners (#98076)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-22 17:40:44 -04:00
Yuliia Naumenko 9cf66a78e9
[Docs][Alerting] Changed overall alerting documentation structure (#95004)
* [Docs][Alerting] Changed overall alerting documentation structure

* fixed image link

* moved alerting and connectors under the graph in the menu list

* moved management docs to alerting and connectors

* fixed image link

* fixed connector menu position

* fixed mappings

* fixed mappings

* fixed links

* fixed levels

* move manage connectors before action types

* adjust connectors management

* adjust connectors management

* split domain specific and stack rules

* fixed rule types links

* added connectors ui images

* fixed image links

* fixed image links

* fixed image links

* test

* fixed image links

* fixed broken links

* fixed broken links

* fixed email links

* fixed email links

* fixed email links

* fixed links

* added images to connectors docs

* Update docs/user/alerting/rule-management.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/user/alerting/stack-rules.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* fixed due to comments

* fixed due to comments

* fixed create connector

* moved connectors to stack management section

* removed bazel files

* fixed managing-alerts-and-actions links

* Revert "fixed managing-alerts-and-actions links"

This reverts commit 0ed228b090.

* fixed code owners

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-19 15:54:54 -07:00
CJ Cenizal 35214416f8
Extract License service from CCR and Watcher into license_api_guard plugin in x-pack (#95973)
* Localize error messages.
2021-04-15 14:54:49 -07:00
Shahzad 391e92ead3
[Exploratory view] Use index patterns for formatting (#96280) 2021-04-08 07:16:23 +02:00
Brian Seeders c89922a55c
[project-assigner] remove extra bracket in issue-mappings config (#96428) 2021-04-07 11:08:12 -04:00
Pierre Gayvallet 251bd9afc6
Remove /src/legacy (#95510)
* starting removing stuff

* fix jest config

* disable CLI mode until other PR is merged

* fix the schema

* add deprecation for maxPayloadBytes

* fix legacy start logic

* deletes `env` from unknown args

* fix FTR test config

* some legacy service deletion

* move config validation

* remove legacy exports from entrypoint

* preserve legacy logging in core logging config

* try to fix uiSettings integration tests

* fix legacy service tests

* more type fix

* use fromRoot from @kbn/utils

* cleanup kibana.d.ts

* fix unit tests

* remove src/core/server/utils

* fix server script

* add integration test for `/{path*}` route

* add unit tests on legacy config

* adapt uiSetting IT bis

* fix tests

* update generated doc

* address some review comments

* move review comments

* fix some stuff

* fix some stuff

* fix some stuff

* fix some stuff bis

* generated doc

* add test for ensureValidConfiguration
2021-04-06 09:25:36 +02:00
Clint Andrew Hall f9917a6c8a
Add Input Controls project configuration (#96238)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-05 15:28:15 -05:00
Thomas Neirynck 8e11e2598e
[Maps] Enable all zoom levels for all users (#96093) 2021-04-05 12:04:20 -04:00
Alison Goryachev b29ccdcac1
Update breaking changes issue template (#95787) 2021-04-01 08:58:48 -04:00
Kevin Qualters 03b104cc61
[Security Solution][RAC][Timeline] Timeline plugin skeleton and test plugin harness (#95683)
* [RAC][Security Solution] Initial timeline and test plugin harness

* Change plugin name from timeline to timelines
2021-03-31 15:33:19 -04:00
Tyler Smalley 46c93b16bb
[Github] Add automation for needs-team label (#95728)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-03-30 15:51:23 -07:00
Robert Oskamp 907b5c860d
Update CODEOWNERS for ml-ui (#95773) 2021-03-30 13:40:31 +02:00
Pierre Gayvallet 265cc76247
Remove core->cli dependency (#95145)
* extract http_tools to package

* fix readme

* start moving stuff

* cleaning up `isDevCliParent`

* choose bootstrap script

* fix bootstrap script logic

* fix watch paths logic

* import REPO_ROOT from correct package

* create the @kbn/crypto package

* update core's `dev` config

* only export bootstrap function

* extract sslConfig to http-tools package

* fix core types

* fix optimizer tests

* fix cli_dev_mode tests

* fix basePath proxy tests

* update generated doc

* fix unit tests

* create @kbn/dev-cli-mode package

* remove useless comment

* self-review NITS

* update CODEOWNERS file

* add devOnly flag

* use variable for DEV_MODE_PATH

* review comments

* fix logger/log adapter

* fix log calls in base path proxy server

* address some review comments

* rename @kbn/http-tools to @kbn/server-http-tools

* more review comments

* move test to correct file

* add comment on getBootstrapScript

* fix lint

* lint

* add cli-dev-mode to eslint dev packages

* review comments

* update yarn.lock

* Revert "[ci] skip building ts refs when not necessary (#95739)"

This reverts commit e46a74f7
2021-03-30 13:39:32 +02:00
Mikhail Shustov 5732526f34
allow creating blank issue (#95609) 2021-03-27 10:32:50 +01:00
Anton Dosov ce6641bac1
[Search Sessions] Rename search sessions functional tests. Remove wip mention (#95330) 2021-03-26 18:08:46 +01:00
restrry 3bb9220db9 add about section for link in github issue template 2021-03-25 20:29:21 +01:00
Mikhail Shustov 6eb31178ed
blank_issues_enabled: false. it seems contact_links not supported otherwise (#95423) 2021-03-25 20:20:01 +01:00
Mikhail Shustov 6d6ef0092a
Revert "do not allow creating Question issue (#95396)" (#95427)
This reverts commit 9a64354db2.
2021-03-25 16:56:51 +01:00
Mikhail Shustov 9a64354db2
do not allow creating Question issue (#95396) 2021-03-25 16:23:25 +01:00
Matthew Kime 52d0fc044a
update codeowners (#95249) 2021-03-23 22:52:44 -05:00
Devon Thomson 882248c671
[Time to Visualize] Add Discrete Library Option to Save Modal (#94589)
* save modal UI and Redirect and save to library

Co-authored-by: Poff Poffenberger <poffdeluxe@gmail.com>
2021-03-18 13:40:02 -04:00
Pierre Gayvallet 25e586acd0
Migrate the optimizer mixin to core (#94272)
* migrate optimizer mixin to core apps

* fix core_app tests

* add integration tests, extract selectCompressedFile

* add CoreApp unit test

* more unit tests

* unit tests for bundle_route

* more unit tests

* remove /src/optimize/ from codeowners

* fix case

* NIT
2021-03-17 10:16:18 +01:00
Brian Seeders 7e1f18f7f9
[CI] Update Backport action inputs to match updated ones (#94721) 2021-03-16 16:29:36 -04:00
Alejandro Fernández Haro eb21f53df6
[chore] Remove the infra team from CODEOWNERS (#94740) 2021-03-16 21:00:12 +01:00
Mike Côté 23ce8dcfdb
Rename alerts plugin to alerting (#92898)
* Rename alerts plugin to alerting

* Deprecate old config values

* Few more renames

* Update plugin list

* Rename xpack.alerts -> xpack.alerting

* Fix some ESLint rules

* Fix typecheck

* Fix some test failures

* Some more renames

* Fix ESLint

* Fix some test failures

* Fix failing jest test

* Undo exclusive test

* Fix APM deps

* Fix docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-05 13:59:34 -05:00
Mikhail Shustov 0a33e583cf
add missed codeowners (#89714)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-04 08:13:20 -08:00
Pete Harverson be0b444873
[ML] Transforms: Adds a11y tests for Transform plugin (#93197) 2021-03-03 11:41:44 +00:00
Joe Portner 6ecffcc57c
Cleanup Security plugin imports (#93056) 2021-03-02 08:42:01 -05:00
Rudolf Meijering 42b814e123
Speed up spaces tests by letting v2 migrations do less work (#91829)
* Don't mess with v2 migration's index

* Speed up spaces tests by letting v2 migrations do less work

* Add disabled mapping for spaces so that plugin can be disabled

* Add security as codeowners of xpack saved object api integration suite
2021-02-22 08:44:41 -05:00
Shahzad a1a9769f83
[Uptime] increase flaky alert retry time (#91455) 2021-02-16 18:53:33 +01:00
Brian Seeders 95e6d13590
[CI] Use custom github action for backport (#91523) 2021-02-16 10:48:30 -07:00
Brian Seeders 4cd0548f48
[CI] Fix auto-backport condditions so that it doesn't trigger for other labels (#91042) 2021-02-10 16:42:00 -05:00
Alejandro Fernández Haro 061cb50c71
[Telemetry] Add stakeholders to schema changes (#90143)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-10 14:13:27 +00:00
Wylie Conlon 3cb04fc6d0
Expand Tinymath grammar, including named arguments (#89795)
* Expand Tinymath grammar, including named arguments

* Add tsconfig project

* Fix tests

* Allow named arguments with numeric types

* Remove dashes from named argument validation

* Fix license header

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-09 10:46:07 -05:00
Catherine Liu 3cf00d2bb4
[Time to Visualize] Adds functional tests for linking/unlinking panel from embeddable library (#89612) 2021-02-08 15:21:06 -08:00
Brian Seeders 3fa76956ac
[CI] Automated backports via GitHub Actions - initial MVP (#90669) 2021-02-08 21:08:23 +00:00