Commit graph

15073 commits

Author SHA1 Message Date
Peter Pisljar
df19c44ceb removing unused image (#10828) 2017-03-21 14:37:12 +01:00
Martin Hickey
3aa5938daa Kibana Globalization - Phase 2 (#8766)
* Integrate angular-translate globalization framework with i18n engine
* Provide template for enabling translations in an AngularJS view by translating a view
* Verification tool for translation keys used in angular-translate
* Documentation
2017-03-20 14:09:06 -04:00
Chris Cowan
d22861f3ec UI Tweaks for Time Series Visual Builder (#10739)
* A few UI tweaks for Time Series series config

* fixing number inputs for color rules and fixing picker
2017-03-20 09:17:58 -07:00
Chris Cowan
5e7b471269 Fixes for resize bug that showed up in demo (#10750) 2017-03-20 09:17:28 -07:00
Brandon Kobel
be2cb4b994 Moving handlebars from a devDependency to a dependency (#10801) 2017-03-20 09:06:12 -04:00
Richard Hoffman
0c3444f214 Tilemap heatmap - to prevent flickering on mousemove, keep reference to the currently active feature and only change if nearest feature is not active (#10467)
Added patch from @thomasneirynck for tooltips to follow mouse
2017-03-18 05:32:54 -07:00
Richard Hoffman
84eed3ae87 Highlight area chart when hovered (#10460)
* Highlight area chart when hovered

* Added browser tests for area chart hover
2017-03-18 05:31:03 -07:00
CJ Cenizal
3e5352574f [UI Framework] Add Label, SearchInput, and FieldGroup components. (#10713)
* Add SearchInput and FieldGroup components.
2017-03-17 15:46:44 -07:00
Jim Unger
3bcb7dd1da Adds disabled, visible, and tooltip properties to section class/template (#10784)
* Adds disabled, visible, and tooltip properties to section class/template

* adds tests
2017-03-17 17:14:45 -05:00
CJ Cenizal
23ac54d915 [UI Framework] Move Badge, Card, Column, and Notice components from base.less into UI Framework. (#10777)
* Move Badge, Card, Column, and Notice components from base.less into UI Framework.
* Add deprecation comment to Column page.
2017-03-16 16:16:14 -07:00
Tim Sullivan
23b2c73a87 [Management] Apply kuiPanelHeaderSections to product panels (#10622)
* [Management] Apply kuiPanelHeaderSections to product panels

* switch to dark gray on light gray icons per design

* changes per review feedback
2017-03-16 10:28:50 -07:00
CJ Cenizal
9902513788 Fix background-color hover bug with Basic Button in ToolBar. (#10772) 2017-03-15 14:37:34 -07:00
Joost Rothweiler
af6bb1c29d Remove some lodash usage (#10746)
* Remove some lodash usage

Remove lodash usage including reduce, map, and filter

* Add 0 as second parameter

Add a 0 as a parameter to the reduce method to fix tests
2017-03-13 21:44:16 -04:00
MathijsHoogland
1b7af072d7 Syntax fixes test code (#10747)
* Removed a comma that should not be there.

* Should use double quotes if an expression is in a string.
2017-03-12 11:58:36 -07:00
yershalom
a1252f11d8 Update known-plugins.asciidoc (#10738)
Added the Funnel Visualization plugin
2017-03-12 13:08:45 -04:00
Peter Pisljar
d1b505676c fixing console documentation (#10751) 2017-03-11 15:33:41 -08:00
Chris Cowan
502843a34b Exposes the stageEditableVis to fullEditor editors Fixes #10718 (#10720) 2017-03-09 09:19:30 -08:00
Stacey Gammon
30bbf3a7de Allow queuing up of confirm modals. (#10723) 2017-03-08 17:12:13 -08:00
maxvanzoest
26ec66bf05 typo in constraits (#10714) 2017-03-07 20:26:27 -05:00
MathijsHoogland
36aadda072 Updated broken url in CONTRIBUTING.md (#10715)
* Updated broken url in CONTRIBUTING.md

* Switched url to the master documentation.

* Changes from future release documentation to current release docs.
2017-03-07 20:25:07 -05:00
maxvanzoest
06049c2571 propose language changes (#10709) 2017-03-05 12:10:32 -05:00
Chris Cowan
053ebfa26c Fixing the title removal for gauges, metric, and markdown for Time Series Visual Builder (#10707)
* Fixing the title removal for gauges, metric, and markdown

* Adding comment about the $timeout
2017-03-03 17:47:15 -07:00
Joe Fleming
46c9605e18 Handle importing invalid types (#10666)
* show service errors but resolve promise

By handling service failures explicitely, the error doesn't bubble up the promise chain, so tasks
that have to happen after it, like refreshing the index and data, still happen, and the UI will
be in sync with the data in the .kibana index

* throw error on invalid saved object type

* append useful info to the type error message
2017-03-03 17:45:22 -07:00
Chris Cowan
08b9535e5f Fixing resizing for charts on dashboard (#10706) 2017-03-03 17:44:47 -07:00
Joe Fleming
82b37aa524 Prompt about overwriting existing saved objects (#10663)
* prompt about overwriting existing saved objects

If the user selects now, things work the same as before, but selecting yes will just overwrite existing saved objects without prompting

* add more white space

because https://github.com/elastic/kibana/blob/master/style_guides/js_style_guide.md#chaining-operations

* re-word the overwrite all dialog
2017-03-03 17:02:09 -07:00
Spencer
b804ea050d [ui/resize_checker] extract from vislib and use resize-observer polyfill (#9439) 2017-03-03 15:33:07 -07:00
Court Ewing
9e39956c27 build: always run build task in jenkins (#10689)
We always run the build task now in jenkins jobs rather than only in the
core builds. This ensures that the build task runs in PR builds even
though the build artifacts are not used for anything.

Ideally all the selenium tests would run against this build rather than
it just being something that gets ran and forgotten about, but this is a
first step.
2017-03-03 12:57:21 -05:00
Chris Cowan
a38ae49884 Moving front-end code out of devDependencies (#10670)
* Moving front-end code out of devDependencies

* removing range specifier

* overriding ua-parser-js@0.7.12 to MIT

* upgrading react-color; upgrading react; upgrading pui-tooltip;
2017-03-03 09:13:46 -07:00
Matt Bargar
5a0a4871cb Update doc table when auto refresh contains doc updates (#10385)
The problem: if a doc is already displayed in the doc table and it gets updated in elasticsearch, that change won't be reflected in the doc table via auto-refresh because our ng-repeat track by only looks at index, type, and score.

I've fixed this by including the _version in the search response and then adding it to the track by.

Fixes #3430
Fixes #7505
2017-03-03 11:09:08 -05:00
Chris Cowan
1808e885da Fixing query to field status to use integer instead of timestamp string (#10684)
* Fixing query to field status to use integer instead of timestamp string

* Adding format; fixing tests
2017-03-03 08:49:15 -07:00
Spencer
7aecc85c9d [git] ignore yarn.lock file (#10667) 2017-03-02 17:05:16 -07:00
Chris Cowan
0ab20b0363 Adding common folder for isomorphic code; changing paths (#10668) 2017-03-02 16:17:41 -07:00
CJ Cenizal
7fb7eb99a0 Rename Side Nav Link title and href attributes to label and url. (#10660)
* Rename Side Nav Link title and href attributes to label and url.
2017-03-02 12:53:54 -08:00
Chris Cowan
4f3e625d7f Time Series Metric Visualizations (#9725)
* Initial import

* updating the editor width to match the new specs

* Adding tribe node support

* Adding tests for server libs

* removing bluebird

* removing extra cruft

* Fixing the font sizes

* Fixed the updating code

* Adding brushing

* Fixing linting issues

* Adding global filters

* Adding missing packages

* Default gauge style to half circle

* Fixing the markdown css bug

* Adding tests for the get_vis_data api

* Adding time offset

* Adding time offset to each type

* fixing bugs from time offset

* adding index pattern option to series

* Adding index pattern overrides

* Adding index pattern overrides

* Fixing tests

* Fixing brushing in the vis editor

* Changing the label

* Change the behavior of selecting a pipeline agg when only one exists.

* Refactoring series a bit

* Changing series options to just options

* Making sure we honor the toaster container height

* Adding first tests

* renaming vis_config to panel_config

* renaming vis_config to panel_config

* Adding more tests

* adding more tests

* removing api subdirectory

* refactoring get_vis_data (breaking it up and removing unused imports)

* reorganizing the visualization directory

* Re-organizing directory layouts and moving things to more logical places

* Refactoring React compontents to use ES6 syntax and adding propTypes for each. Also refactored out splats as much as possible.

* Adding serial differencing

* Refactored gauge to use 2 components instead of 4

* Finishing react refactor on visualizations. Consolidated legned funtionality

* Refactoring series config and removing a bunch of duplicate code

* fixing series config name

* Fixing numbers and strings (doesnt matter which it is); Fixing classname

* Changing the way the dark theme works

* Adding new vis into list for test

* Adding empty bucket check

* Fixing the index patterns in the aggs

* Fixing typo

* Refactoring vis_data

* Fixing std_metric

* Fixing refresh-hack

* Adding tests for get_splits, get_last_metric, map_bucket

* Fixing the error handing

* removing restrictions

* Sometimes values are strings or numbers... it doesn't matter

* Adding new color options for splits

* Fixing colors

* fixing size

* Adding support for fitlers agg

* Fixing tests

* Fixing splits for filters

* Fixing Top N to work better with fitlers

* Adding annotation editor

* initial work for annotations

* Finalizing annotations

* Fixing label

* making it expandable

* Fixing hacks fixed by #10175

* Fixing bars to use the same stacking options as lines

* Getting rid of align by colons

* removing unused depends

* removing unused depends

* Changing to readable lodash function

* Adding missing parens

* refactoring custom color picker

* Removing string refs and converting uncontrolled components

* Fixing the controlled components where value maybe null; converting error to css

* refactoring styles from components

* fixing the refresh behavoir borked by fullEditor

* Adding the executor service

* Fixing the test directories

* fixing save

* Adding filter ratios

* Fixing controlled components

* Trying to fix the weird typing

* Fixing offset bug with days

* Adding percentile rank

* Fixing yaxis updates; fixing percentile rank layout; adding steps to line chart

* removing unused depends

* Fixed a bug with the index patterns updating; fixed bug with charts rendering too much

* Fixing tests

* Commenting out React tests because the ENV must have change and they are no longer working

* Moving bucket transform

* moving calculate auto

* Moving calculate_indices

* moving extended_stats_types && get_agg_value

* moving get_buckets_path

* moving get_sibling_agg_value

* moving parse_settings

* moving series_agg

* Moving unit_to_seconds

* Fixing tests

* Fixing per PR

* Renaming vars to make it more clear what's happening

* Changing the way testible functions are exported

* fixing tests

* removing unused imports; fixing typos; fixing package name

* Name has to match the plugin path

* Fixing typos; removing unused imports

* fixing tests

* rearanging and removing unused imports

* Fixing a bug with unque names for radio buttons on the same form

* Fixing filter ratio to use a metric instead of just count

* fixing a bug with the new filter ratios

* Fixing the file path from the #8

* Fixing renderComplete trigger; Fixing embedded mode; Changing names for Timelion and Time Series Visual Builder

* Fixing name

* Fixing docs

* Fixing a typo for the field select for terms splits

* Fixing tests
2017-03-02 13:07:28 -07:00
Shaunak Kashyap
7cbc22b052 Management sections: Allow easy sub-section lookup (#10651)
* Allow sub-section lookup using `/` separator

* Adding assertion to check against the more explicit method

* Conforming to JS style guide

* Better wording
2017-03-02 11:39:30 -08:00
Doug Penny
cbe26ea726 #10099 adds keyboard handling to close confirm_modal on ESC (#10455)
* #10099 adds keyboard handling to close confirm_modal on ESC

* remove resetSpyCounts, use beforeEach

* #10099 change from .bind to .on and remove unnecessary onKeyDown call

* #10099 move ESC handling to confirm_modal.js
2017-03-01 15:39:24 -07:00
Richard Hoffman
d1b5c3ad28 Filter index fields and scripted fields by name only (#10089) 2017-03-01 15:26:16 -07:00
Brandon Kobel
899f040dd3 Modifying timelion redraw logic to fix timing issue (#10486)
* Modifying timelion redraw logic to fix timing issue

When Timelion has issues plotting the series, it tries to redraw in 500ms. In some situations,
another event triggers the drawPlot function and it completes successfully and then the redraw comes
through and can clear-out the correctly drawn chart

* Modifying redraw logic to actually clear out the $.elem()

* Removing the setTimeout logic, and returning early
2017-03-01 16:32:54 -05:00
CJ Cenizal
5b4276c94e [UI Framework] Close Code Viewer when you navigate to a new example. (#10601)
* Show title in CodeViewer.
* Remove unused cases from CodeViewerReducer.
* Close code viewer when the user navigates to a new example page.
2017-03-01 11:02:30 -08:00
Stéphane Campinas
b19e16c19f do not render the visualization/search if there is an error (#10500)
* do not render the visualization/search if there is an error

* added tests in the case where a visualization of the dashboard is not found
2017-03-01 19:49:12 +01:00
Lukas Olson
3b0c41cbc7 When a date is selected in absolute mode, set to start/end of day (#10433)
* In absolute timepicker, use whole days

* Use ngModelOptions instead of implicit bindings

* fix absolute timepicker test

* Fix wording in test
2017-03-01 09:31:34 -07:00
Peter Pisljar
67d9188eaa fix missing axis label (#10615) 2017-03-01 16:55:56 +01:00
CJ Cenizal
9796832857 Fix bug with MenuButton hover state inheriting Bootstrap styles. (#10579) 2017-03-01 07:52:58 -08:00
Peter Pisljar
841a3d204f Sum, Avg, Min and Max bucket pipeline aggregation (#10070)
* allow parent aggs to have sub aggs defined

* adding bucket_sum aggregation

* adding bucket_avg, bucket_min and bucket_max

* fixing based on UI review

* adding tests

* disable terms sorting on pipeline aggs

* fixing based on Staceys review

* adding defaults

* updated based on review

* fixing error with stacking
2017-03-01 16:20:49 +01:00
Toby McLaughlin
e32656777e [docs] XPACK_SECURTY_ENABLED env var for Docker (#10608) 2017-03-01 09:12:08 -05:00
Peter Pisljar
ac4abae774 fixing split chart axis (#10589) 2017-03-01 10:56:56 +01:00
CJ Cenizal
e85a38e15d [UI Framework] Add ToggleButton component and add example of expanded row to Table example (#10623)
* Add ToggleButton component and add example of expanded row to Table example.
2017-02-28 16:04:12 -08:00
CJ Cenizal
b5180a01dc Force kuiLink to have cursor pointer, even if there's no href. (#10625) 2017-02-28 16:01:09 -08:00
Peter Pisljar
44e7248dbe allowing 0 for extent value (#10528)
* allowing 0 for extent value

* fixing based on review
2017-02-28 12:31:10 +01:00
CJ Cenizal
d6bf621258 Update Index Pattern header to use UI Framework components. (#10390)
* Update Index Pattern header to use UI Framework components.
* Fix functional tests.
2017-02-27 16:21:49 -08:00