-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit '10f7880' into discover-context-app
- Loading branch information
Showing
279 changed files
with
4,561 additions
and
8,845 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
/optimize | ||
/src/fixtures/vislib/mock_data | ||
/src/ui/public/angular-bootstrap | ||
/test/fixtures/scenarios | ||
/src/core_plugins/console/public/webpackShims | ||
/src/core_plugins/console/public/tests/webpackShims | ||
/src/core_plugins/timelion/bower_components | ||
/src/core_plugins/timelion/vendor_components | ||
test/fixtures/scenarios | ||
optimize | ||
test/fixtures/scenarios | ||
/src/ui/public/utils/decode_geo_hash.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
--- | ||
extends: '@elastic/kibana' | ||
rules: | ||
no-unused-vars: off | ||
no-var: off | ||
prefer-const: off | ||
no-extra-semi: off | ||
quotes: off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
[[breaking-changes-6.0]] | ||
== Breaking changes in 6.0 | ||
|
||
There are not yet any breaking changes in Kibana 6.0 | ||
This section discusses the changes that you need to be aware of when migrating | ||
your application to Kibana 6.0. | ||
|
||
[float] | ||
=== Removed option to use unsupported scripting languages | ||
*Details:* Kibana 5.x allowed users to create scripted fields using any scripting language enabled in Elasticsearch. | ||
Kibana 6.0 will only support Painless and Lucene expression based scripts. | ||
|
||
|
||
*Impact:* You will need to migrate your groovy, python, javascript, etc. scripted fields to Painless or Lucene expressions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,36 @@ | ||
--- | ||
|
||
root: true | ||
extends: '@elastic/kibana' | ||
extends: '../../../.eslintrc' | ||
|
||
rules: | ||
block-scoped-var: [0] | ||
camelcase: [0] | ||
curly: [0] | ||
dot-location: [0] | ||
dot-notation: [0] | ||
eqeqeq: [0] | ||
guard-for-in: [0] | ||
indent: [0] | ||
max-len: [0] | ||
new-cap: [0] | ||
no-caller: [0] | ||
no-empty: [0] | ||
no-extend-native: [0] | ||
no-loop-func: [0] | ||
no-multi-str: [0] | ||
no-nested-ternary: [0] | ||
no-proto: [0] | ||
no-sequences: [0] | ||
no-undef: [0] | ||
no-use-before-define: [0] | ||
one-var: [0] | ||
quotes: [0] | ||
space-before-blocks: [0] | ||
space-in-parens: [0] | ||
space-infix-ops: [0] | ||
semi: [0] | ||
strict: [0] | ||
wrap-iife: [0] | ||
block-scoped-var: off | ||
camelcase: off | ||
curly: off | ||
dot-location: off | ||
dot-notation: off | ||
eqeqeq: off | ||
guard-for-in: off | ||
indent: off | ||
max-len: off | ||
new-cap: off | ||
no-caller: off | ||
no-empty: off | ||
no-extend-native: off | ||
no-loop-func: off | ||
no-multi-str: off | ||
no-nested-ternary: off | ||
no-proto: off | ||
no-sequences: off | ||
no-undef: off | ||
no-use-before-define: off | ||
one-var: off | ||
quotes: off | ||
space-before-blocks: off | ||
space-in-parens: off | ||
space-infix-ops: off | ||
semi: off | ||
strict: off | ||
wrap-iife: off | ||
no-var: off | ||
prefer-const: off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
src/core_plugins/kibana/public/dashboard/components/panel/lib/panel_state.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
export const DEFAULT_PANEL_WIDTH = 3; | ||
export const DEFAULT_PANEL_HEIGHT = 2; | ||
|
||
/** | ||
* Represents a panel on a grid. Keeps track of position in the grid and what visualization it | ||
* contains. | ||
* | ||
* @typedef {Object} PanelState | ||
* @property {number} id - Id of the visualization contained in the panel. | ||
* @property {Element} $el - A reference to the gridster widget holding this panel. Used to | ||
* update the size and column attributes. TODO: move out of panel state as this couples state to ui. | ||
* @property {string} type - Type of the visualization in the panel. | ||
* @property {number} panelId - Unique id to represent this panel in the grid. | ||
* @property {number} size_x - Width of the panel. | ||
* @property {number} size_y - Height of the panel. | ||
* @property {number} col - Column index in the grid. | ||
* @property {number} row - Row index in the grid. | ||
*/ | ||
|
||
/** | ||
* Creates and initializes a basic panel state. | ||
* @param {number} id | ||
* @param {string} type | ||
* @param {number} panelId | ||
* @return {PanelState} | ||
*/ | ||
export function createPanelState(id, type, panelId) { | ||
return { | ||
size_x: DEFAULT_PANEL_WIDTH, | ||
size_y: DEFAULT_PANEL_HEIGHT, | ||
panelId: panelId, | ||
type: type, | ||
id: id | ||
}; | ||
} |
Oops, something went wrong.