Commit graph

5599 commits

Author SHA1 Message Date
Shivindera Singh
c8520f941a
show empty prompts in page and don't auto-open flyout in DataViews (#134469)
* show empty prompts in page and don't auto-open flyout in DataViews

* changed flow based on comments

* fix for namespace issues

* fix for failed checks

* fixes for failed checks and tests

* fix failing tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-28 02:12:19 -07:00
Dmitry Tomashevich
f89efc7f30
[Discover] Add hideAnnouncements advanced setting (#135030)
* [Discover] add hide announcements setting

* [Discover] add missed import

* [Discover] fix test
2022-06-28 11:51:14 +03:00
Davis McPhee
d12db42360
[Discover] Add focus to h1 on navigate for single document and surrounding document views (#134942)
[Discover] Add focus to h1 on navigate for single document and surrounding document views
2022-06-27 14:06:13 -03:00
Matthew Kime
637671a43a
[data views] Create runtime field - use execute api (#134713)
* use preview api
2022-06-27 11:53:02 -05:00
Shivindera Singh
01c6343579
remove hardcoded "default" assets for empty state checks that were fixed in 8.1 (#134895) 2022-06-27 09:24:02 -07:00
Liza Katz
071c878717
Report kibana protocol (#135202)
* kibana protocol

* oops

* Update loaded_kibana.ts

* Update core_system.ts
2022-06-27 18:13:53 +03:00
Alejandro Fernández Haro
2410b879a3
[Telemetry] Make telemetry plugin non-disableable (#133205)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-27 16:21:37 +02:00
Muhammad Ibragimov
44ba4bcecc
[Console] Support request-body comments (#133852)
* Add support for request-body comments
* Add unit tests

* Disable autocomplete for commented-out lines

* Add indentation for comments

* Improve code readability and tests around commenting behavior

* Remove unnecessary code blocks from tests

* Address comments

Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-27 14:39:46 +05:00
Davis McPhee
2c6eb5d6d6
[Discover] Improve keyboard navigation in Discover top nav menu (#134788)
* [Discover] Improve keyboard navigation in Discover top nav menu

* [Discover] Added functional tests for Discover top nav menu keyboard navigation

* [Discover] Fixed onClose property on ShowShareMenuOptions

* [Discover] Changed onSaveSearch to accept onClose instead of anchorElement
2022-06-24 16:20:29 -03:00
Jonathan Budzenski
8a3975a410 skip flaky suite. #135089 2022-06-23 17:04:13 -05:00
Byron Hulcher
be71c903b9
[Workplace Search] Hide integration tiles for service not launching with 8.3.0 (#134931) 2022-06-23 13:48:41 +02:00
Dmitry Tomashevich
88c25a9373
[Discover] Cleanup uses of legacy table in functional tests (#134638)
* [Discover] extract doc table tests into a new folder

* [Discover] switch to data grid

* [Discover] apply suggestions

* [Discover] adapt scripted fields tests for data grid

* [Discover] apply suggestions

* [Discover] apply for another part
2022-06-23 12:54:28 +03:00
Liza Katz
8133605b89
[EBT] Enrich kibana loaded with timings (#134770)
* Add timings to kibana loaded event

* jest

* PR failures

* code review

* docs

* add first_app_nav and first_app

* tests

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Update src/core/public/core_system.ts

Co-authored-by: Alejandro Fernández Haro <afharo@gmail.com>

* Update src/core/public/core_system.ts

Co-authored-by: Alejandro Fernández Haro <afharo@gmail.com>

* review @afjaro

* typo

* KBN_LOAD_MARKS

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alejandro Fernández Haro <afharo@gmail.com>
2022-06-23 12:46:07 +03:00
Maja Grubic
8ae497afcc
[Kibana Overview] First round of functional tests (#134680)
* [Kibana Overview] First round of functional tests

* Update tests

* Update snapshot

* Update failing test

* Fix failing test

* Fix failing test

* Fix failing test

* Fix failing test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-23 07:46:04 +02:00
John Dorlus
8039218bf3
Added Snapshot Restore a11y tests. (#134414)
* Added Snapshot Restore a11y tests.

* Commented out snapshot after reporting a11y violation.

* Changed title.

* Made changes per the nits.

Co-authored-by: Bhavya RM <bhavya@elastic.co>
2022-06-22 01:10:02 -04:00
John Dorlus
d7cb120904
Added new a11y test for index management and Updated ILM UI code blocks to use correct language prop instead of lang (#133970)
* Added new a11y test for index management.
Fixed a11y violations in code in index management app in the code block element.
Added new test to a11y config to run in CI.

* Removed unused reference.

* Moved navigate to initial code block.

* Fixed all nits.
2022-06-21 22:59:45 -04:00
Greg Thompson
2336f33632
Upgrade EUI to v59.0.1 (#133927)
* eui to v59.0.0

* i18n tokens

* update theme var tokens

* mock mouseevent for euiselectable

* mock mouseevent for euiselectable

* update theme var tokens

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* mock mouseevent for euiselectable

* update theme var tokens

* update theme var tokens mocks

* WIP: forwardRef type

* update snapshots

* euiTextColor

* snapshot updates

* jest test updates

* euiTextColor updates

* jest test updates

* update getVisualizeError selector

* euiPaddingSizes

* snapshot update

* WIP: accordion cy.react

* DetailPanelMetadataTab test updates

* eui to v59.0.1

* snapshot updates

* WIP: osquery cypress

* WIP: osquery cypress

* use data-test-subj

* log standard console errors

* snapshot

* paddingSizes update

* euiaccordion class type comment

* snapshots

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-06-21 17:08:15 -05:00
Pierre Gayvallet
10a5f9ac83
Remove old doc generation system for core APIs (#134313)
* Remove old doc generation system for core APIs

* delete docs/development/core folder
2022-06-21 17:43:17 +02:00
Matthias Wilhelm
961b47a08b
[Discover] Remove _type of uiSettings metaFields (#134453)
Remove the deprecated _type of metaFields to prevent from showing up in Discover's sidebar
2022-06-17 20:09:25 +02:00
Julia Rechkunova
28915d2922
[Discover] Make footer visible under Document Explorer if sample size is less than hits number (#134231)
* [Discover] Make footer visible under Document Explorer if sample size is less than hits number

* [Discover] Simplify changes diff

* [Discover] Update copy

* [Discover] Update copy id

* [Discover] Remove other translations

* [Discover] Add link to Advanced settings and tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-17 17:07:22 +02:00
Joe Reuter
ea6b79dfbc
fix flaky test (#134634) 2022-06-17 11:26:32 +02:00
Kibana Machine
5135d899df skip failing test suite (#134515) 2022-06-16 11:22:08 -04:00
Uladzislau Lasitsa
6c1b6164bf
[TSVB] Editor styles should be loaded independently of VisRenderer (#133224)
* Move import styles inside component which use them

* Remove unnecessary scss

* Fix lint

* Fix CI

* fix remarks

* Fix comments

* Move constants to separate file

* Adds variables

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-15 18:29:11 +03:00
mgiota
165a604e1a
[Actionable Observability] Remove alerts, rules and cases experimental feature flags (#134157)
* remove rules feature flag

* remove alertingExperience feature flag

* remove cases feature flag

* remove experimental badge from alerts page, alerts flyout, rules page, rule details page, overview page

* rempve disclaimer files

* fix tests

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-06-15 16:54:41 +02:00
Dmitry Tomashevich
4c9d996727
[Discover] Adapt context page tests for Document Explorer (#132773)
* [Discover] clean up uses of legacy table in functional tests

* [Discover] add date nanos tests

* [Discover] improve date nanos tests

* [Discover] separate classic table tests

* [Discover] fix types

* [Discover] fix functional: enable full screen mode to render all documents at once

* [Discover] add more context page tests

* [Discover] leave only data grid tests

* [Discover] add classic table tests

* [Discover] fix functionals

* [Discover] add wait statement

* [Discover] remove date_nanos tests

* [Discover] fix tests

* [Discover] apply suggestions

* [Discover] get rid of flaky tests

* [Discover] return classic table tests flow

* [Discover] try fix flaky test

* [Discover] apply suggestions

* [Discover] optimise getTable calls

* [Discover] fix linting

* [Discover] change data grid open implementation

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-15 16:24:48 +03:00
Davis McPhee
adb61f74eb
[Discover] Added focus to h1 element when client side routing is executed (#133846)
* [Discover] Added focus to h1 element on navigate

* [Discover] Moved Discover h1 to above the nav bar, and added functional tests for Discover accessibility

* [Discover] Moved Discover accessibility functional tests to their own file
2022-06-15 09:58:38 -03:00
Tiago Costa
780c78e751
skip flaky suite (#132865) 2022-06-15 13:46:26 +01:00
Dmitry Tomashevich
bd485d5d23
[Discover] Switch documents correctly in Document Explorer (#134163)
* [Discover] switch documents correctly

* [Discover] add functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-15 12:56:26 +03:00
Stratoula Kalafateli
45ff66a648
[Timelion] Removes the legacy charts library (#134336)
* [Timelion] Removes the legacy library

* Removes unused translations
2022-06-15 09:57:44 +03:00
Tiago Costa
e8ba64e43e
skip flaky suite (#133973) 2022-06-13 16:49:13 +01:00
John Dorlus
68e569bd7d
Fixed the query to make sure results contain the expected document. (#134154) 2022-06-13 10:02:23 -04:00
Alexey Antonov
cb71390ed5
FIx [test-failed]: Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/lens/group1/persistent_context·ts - lens app - group 1 lens query context keeps selected index pattern after refresh (#134039) 2022-06-10 11:26:58 +03:00
Dmitry Tomashevich
96f31938fa
[Discover] Fix context page with special char in data view (#133222)
* [Discover] fix context page with special char in data view

* [Discover] fix linting

* [Discover] add test

* [Discover] apply suggestions

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-09 17:04:35 +03:00
Spencer
42ba236b8e
[ci/screenshots] enable discovering truncated screenshot names (#133950) 2022-06-08 22:53:36 +01:00
Lee Drengenberg
e02024b56a
cleanup test/functional/fixtures/es_archiver/dashboard/legacy (#133827)
* kbnArchiver es_archiver/dashboard/legacy

* cleanStandardList of saved objects in init, and after

* remove unused files

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-08 16:34:34 -05:00
Shivindera Singh
5731d1aa58
ability to set human readable title of data view & ability to edit data view (#124191)
* ability to set human readable title of data view & ability to edit data view

* add readable data view title to discover

* fix for failing API test

* fix and add functional tests

* add missing lens support

* update snapshots after name change

* fix for broken test and type checks

* fix condition check

* remove description, rename readableTitle to name and fixes

* revert kibana.yaml change

* fixes for failed tests

* fixes for broken tests

* fix functional tests 2

* add confirm modal for edit

* update header to match figma

* fix data views with index pattern

* fix for badge breaking in test due to index change

* remove unused translations

* comment fixes and add name to sample data

* fix test for adding names to sample data

* some ui changes

* fix for failing tests for removing Actions

* comment fixes, change edit modal, fix breadcrumbs

* change copy and fix for failing tests

* change text to have unique key

* update jest snapshots

* fixes for unified_search and some ui changes

* add test fixes and disabled editing data view id when in edit mode

* fix for translation bug

* fix for failing tests

* review comment changes

* some nit fixes

* revert the operation change check

* fixed name not showing in dashboard with visualizations from different dataviews

* added a comment for the management breadcrumb
2022-06-08 09:59:41 -07:00
Milton Hultgren
ee7d9b0f33
[Stack Monitoring] Add stale status reporting for Kibana (#132613)
* [Stack Monitoring] Add stale status reporting for Kibana (#126386)

* Fix stale message grammar and update stale indicator to use EuiBadge

* Fix i18n ids

* Remove unused i18n key

* Fix Jest tests

* Update exposeToBrowser test

* Update API integration tests

* Fix functional tests

* Fix API integration tests

* Update snapshots

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-08 11:31:17 +02:00
Lee Drengenberg
92569b4b73
[Archive Migration] remove unused test/functional/fixtures/es_archiver/saved_objects_imports (#133818)
* remove unused es_archive

* remove unused es_archiver/timelion
2022-06-07 21:43:44 +02:00
Lee Drengenberg
7695aad7a1
migrate to kbnArchive (#133683) 2022-06-07 14:44:55 -04:00
Lee Drengenberg
47f299421b
[Archive Migration] Kbn archiver management (#133675)
* remove kibana saved object from the esArchive

* migrate management from esArchive to kbnArchive

* migrate management from esArchive to kbnArchive

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-07 19:41:48 +02:00
Lee Drengenberg
0a730a8abe
remove kibana saved object from the esArchive (#133674) 2022-06-07 16:45:27 +01:00
Lee Drengenberg
f026a82262
[Archive Migration] long_window_logstash_index_pattern (#133688)
* migrate kbnArchive

* remove old esArchive

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-07 17:06:43 +02:00
Lee Drengenberg
795a3051d7
[Archive Migration] split message_with_newline out of esArchive (#133648)
* split Kibana saved object out of esArchive

* remove .only

* also unload the esArchive

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-07 08:47:27 -05:00
Julia Rechkunova
d605f31b3a
[Discover] Add an option to copy column values to Clipboard in Document Explorer (#132330)
* Add close button to field popover
- Add copy to clipboard button for every cell additionally

* Improve gutter when rendering JsonCodeEditor

* Refactor copy to clipboard, fix tests

* Improve test structure

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* Add toast when value is copied

* Add functional tests

* Fix linting

* [Discover] Add Copy column action

* Add more tests

* [Discover] Implement Copy column action

* [Discover] Rearrange params and update tests

* [Discover] Update tests

* [Discover] Update tests

* [Discover] Update tests

* [Discover] Fix lint issue

* [Discover] Prepend the column name to the copied data list

* [Discover] Remove unused translation

* [Discover] Rename a variable

* [Discover] Rearrange utils

* [Discover] Add mocked data

* [Discover] Fix lint issue

* [Discover] Rename again

* [Discover] Add tests

* [Discover] Rename again

* [Discover] Rename again

* [Discover] Extend with more types

* [Discover] Add more tests

* [Discover] Add more tests

* Hacking stuff

* [Discover] Add adjustments to formatting

* [Discover] Fix types

* [Discover] Improve configuration

* [Discover] Rename an option

* [Discover] More improvements

* [Discover] More improvements

* [Discover] Fix types

* [Discover] Update formatting to cover multilines

* [Discover] Fix legacy typing

* [Discover] Escape values with formulas

* [Discover] Add more tests

* [Discover] Change escaping for strings

* [Discover] Code style updates

* [Discover] Add more field types

* [Discover] Add more tests

* [Discover] Update tests

* [Discover] Add test subj to buttons

* [Discover] Address PR comments

* [Discover] Fix tests

* [Discover] Add functional tests

* [Discover] Update functional tests

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-06-07 13:19:01 +02:00
Muhammad Ibragimov
b5b68bb601
[Console] Improve UX around handling multiple requests (#132494)
* Render status badges in the output panel

* Add missing dependancy for useEffect hook

* Lint

* Add functional tests

* Update tests

* Fix tests

* Update selectAll command key for firefox

* Fix selecting all requests in tests

* Convert output modes to TS

* Fix checks

* Fix types for editor session.update method

* Add tests for mapStatusCodeToBadge function

* Address comments

* Change .ace-badge font family to $euiFontFamily

Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-06-06 13:34:26 +05:00
John Dorlus
1d348b2bb7
Added the console CCS test. (#133545)
* Added the console CCS test.

* Forgot some awaits.
2022-06-03 17:05:58 -04:00
Lukas Olson
e921693c50
Adds get all REST API to data views (#131683)
* Adds get all API to data views

* Move size to query params

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* Use ids/titles instead of entire object

* Add docs

* Add integration test

* Fix docs

* Update docs

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-06-02 10:00:19 -07:00
Matthew Kime
d3e5764102
[data views] More dev docs (#132817)
* more data view code comments
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
2022-06-01 21:00:35 -07:00
Jonathan Budzenski
a6a66381b6
[artifact testing] Use local ansible provisioner (#133047)
We've seen a number of package testing timeouts where a random command
will hang while establishing an ssh connection.  Instead of running
installation remotely, this switches to the ansible_local provisioner.
2022-06-01 11:52:41 -05:00
Dmitry Tomashevich
d5ae7f33b7
[Discover] Fix modify the time range test (#130880)
* [Discover] unskip tests for check flakyness

* [Discover] fix the test

* [Discover] update expected string

* [Discover] open close full screen mode for data grid when needed

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-01 12:34:21 +03:00