Commit graph

20646 commits

Author SHA1 Message Date
Tyler Smalley
0e5fd324b1
Moves styleSheetPath to uiExports (#23007)
This was previously defined in uiExports.app, which limited plugins which are not an app of providing a stylesheet. This allows any plugin to define a stylesheet which will be available on page load.
2018-09-20 19:01:06 -07:00
Nathan Reese
991e805669
Migrate save top nav in Discover and Visualize to EUI (#23190)
* extract reusable save component from DashboardSaveModal

* update discover search to use SavedObjectSaveModal

* create generic show_save_model that works for both discover and dashboard

* fix last bits of discover save

* remove old save functionallity

* migrate visualize save to EUI

* fix functional tests

* disable save button if title is empty

* mark title input as invalid when title is not provided

* fix funtional tests
2018-09-20 15:05:44 -06:00
Nathan Reese
c2cb0d3b92
Convert Discover open top nav to EUI flyout (#22971)
* move find logic to SavedObjectFinder component since savedObjectClient is no longer coupled to angular

* implement flyout open saved searches

* remove old open stuff

* add jest test for OpenSearchPanel and simplify panel title

* fix functional tests

* fix _lab_mode functional test
2018-09-20 13:06:37 -06:00
Joe Fleming
7d00de527c
Chore: fix canvas test runner (#23336)
Blocked by https://github.com/elastic/kibana/pull/23342

This fixes the local test runner in Canvas. It should not affect anything else, including the CI test runner.

- Bumps JSDOM to ^12.0.0
  - I matched Kibana's version on migration, but nothing else in X-Pack uses JSDOM, so we can use the newer version (which has a very different API)
  - I had to match it because of a script that enforces version matching, but #23342 removed jsdom from Kibana, so we no longer have a version to match
- Restores the local `.babelrc` file
  - I thought it was only used for building plugins; I was wrong 😢
2018-09-20 11:23:15 -07:00
Spencer
58b4002343
[core/utils] add shareWeakReplay() operator (#23333) 2018-09-20 10:27:50 -07:00
Joe Fleming
6e3cf4cf05
chore: use cheerio in i18n.html.getDirectiveMessages (#23342)
this was only using jsdom to parse html, but cheerio allows parsing html without requiring a dom. cheerio was also already in the dependency list.
2018-09-20 09:25:51 -07:00
Chris Davies
aac10b0eb8
Fix a bug where ES sends a string and migrations expect a boolean (#23313) 2018-09-20 11:54:54 -04:00
Tim Sullivan
63d0824991
Developer documentation for integrating with the telemetry service (#23295)
* Developer documentation for integrating with the telemetry service

* open with a bang

* more faqs

* thing about tracking ui interactions

* talk to the plat team

* create and register
2018-09-20 06:57:41 -07:00
Caroline Horn
b73201752d
Graph LESS to SASS (#23348) 2018-09-20 09:35:22 -04:00
Pete Harverson
567ee416be
[ML] Moves custom URL editor Add button and form to top of flyout (#23326)
* [ML] Moves custom URL editor Add button and form to top of flyout

* [ML] Edits to custom URL editor class name
2018-09-20 11:46:24 +01:00
Spencer
f1f157d524
[migrations/tests] sort results before assertion (#23347)
There have been several failures in this test, seemingly caused by a lack of sorting in the results. It makes sense that since both migrations are run simultaneously that sometimes one would succeed and sometimes another would, so I've just sorted the results before checking.

![image](https://user-images.githubusercontent.com/1329312/45791153-44e9cc80-bc3d-11e8-88c4-760d4c7b35bd.png)

cc: @chrisdavies
2018-09-19 21:51:15 -07:00
Joe Fleming
c54d0e5662
Fix: plugin api route with security enabled (#23334)
Closes https://github.com/elastic/kibana/issues/23266

This is more of a quick fix than the final solution. The issue was that Canvas tries to check the plugins API without checking to see if the user it logged in. As a result, instead of the plugins response, it gets the HTML from the login page and that causes an error to be thrown when attempting to parse the results.

For now, this PR just disables the auth requirement on the Canvas plugin API endpoint.
2018-09-19 13:47:53 -07:00
Chris Davies
d308b07edd
Tweak migrations integraiton tests to have a stable sort (#23265) 2018-09-19 14:15:47 -04:00
Caroline Horn
530a4d0898
Vis LESS to SASS (cont.) (#23199) 2018-09-19 13:56:21 -04:00
Nathan Reese
00922789c0
Allow sample data set to install multiple indices (#23230)
* Allow sample data set to install multiple indices

* create insertDataIntoIndex function to better encapsulate bulk insert

* move everything under bulk insert

* add comment in createIndexName
2018-09-19 07:51:45 -06:00
Maryia Lapata
2e5d3ec18d
Translate markdown_vis (#23186)
* Translate markdown_vis

* Remove space

* Update ids

* Fix a typo
2018-09-19 16:47:33 +03:00
Fabien Baligand
7d050d1df8 add support for 'format:number:defaultLocale' setting in TSVB (#21444)
ok, we'll worry about that later
2018-09-19 14:06:08 +02:00
Larry Gregory
33acd60f9f
Remove ability to implicitly find across all types (#23198) 2018-09-19 07:22:43 -04:00
Walter Rafelsberger
c940c6d111
[ML] Fixes a race condition where the chart tooltip could be hidden even if it should be shown. (#23270)
- Even with the check if fadeTimeout was set in show(), I could reproduce race conditions where a new tooltip would disappear again, because a previous fadeTimeout would trigger and set the new tooltips display to none.
- This PR fixes it by adding a non-asynchronous visible flag to mlChartTooltipService to check if the tooltip should stay visible if fadeTimeout triggers.
2018-09-19 10:53:27 +02:00
CJ Cenizal
cae4443c0b
Add SearchSelect component. (#23284) 2018-09-18 17:10:13 -07:00
Joe Fleming
7dc4e3c162 chore: update the canvas readme (#23296) 2018-09-18 14:00:00 -07:00
CJ Cenizal
3d2782c384
Move management Jest tests from __test__ directories to __jest__, to differentiate them from Mocha tests. (#22944) 2018-09-18 13:36:15 -07:00
joe fleming
35949860b4 chore: show canvas build errors in watch mode 2018-09-18 13:33:48 -07:00
Ryan Keairns
0aa51325fe
Fixes IE color issues on Welcome screen graphics (#23281)
* fixes opacity issues on bg graphics

* tweak gradients
2018-09-18 13:54:27 -05:00
Jonathan Budzenski
a1777b789e
Bump geckodriver to 1.12.2 (#21799) 2018-09-18 13:21:30 -05:00
Ryan Keairns
9f6cb4d785 fixes modal width and element capitalization (#23250) 2018-09-18 10:46:20 -07:00
Aaron Zhao
17c0184d9a Rename the filter bar collapser tooltip (#22942) 2018-09-18 12:31:16 -04:00
Larry Gregory
0a196450a6
allow user list to also be sorted by name and email address (#23242) 2018-09-18 11:10:21 -04:00
Pete Harverson
19fb3a52ca
[ML] Fix bug in Explorer chart range if selection has too many points (#23267)
* [ML] Fix bug in Explorer chart range if selection has too many points

* [ML] Remove unnecessary newline added in calculateChartRange
2018-09-18 16:08:16 +01:00
Brandon Kobel
9d4886cdfb
Adding bulk create api integration tests (#22966) 2018-09-18 11:00:52 -04:00
Bill McConaghy
e0c0e8d693
adding opt in for telemetry to start trial and upload license (#22925)
* adding opt in for telemetry to start trial and upload license

* fixing scrolling issue with start basic modal in small browser window and improving a11y for read more

* Design cleanup

Mostly spacing and alignment fixes.

* updating jest snapshots

* IE Fixes

* PR feedback
2018-09-18 10:58:37 -04:00
Bill McConaghy
dbdbfac0e7
Add labels for form elements advanced settings (#22969)
* adding aria-labels to form inputs for advanced settings

* updating snapshots
2018-09-18 09:45:05 -04:00
Lisa Cawley
428ee421ee
[DOCS] Adds troubleshooting info for monitoring (#21005) 2018-09-17 18:27:36 -07:00
joe fleming
2b78b48ab4 chore: change canvas plugin build output
same prefixed label as the completion message
2018-09-17 16:30:09 -07:00
Catherine Liu
388c8417bb
Fixed typo in metric function def (#23234) 2018-09-17 12:16:28 -07:00
Chris Davies
c64624ada3
Add saved object index migrations (#20243)
Migrations are the mechanism by which saved object indices are kept up to date with the Kibana codebase. Plugin authors can write their plugins to work with a certain set of mappings. Migrations ensure that the index actually conforms to those expectations.
2018-09-17 14:24:32 -04:00
Jonathan Budzenski
f5d44f6d9f
Add optimize and --no-optimize flags (#16302)
* Add optimize flags

* update docs to --no-optimize

* docs

* extra newline

* lint

* update mocks

* update default config

* update snapshots
2018-09-17 12:45:51 -05:00
Peter Pisljar
de345de88c
removes vis dependency from response handlers (#22583) 2018-09-17 19:43:38 +02:00
Jonathan Budzenski
1f98acb53c
bump elasticsearch (#21786) 2018-09-17 11:48:30 -05:00
Jonathan Budzenski
d112a6a1ee
Update package.json (#20353)
* Update package.json

* skip root before resolving
2018-09-17 11:46:03 -05:00
Jonathan Budzenski
cc10fc02f6
[es] set default port based on protocol (#21564)
* [es] set default port based on protocol

* explicit https/http check

* url parses port as string

* breaking changes docs

* remove 9200 fallback
2018-09-17 09:54:05 -05:00
Pete Harverson
20b9cba02a
[ML] Removes job ID from detector description for duplicates (#23192) 2018-09-17 09:37:39 +01:00
Spencer
8477fbef70
fix visualize browser test (#23216)
Looks like a typo made it into the visualize browser tests.
2018-09-15 20:39:24 -07:00
Spencer
931022ba67
Migrate chrome injected vars API to new platform (#22911)
* [core/public/injectedMetadat] migrate injected metadata APIs

* [ui/replaceInjectedVars] fix test

* [tests/browser] move injectedVars out of legacyMetadata

* [core/public/injectedMetadata] add types for legacyMetadata

* [tests/browser] move uiSettings back into legacyMetadata

* [tests/browser] fix old references to legacyMetadata

* [tests/browser] remove old tests

* [core/public/deepFreeze] fix snapshot for removal of ReadonlyArray

* [chrome/apis] use slightly less permissive types for `chrome` argument
2018-09-14 13:24:36 -07:00
Spencer
dba7a5f8bf
[build] default to --debug output (#23011) 2018-09-14 13:23:49 -07:00
scottis
3924a319d1 Fixes #21612 (#22003) 2018-09-14 16:01:53 -04:00
Larry Gregory
70f2eed4e9
introducing CODEOWNERS to Kibana (#22830) 2018-09-14 14:46:03 -04:00
Caroline Horn
9c83f81f08
Visualize LESS to SASS (#22679) 2018-09-14 13:25:03 -04:00
Jiří Programagor
e2b304a344 [Monitoring] Properly Deduplicate Replica shards (#23183)
Issue #23179 was caused by ignoring multiple replicas of the same shard, even if they are on different nodes. This commit fixes that.
2018-09-14 12:40:11 -04:00
Pete Harverson
16d0c49590
[ML] Fixes z-index of Explorer severity combo box for job picker (#23189) 2018-09-14 17:37:50 +01:00