Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Infra UI] Merge master and adapt to browser side kibana api changes #21077

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
9c9159c
Implement a build tool for default messages extraction (#19620)
LeanidShutau Jul 17, 2018
492fb01
[ML] Better error notifications in jobs list (#20880)
jgowdyelastic Jul 17, 2018
a0a22cf
[Monitoring/ML] add number of forecasts to monitoring overview (#20758)
Jul 17, 2018
2053441
fix flaky input control chained test (#20642)
nreese Jul 17, 2018
bea8bb4
Add link to maps.elastic.co to region maps docs (#20645)
nickpeihl Jul 17, 2018
1a65b35
Update JS style guide with rule for prefixing private class methods w…
cjcenizal Jul 17, 2018
17eebb9
[kbn-plugin-generator] Fix plugin naming inconsistency (#20808)
aaronoah Jul 17, 2018
861ff8a
Add telemetry false for dashboard tests (#20901)
liza-mae Jul 17, 2018
e90f652
Bump eui (#20774)
stacey-gammon Jul 17, 2018
a36b87a
Add SearchStrategyRegistry and defaultSearchStrategy to support exis…
cjcenizal Jul 18, 2018
8662475
[core/ui] bootstrap the legacy platform within the new platform (#20699)
Jul 18, 2018
41fd042
Move del to dependencies (#20921)
timroes Jul 18, 2018
651013b
[ML] Moves tooltip of info icon to top to avoid overlapping with corr…
walterra Jul 18, 2018
4551dfc
Improve visualization tests (#20782)
liza-mae Jul 18, 2018
4445c58
Use only core in browser environment, loader in node env (#20905)
Jul 18, 2018
3c74d30
[ML] Adding close jobs menu item (#20927)
jgowdyelastic Jul 18, 2018
59b63c6
[home] Include ability to publish kibana saved objects from add data …
nreese Jul 18, 2018
fecbd11
Add beta modules to add Data UI (#20923)
ruflin Jul 18, 2018
5afd06b
[devUtils/procRunner] wait for proc to exit so we fallback to SIGKILL…
Jul 18, 2018
0f5322e
scripted fields preview and validate script before saving (#20746)
nreese Jul 18, 2018
2a645d2
Log correct Kibana URL when TLS is enabled and log it only once. (#20…
azasypkin Jul 18, 2018
274617d
Stats API: implement the "kibana status" spec from the Monitoring dat…
tsullivan Jul 18, 2018
29d8ec4
[tslint] enable no-default-export rule (#20952)
Jul 19, 2018
b4b55bd
Document the way new platform is integrated into legacy one. (#20925)
azasypkin Jul 19, 2018
7a84e78
[ML] Changing edit job icon (#20935)
jgowdyelastic Jul 19, 2018
c443665
Add new tutorials: Osquery, RabbitMQ, and uWSGI (#20944)
tsg Jul 19, 2018
a091cf0
Fix i18n default formats injection into en.json (#20929)
LeanidShutau Jul 19, 2018
b434652
[kfetch] TypeScript-ify (#20914)
Jul 19, 2018
469c005
Remove beta label from tutorial overview page (#20977)
ruflin Jul 19, 2018
3d06046
[ML] Removing _feature and _ignored from detector modal (#20984)
jgowdyelastic Jul 19, 2018
d1b6675
[ML] Better handling of job request timeouts (#20985)
jgowdyelastic Jul 19, 2018
e024856
skip test (#20986)
liza-mae Jul 19, 2018
218dfa2
Update Cloud tutorial instructions to work with UCv2 (#20950)
Jul 19, 2018
35dade2
Reactify users roles (#20739)
bmcconaghy Jul 19, 2018
f8bdc7d
[Test/Cleanup] Remove console.log (#21002)
tsullivan Jul 19, 2018
80833cd
Remove /api/_xpack/usage and /api/_kibana/v1/stats (#20800)
tsullivan Jul 19, 2018
2216b22
Monitoring Angular directives to use React components (#19183)
tsullivan Jul 19, 2018
ff52c76
Fix bug in which Discover showed shard failures message as part of th…
cjcenizal Jul 19, 2018
41eb59a
[APM] use RUM in instructions (#20934)
jahtalab Jul 20, 2018
f3fe9c6
Add new filebeat tutorials (#20997)
tsg Jul 20, 2018
47e784c
Add more tutorials to add data UI (#21020)
ruflin Jul 20, 2018
d787ffb
Add vSphere Metricbeat module tutorial (#20572)
exekias Jul 20, 2018
92cc522
[pjh] Add prometheus exporter to the list of plugins (#21009)
pjhampton Jul 20, 2018
97593b4
Make 'Change password' button on account page keyboard-accessible. (#…
cjcenizal Jul 20, 2018
0dbaf65
Change painless scripted field (#21026)
timroes Jul 20, 2018
ab0e2ba
Convert notify.warning calls to use toastNotifications (#20767)
cjcenizal Jul 20, 2018
cdafa2f
[ML] Adding filters privileges (#21021)
jgowdyelastic Jul 21, 2018
6ecc990
Upgrade xpack to [email protected] (#20930)
snide Jul 21, 2018
465ab78
[ML] Adds editor for configuring detector rules (#20989)
peteharverson Jul 22, 2018
b319b5a
avoid day long gaps in sample data (#20897)
nreese Jul 22, 2018
d6453fa
[ML] Migrates ml-form-label to EUI/React. (#21059)
walterra Jul 23, 2018
abc1559
Merge branch 'master' into feature-infra-ui
weltenwort Jul 23, 2018
e39bc3b
Crudely fix axios api adapter
weltenwort Jul 23, 2018
71469e1
Extend `Chrome` TypeScript type
weltenwort Jul 23, 2018
3ef430b
add tslint exception for tooling-specific export
weltenwort Jul 23, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions docs/plugins/known-plugins.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,6 @@ Use it to create, edit and embed visualizations, and also to search inside an em

* https://github.com/sw-jung/kibana_markdown_doc_view[Markdown Doc View] (sw-jung) - A plugin for custom doc view using markdown+handlebars template.
* https://github.com/datasweet-fr/kibana-datasweet-formula[Datasweet Formula] (datasweet) - enables calculated metric on any standard Kibana visualization.
* https://github.com/pjhampton/kibana-prometheus-exporter[Prometheus Exporter] - exports the Kibana metrics in the prometheus format

NOTE: If you want your plugin to be added to this page, open a {repo}tree/{branch}/docs/plugins/known-plugins.asciidoc[pull request].
2 changes: 1 addition & 1 deletion docs/visualize/regionmap.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Configure a _Terms_ aggregation. The term is the _key_ that is used to join the
===== Layer Settings
- *Vector map*: select from a list of vector maps. This list includes the maps that are hosted by the © https://www.elastic.co/elastic-maps-service[Elastic Maps Service],
as well as your self-hosted layers that are configured in the *config/kibana.yml* file. To learn more about how to configure Kibana
to make self-hosted layers available, see the <<regionmap-settings,regionmap settings>> documentation.
to make self-hosted layers available, see the <<regionmap-settings,regionmap settings>> documentation. You can also explore and preview vector layers available in Elastic Maps Service at https://maps.elastic.co[https://maps.elastic.co].
- *Join field*: this is the property from the selected vector map that will be used to join on the terms in your terms-aggregation.
When terms cannot be joined to any of the shapes in the vector layer because there is no exact match in the vector layer, Kibana will display a warning.
To turn of these warnings, go to *Management/Kibana/Advanced Settings* and set `visualization:regionmap:showWarnings` to `false`.
Expand Down
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"url": "https://github.com/elastic/kibana.git"
},
"dependencies": {
"@elastic/eui": "1.1.0",
"@elastic/eui": "3.0.0",
"@elastic/filesaver": "1.1.2",
"@elastic/numeral": "2.3.2",
"@elastic/ui-ace": "0.2.3",
Expand Down Expand Up @@ -116,6 +116,7 @@
"custom-event-polyfill": "^0.3.0",
"d3": "3.5.6",
"d3-cloud": "1.2.1",
"del": "^3.0.0",
"dragula": "3.7.0",
"elasticsearch": "^14.2.1",
"elasticsearch-browser": "^14.2.1",
Expand Down Expand Up @@ -224,6 +225,8 @@
"yauzl": "2.7.0"
},
"devDependencies": {
"@babel/parser": "7.0.0-beta.52",
"@babel/types": "7.0.0-beta.31",
"@elastic/eslint-config-kibana": "link:packages/eslint-config-kibana",
"@elastic/eslint-plugin-kibana-custom": "link:packages/eslint-plugin-kibana-custom",
"@kbn/es": "link:packages/kbn-es",
Expand All @@ -238,6 +241,7 @@
"@types/classnames": "^2.2.3",
"@types/eslint": "^4.16.2",
"@types/execa": "^0.9.0",
"@types/fetch-mock": "^5.12.2",
"@types/getopts": "^2.0.0",
"@types/glob": "^5.0.35",
"@types/hapi-latest": "npm:@types/[email protected]",
Expand Down Expand Up @@ -270,7 +274,6 @@
"chromedriver": "2.36",
"classnames": "2.2.5",
"dedent": "^0.7.0",
"del": "^3.0.0",
"enzyme": "3.2.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "3.3.1",
Expand Down Expand Up @@ -307,6 +310,7 @@
"jest-raw-loader": "^1.0.1",
"jimp": "0.2.28",
"jsdom": "9.9.1",
"json5": "^1.0.1",
"karma": "1.7.0",
"karma-chrome-launcher": "2.1.1",
"karma-coverage": "1.1.1",
Expand Down
3 changes: 2 additions & 1 deletion packages/kbn-dev-utils/src/proc_runner/proc.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,12 @@ export function createProc(name, { cmd, args, cwd, env, stdin, log }) {
await withTimeout(
async () => {
await treeKillAsync(childProcess.pid, signal);
await this.getOutcomePromise();
},
STOP_TIMEOUT,
async () => {
log.warning(
`Proc "${name}" was sent "${signal}" and didn't exit after ${STOP_TIMEOUT} ms, sending SIGKILL`
`Proc "${name}" was sent "${signal}" didn't emit the "exit" or "error" events after ${STOP_TIMEOUT} ms, sending SIGKILL`
);
await treeKillAsync(childProcess.pid, 'SIGKILL');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ exports.getWebpackConfig = function(kibanaPath, projectRoot, config) {
const alias = {
// Kibana defaults https://github.com/elastic/kibana/blob/6998f074542e8c7b32955db159d15661aca253d7/src/ui/ui_bundler_env.js#L30-L36
ui: fromKibana('src/ui/public'),
ui_framework: fromKibana('ui_framework'),
test_harness: fromKibana('src/test_harness/public'),
querystring: 'querystring-browser',
moment$: fromKibana('webpackShims/moment'),
Expand Down
4 changes: 2 additions & 2 deletions packages/kbn-i18n/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@kbn/i18n",
"browser": "./target/web",
"main": "./target/node",
"browser": "./target/web/browser.js",
"main": "./target/node/index.js",
"module": "./src/index.js",
"version": "1.0.0",
"license": "Apache-2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
* under the License.
*/

import { Notifier } from '../../notify';
import * as i18nCore from './core';

export const location = 'Courier fetch';

export const courierNotifier = new Notifier({
location,
});
export const i18n = i18nCore;
3 changes: 1 addition & 2 deletions packages/kbn-plugin-generator/sao_template/sao.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

const { resolve, relative, dirname } = require('path');

const kebabCase = require('lodash.kebabcase');
const startCase = require('lodash.startcase');
const camelCase = require('lodash.camelcase');
const snakeCase = require('lodash.snakecase');
Expand Down Expand Up @@ -86,9 +85,9 @@ module.exports = function({ name }) {
Object.assign(
{
templateVersion: pkg.version,
kebabCase,
startCase,
camelCase,
snakeCase,
name,
},
answers
Expand Down
6 changes: 3 additions & 3 deletions packages/kbn-plugin-generator/sao_template/sao.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ describe('plugin generator sao integration', () => {
const nameLine = indexContents.match('name: (.*)')[1];
const mainLine = indexContents.match('main: (.*)')[1];

expect(nameLine).toContain('some-fancy-plugin');
expect(mainLine).toContain('plugins/some-fancy-plugin/app');
expect(nameLine).toContain('some_fancy_plugin');
expect(mainLine).toContain('plugins/some_fancy_plugin/app');
});

it('plugin package has correct name', async () => {
Expand All @@ -142,7 +142,7 @@ describe('plugin generator sao integration', () => {
const packageContents = getFileContents(res.files['package.json']);
const pkg = JSON.parse(packageContents);

expect(pkg.name).toBe('some-fancy-plugin');
expect(pkg.name).toBe('some_fancy_plugin');
});

it('package has version "kibana" with master', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ extends: "@elastic/kibana"
settings:
import/resolver:
'@elastic/eslint-import-resolver-kibana':
rootPackageName: '<%= kebabCase(name) %>'
rootPackageName: '<%= snakeCase(name) %>'
6 changes: 3 additions & 3 deletions packages/kbn-plugin-generator/sao_template/template/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ import exampleRoute from './server/routes/example';
export default function (kibana) {
return new kibana.Plugin({
require: ['elasticsearch'],
name: '<%= kebabCase(name) %>',
name: '<%= snakeCase(name) %>',
uiExports: {
<%_ if (generateApp) { -%>
app: {
title: '<%= startCase(name) %>',
description: '<%= description %>',
main: 'plugins/<%= kebabCase(name) %>/app',
main: 'plugins/<%= snakeCase(name) %>/app',
<%_ if (generateScss) { -%>
styleSheetPath: require('path').resolve(__dirname, 'public/app.scss'),
<%_ } -%>
},
<%_ } -%>
<%_ if (generateHack) { -%>
hacks: [
'plugins/<%= kebabCase(name) %>/hack'
'plugins/<%= snakeCase(name) %>/hack'
]
<%_ } -%>
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "<%= kebabCase(name) %>",
"name": "<%= snakeCase(name) %>",
"version": "0.0.0",
"description": "<%= description %>",
"main": "index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ export class Main extends React.Component {
const { title } = this.props;
return (
<EuiPage>
<EuiPageHeader>
<EuiTitle size="l">
<h1>{title} Hello World!</h1>
</EuiTitle>
</EuiPageHeader>
<EuiPageBody>
<EuiPageHeader>
<EuiTitle size="l">
<h1>{title} Hello World!</h1>
</EuiTitle>
</EuiPageHeader>
<EuiPageContent>
<EuiPageContentHeader>
<EuiTitle>
Expand Down
Loading