Commit graph

678 commits

Author SHA1 Message Date
Orhan Toy
92762fa62f
[App Search] ILM is always enabled from 8.0 (#117291) 2021-11-05 14:40:43 +00:00
Carlos Delgado
3638a50990
Enterprise Search - Fix event structure name change (#117502) 2021-11-04 15:18:23 +01:00
Spencer
4385ac4d83
[eslint] enable type-specific lint rules (#114184)
* [eslint] enable type-specific lint rules

* autofix violations

* duplicate eslint-disable to new export statement

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-03 16:56:17 -06:00
Scotty Bollinger
6c4373fb6c
Fix a bug where error not displaying when connector misconfigured (#117348)
This PR fixes a bug where the error was not displaying when misconfigured connector was connected and redirected back. The issue was that the redirect was occuring after the flash message was set and the fix was to redirect and then show the flash message
2021-11-03 11:08:13 -07:00
Jason Stoltzfus
9e02087bd7
Fixed curations (#117297) 2021-11-03 11:02:14 -04:00
Scotty Bollinger
5c73c0c120
Update Role mappings modal copy (#117182) 2021-11-02 19:04:15 +00:00
Vadim Yakhin
d935921959
Update Workplace Search integration categories (#117036)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 11:04:01 -07:00
Byron Hulcher
0c5952a7d3
[App Search] Update API namespace and routes for Search Relevance Suggestions/Adaptive Relevance (#116994) 2021-11-02 11:32:40 -04:00
Jason Stoltzfus
441d77853f
Remove analytics event (#116995) 2021-11-02 11:21:45 -04:00
Or Ouziel
f2b9acf67b
replace any with unknown in http client and types (#114265) 2021-11-02 13:53:56 +02:00
Davey Holler
f5f12088da
UI copy changes for adaptive relevance (#117016)
* UI copy changes for adaptive relevance

* UI copy changes for adaptive relevance

* Update x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curations_settings/curations_settings.tsx

Co-authored-by: Byron Hulcher <byronhulcher@gmail.com>

Co-authored-by: Byron Hulcher <byronhulcher@gmail.com>
2021-11-01 21:19:32 +00:00
Vadim Yakhin
a7fd3deb73
[Workplace Search] Fix early sources logic unmounting (#113023)
* Fix error appearing if user leaves Sources page very quickly

The issue was that the response from /sources endpoint could came after the user has left the page.
Since the user has already left the page, the Sources logic is unmounted,
and any code that was using the response couldn't update the value in that logic file and caused an error.

Fortunately Kea provides a `breakpoint` API exactly for such cases:
https://kea.js.org/docs/guide/additional#breakpoints

This commit uses that API to fix the issue.

* Fix error appearing after leaving Sources page less quickly

This commit solves the same problem, but for the /status endpoint:
1) for the first status call that saves server values to the sources_logic
2) for the subsequent status calls that poll the server for the status updates

* Increase test coverage

The new test duplicates the test below it, but it doesn't set up
initial source statuses. For some reason this case was considered to be covered before,
but after seemingly unrelated changes in this PR, the coverage started to show that this
code branch was missed.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-30 20:48:18 +01:00
Tyler Smalley
c4815d319e
Updates Github link references from master to main (#116789)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-29 09:53:08 -07:00
Byron Hulcher
c3f207a071
Revert "[App Search] Load curation settings at root /curations/ path (#115690)" (#116462) 2021-10-27 21:18:19 +01:00
Byron Hulcher
0381326ede
Retrieve search results on Relevance Tuning page whenever precision or query is changed (#116316) 2021-10-27 08:52:14 -04:00
Chenhui Wang
306a7cb0f4
Include Files in GitHub UI (#115956) 2021-10-27 12:16:05 +08:00
Scotty Bollinger
8c6ef2054f
Fix bug where number rendered as date (#116224) 2021-10-26 07:17:35 +01:00
Greg Thompson
59815a0681
Upgrade EUI to v40.0.0 (#115639)
* eui to v40.0.0

* tokenKeyword -> tokenTag

* mobileOptions type

* snapshot updates

* Revert "tokenKeyword -> tokenTag"

This reverts commit 0e5eae64e7.

* token snapshot
2021-10-25 11:54:37 -05:00
Jason Stoltzfus
b1dab1f029
Suggestions enabled check (#116136) 2021-10-25 17:42:25 +01:00
Orhan Toy
811724b003
[App Search, Crawler] Link-ify domain name in table (#115735) 2021-10-25 14:00:13 +02:00
Byron Hulcher
7f83ec09d6
[App Search] Restrict log stream on Automated Curation Detail page to only automated events (#115841) 2021-10-21 13:21:06 -04:00
Byron Hulcher
537bce70ef
[App Search] Improve loading experience on the Curation and Curation Detail pages (#115840) 2021-10-21 13:20:39 -04:00
Byron Hulcher
abd5e9ffa8
[App Search] Automated Curations UX improvements (#115773) 2021-10-20 21:56:14 +01:00
Artem Shelkovnikov
f74348494d
Enterprise Search - Add note about Cases to Salesforce Content Source (#115764)
* Add attachment to list of synced objects for Kibana

* Add attachments to Salesforce Sandbox as well

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-20 21:00:24 +02:00
Jason Stoltzfus
1da11dfdc0
Fixed callouts (#115631) 2021-10-20 13:55:43 -04:00
Byron Hulcher
c9bca2cd59
[App Search] Load curation settings at root /curations/ path (#115690) 2021-10-20 11:51:00 -04:00
Byron Hulcher
d9f80133ad
[App Search] Improve visual design of Promoted Documents panel (#115683) 2021-10-20 09:23:07 -04:00
Jason Stoltzfus
109e966a7a
[App Search] Put History tab behind platinum check (#115636) 2021-10-20 07:35:25 -04:00
Artem Shelkovnikov
7fe9573c00
Enterprise Search - Add note about Cases to Salesforce Content Source (#114457)
* Enterprise Search - Add note about Cases to Salesforce Content Source
* Minor copy update for xpack.enterpriseSearch.workplaceSearch.sources.objTypes.cases
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-20 10:25:26 +02:00
Scotty Bollinger
94e1144ba7
[App Search] Update copy on product selector page (#115637)
https://github.com/elastic/enterprise-search-team/issues/759#issuecomment-947032787
2021-10-19 15:09:40 -07:00
Byron Hulcher
ea00e608dc
[App Search] Add EntSearchLogStream components to Curations History panels (#115467) 2021-10-19 15:39:21 -04:00
Jason Stoltzfus
6f56668cc5
Fix style (#115439) 2021-10-19 14:49:55 -04:00
Scotty Bollinger
fcb340fdb9
Handle edge case when estimates are empty (#115476)
There is an edge case where a connector does not sync and there is no estimate of next syncs in the UI. In this case, we simply omit the estimates from the UI.
2021-10-19 11:39:47 -07:00
Orhan Toy
d78fa6c7d8
[App Search, Crawler] Fix validation step panel padding/whitespace (#115542)
* Remove padding override
* Move spacer to before action
2021-10-19 18:48:52 +02:00
Jason Stoltzfus
b7577b5695
[App Search] Wired up organic results on Curation Suggestions view (#114717) 2021-10-19 12:09:51 -04:00
Jason Stoltzfus
5a0002fae8
[App Search] Update "overrides" badge (#115437) 2021-10-19 09:51:55 -04:00
Vadim Yakhin
70bd56a04f
[Fleet, App search] Add App Search ingestion methods to the unified integrations view (#115433)
* Add a new category for Web crawler

* Add App Search integrations

* Fix isBeta flag for Web Crawler

It's already GA
2021-10-18 17:50:59 -04:00
Jason Stoltzfus
c2571c7faf
[App Search] Added a History tab to the Automated Curation detail view (#115090) 2021-10-18 12:20:19 -04:00
Byron Hulcher
87d6375ab0
[App Search] Wire up ignored queries panel for curations history view (#115238) 2021-10-18 11:43:45 -04:00
Orhan Toy
672b592b49
[App Search] Allow for query parameter to indicate ingestion mechanism for new engines (#115188) 2021-10-18 09:02:00 +02:00
Luke Elmers
94aa791a49
[Breaking] Remove deprecated enabled settings from plugins. (#113495) 2021-10-17 16:54:30 +01:00
Jonathan Budzenski
7d66002da2
Bump node to 16.11.1 (#110684)
* Bump node to ^16

* fix comment

* use jest timers

* bump mock-fs

* Fix core type errors

* Unskipping tests that work on my machine

* skip new unhandled promise rejection

* Fix Nodejs v16 regression due to https://github.com/nodejs/node/issues/38924

* Fix failing concurrent connections collector test

* Fix types after merge from master

* update servicenow test

* Skip unhandledRejection tests

* Skip tests with unhandled promise rejection

* Fix discover jest failures

* bump node to 16.11.1

* revert timeout increase

* skip unhandled promise rejection

* rm jest import

* skip unhandled promise rejection

Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tim Roes <tim.roes@elastic.co>
2021-10-16 16:21:58 -05:00
Jason Stoltzfus
8b70071623
Fixed numbering (#114863) 2021-10-15 11:01:29 -04:00
Scotty Bollinger
a41cee1b34
[Workplace Search] Update copy and move links inline for Sync Scheduling (#115081) 2021-10-15 08:22:52 -05:00
Orhan Toy
8636d6b502
[App Search] Fix handling of body-less meta engine responses (#115043)
The issue is that we're trying to parse the JSON response body when in fact we don't return a response body.
2021-10-15 15:17:56 +02:00
Byron Hulcher
828074371e
[App Search] Add web crawler toggle to log retention settings view (#115083) 2021-10-15 08:45:41 -04:00
Vadim Yakhin
8db36d9f4a
[Fleet, Workplace Search] Add Workplace Search connectors as non-Fleet integrations (#114919)
* Add icons

* Add new categories

* Add Workplace Search connectors to the unified integrations view

* Add a new enterprise_search shipper

* Update number of custom integrations in test

* Change customIntegrations type to optional

* Revert "Update number of custom integrations in test"

This reverts commit 30214b2c7c.

The reason is that while this test passes with 2 separate commands for
functional test runner, it fails when it is run with a single command.

Reverting to make the CI pass. We will look into this test separately.
I will link the investigation issue in the PR.
2021-10-14 18:36:56 -04:00
Scotty Bollinger
91d48ff475
[Workplace Search] Fix loading state bug and update button (#115068)
* Change source deletion to set entire page loading

Do this instead of having the button loading

* Replace text button with icon button for blocked windows
2021-10-14 16:01:42 -04:00
Chenhui Wang
1155640779
Add comments in the GitHub content source UI (#114766) 2021-10-14 23:44:47 +08:00
Scotty Bollinger
493b408673
[Workplace Search] Fix button order and remove extra source name label (#114899)
* Remove extra source title from Personal dashboard

* Change button order to match other views

We typically have the right-most button the Save button and the reset button to the left

* Fix typo

* Fix failing test

EUI requires the name but we don’t want to dispaly it, so sending an empty string

* Remove Synchronization nav items from Custom Source

* Hide syncTriggerCallout for custom sources
2021-10-13 18:14:14 -04:00