Commit graph

15594 commits

Author SHA1 Message Date
spalger
5ca30018c5 [docs] remove metions of time-pattern index patterns 2017-06-23 13:42:24 -07:00
Nathan Reese
bddefd223b Add github-markdown.css to markdown visualization (#12377)
* add github-markdown.css to markdown visualization

* bring css internal and use kibana variables

* add license from github-markdown-css

* support dark-theme
2017-06-23 13:46:08 -06:00
Stacey Gammon
99811040f3 full screen mode implementation for dashboard (#12265)
* full screen mode implementation

* Have Edit and Add buttons kick you out of full screen mode

* Instruct the grid to resize when switching between full screen and regular modes

* Use new styles and listen for ESC key

* handle dark theme

* Remove full screen option from edit mode

It’s awkward with no obvious save button to escape edit mode.

* Code review comments

* deregister the route handler if the user navigates away from the dashboard page.

* Use a new broadcast event rather than hijacking the window resize one
2017-06-23 14:09:53 -04:00
Chris Cowan
68bdd7cbdd Remove Version Check for Dashboard Import API (#12476)
* removing version check from import api

* removing tests
2017-06-23 09:16:52 -07:00
Xabier Napal
1b9742336a Close writable stream when reloading logging configuration (#10994) (#10995) 2017-06-23 10:24:39 -05:00
Nathan Reese
1c551081c5 Separate field format editors from field formatters (#12425)
* create registry for field format editors

* index fieldFormatEditors registry by formatId and remove duplicate code between stringify and field_format_editor

* correctly cancel  in date format editor and other minor changes

* unnest editor object

* update fieldFormatEditor usage comment to reflect changes

* use ui_exports to load editor registry instead of modules.js
2017-06-22 15:40:34 -06:00
Jonathan Budzenski
6c298efc0b [es archiver] fix error causes when requesting multiple index features, replace with filter path (#12473) 2017-06-22 16:06:12 -05:00
Chris Roberson
7df397bd7b [Management] More universal solution for fetching indices and aliases (#12405)
* Use two separate, cleaner endpoints due to reliability concerns around indices.getAlias

* Prioritize getAlias and fallback to cat.indices
2017-06-22 15:47:52 -04:00
lcawley
198ed65e57 [DOCS] Add Logstash Reference URL as attribute 2017-06-22 10:56:37 -07:00
Jonathan Budzenski
7155a404ef [licenses] Bump ua-parser-js override (#12474) 2017-06-22 12:19:20 -05:00
Lukas Olson
0e5ee35667 Update docs with the addition of filter editors (#12321)
* Update docs with the addition of filter editors

* Move operators into a table
2017-06-21 18:33:21 -07:00
Lisa Cawley
6cd36bbc9c [DOCS] Add XPack Reporting to Kibana Guide (#12062)
* [DOCS] Add XPack Reporting to Kibana Guide

* [DOCS] Add attributes for private vs open repo builds

* [DOCS] Add index-shared.asciidoc

* [DOCS] Address feedback on index-shared.asciidoc

* [DOCS] Add X-Pack introduction to Kibana Guide

* [DOCS] Add X-Pack installion to Kibana Guide

* [DOCS] Fix duplicate security attribute in index-shared.asciidoc

* [DOCS] Further fix duplicate security attribute in index-shared.asciidoc

* [DOCS] Revert changes to intro and setup

* [DOCS] Split index-shared.asciidoc

* [DOCS] Add index-shared5.asciidoc
2017-06-21 16:38:49 -07:00
Lisa Cawley
c33aee3df8 [DOCS] Add Dev Tools to Kibana Guide (#12438) 2017-06-21 16:07:12 -07:00
Peter Pisljar
3269965dfb removing old point series defaults (#11958)
This fixes issues where properties from the visualizations saved in older versions were not applied to the Visualization.

This also addressed the fontSize of metrics not being applied on the Dashboard.
2017-06-21 16:08:08 -04:00
Felix Stürmer
1eaf83eb3b [Accessibility] Avoid empty th in doc-table header row (#12364) 2017-06-21 18:07:32 +02:00
Nathan Reese
57f7da66d7 Make vertical bar chart gutter widths consistent (#12264)
* vary bar widths and keep gutter widths static

* update addGroupedBars to use datumWidth and remove groupCount from addStackedBars

* make datumWidth single function

* remove artifacts of rebase
2017-06-21 06:41:29 -06:00
Spencer
ba199bdca2 [5.5] [api/indexPatterns/fields] convert all es errors to Boom errors (#12435)
(cherry picked from commit 6d605ec30a)
2017-06-20 18:37:12 -07:00
Tyler Smalley
4311ae4046 Adds bulk_get to SavedObjects (#12426)
Adds bulk_get for SavedObjects and renames read to get

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-06-20 16:07:08 -07:00
Thomas Neirynck
90d0871a90 change manifest service url to new production server url (#12383) 2017-06-20 18:13:42 -04:00
CJ Cenizal
5fa94ac56a Update files_to_commit to find renamed files. (#12423)
* Update files_to_commit to find renamed files.
* Ignore blank lines and deleted files.
2017-06-20 13:49:46 -07:00
Stacey Gammon
ca553f2bb5 Add label and clear link to color picker (#12422)
* Add label and clear link to color picker

* address code comments

* Add extra example for no color label

* Remove unnecessary div

* Add tests for showColorLabel and transparent color choice
2017-06-20 16:28:21 -04:00
Mark Robert Henderson
22a70b75c4 Accessible Discover table column header buttons (#12217) 2017-06-20 12:48:11 -07:00
CJ Cenizal
f7dc507a25 Fix appearance of error indicator in Visualize sidebar. Give kuiIcon--error correct color. (#12410) 2017-06-20 12:47:28 -07:00
CJ Cenizal
4402297091 Fix ui-select error border color and placeholder font color. (#12411)
* Fix ui-select error border color and placeholder font color.
* Target placeholder selector specifically to the Visualize sidebar to avoid affecting the Filtering UI.
2017-06-20 11:31:15 -07:00
CJ Cenizal
5232a61ed2 [UI Framework] Define consistent default, small, and wide sizing for form fields, and support them within ExpressionItems. (#12190)
* Define consistent default, small, and wide sizing for form fields, and support them within ExpressionItems.
* Make Settings search input full width.
2017-06-20 09:23:23 -07:00
Peter Pisljar
60b28c7438 vislib container too small error message (#11951)
* fixing container too small message

* moving minBarWidth definition to the top

* removing container too small message from point series

* remove tests
2017-06-20 10:38:04 +02:00
Nathan Reese
1423d068f8 Scaled date format for date histogram aggregation (#12384)
* provide getFormat function to date_histogram

* move format object creation to time_buckets

* fix broken test

* pass getConfig to field format constructor since field formatters no longer manage config themselves

* fix _agg_config testing of agg without getFormat method. Old test used date_histogram which now has getFormat, so needed a new agg type

* update expect values for area chart data

* fix expect for visualize app vertical bar

* fix expect for visualize app heatmap chart
2017-06-19 18:48:36 -06:00
Kim Joar Bekkelund
e7ce72e5aa Move Jest config to json (#12402) 2017-06-20 00:09:23 +02:00
Stacey Gammon
4c3cf8b188 Add new react color picker to ui framework with tests (#12245)
* Add new react color picker to ui framework with tests

In prep for dashboard color customization.

* address code review comments

* second round of feedback

* nativeEvent not available in a headless browser, so jenkins tests will fail without a check

* move aria-label

* Require color and have components pass undefined to use default color

* update snapshots after aria-label move

* get rid of default color

* user display: inline-block so clickable is only the width of box and lab el
2017-06-19 16:26:29 -04:00
spalger
445c47e248 [ftr/leadfoot] fix function signature 2017-06-19 12:51:19 -07:00
spalger
a736754f14 [ftr/leadfoot] retry session creation before timeout 2017-06-19 12:49:00 -07:00
Stacey Gammon
72fe011ca9 Need to trigger renderComplete when there are no results (#12380)
In order for render-count to be implemented correctly, we need to
trigger it’s completion when there are no results.
2017-06-19 14:10:39 -04:00
Nathan Reese
86d32dac8c Remove private module dependencies from field formatters (#12239)
* remove Private module loader from FieldFormat

* remove dependency on bound_to_config_obj

* update field_formats registry getDefaultInstanc and getInstance to pass getConfig to FieldFormat constructors

* make previous changes work

* remove paramDefaults state from FieldFormat class, instead use getter

* remove use of shortDotsFilter in source field formatter

* fix broken tests

* remove angular dependency from field formatters

* fix _conformance test

* getConfig service and replace with inline function

* remove unneeded ngMock from __tests__/_field_format.js

* use JSON.stringify in content_types instead of aggressive_parse.tojson because function is only converting an array of strings to into a string

* pass getParamDefaults to _numeral in opts argument

* update field format editors to handle moving paramDefaults from class to instance via getter

* remove unneeded reference to self

* change to arrow functions

* change content_type export from object to only the setup function

* remove unneeded function block around simple arrow function
2017-06-19 10:25:55 -06:00
Shaunak Kashyap
65c4bb2b18 Using parallel language to remove ambiguity (#12356) 2017-06-19 07:43:59 -07:00
Thomas Neirynck
77e91c714a do not normalize strings when joining (#12371) 2017-06-19 10:20:05 -04:00
Thomas Neirynck
d5764eb9f4 ensure no scroll-bar pops up inside timelion viz (#12298) 2017-06-19 10:16:46 -04:00
Stacey Gammon
82e4898792 In case of a save error, use notify.error, not a full screen fatal page (#12381) 2017-06-19 09:12:12 -04:00
Shaunak Kashyap
083b11eccc Moving React styleguide next to other style guides (#12361)
* Moving React styleguide next to other style guides

* Adding React style guide to style guides index file
2017-06-15 07:42:35 -07:00
Chris Roberson
6d8d1ae4ed [Management] Provide a way to fetch indices and template index patterns (#12200)
* Provide a way to fetch indices and template index patterns

* Simplify the data structure

* Change the api to expect a query for both fetches

* Add unit tests

* Clarifying comment

* More tests

* - Move logic into ui/public/indices
- Add test to handle duplication logic

* Feedback from PR

* Add toggle (which defaults to on) to suppress 404s

* Leverage existing error handling constructs
2017-06-15 09:28:26 -04:00
Felix Stürmer
383be943ff [docs] Add tiebreaker field configuration to context docs (#12270) 2017-06-15 11:53:21 +02:00
CJ Cenizal
da13db257b Refine behavior of spy panel in Discover, Visualize, and Dashboard: (#12353)
- It doesn't push the table down in Discover.
- It squeezes the visualization until it disappears in Visualize and Dashboard.
- Hides the visualize 'no data' error behind the panel by giving it a background color.
2017-06-14 16:19:16 -07:00
spalger
a84f75ca11 [ftr/chromedriver] replace comments with debug logs 2017-06-14 14:56:21 -07:00
CJ Cenizal
ee5e442c65 Autoload react_components module (#12338)
* Autoload react_components module.
* Remove import of react_components from kibana plugin.
2017-06-14 12:25:56 -07:00
Felix Stürmer
b515fbad99 [context view] Fix courier exception handling (#12144)
The context view error handling assumed that the `Promise` returned by
`SearchSource.fetch()` would be rejected when an error occurred. Due to
the way courier handles errors, this is not the case though. Instead a
globally registered error handler is called (which is leaked beyond the
lifetime of the `SearchSource` when no error occurs) and the promise
stays pending indefinitely.

Because several other parts of Kibana rely on that behavior at the
moment, this adds a new method `SearchSource.fetchAsRejectablePromise()`
which behaves more sanely. It returns a promise that is either resolved
with a successful response or rejected with an error.
2017-06-14 20:44:22 +02:00
Árpád Poprádi
0b0a2facbb [UI Framework] Reactify kuiHeaderBar and related CSS components (#12280)
* [UI Framework] Reactify kuiHeaderBar and related CSS components
2017-06-14 09:27:24 -07:00
CJ Cenizal
120c065e91 [UI Framework] Improve Warning Button contrast (#12327)
* Fix incorrect syntax in Warning Button examples.
* Improve contrast of Warning Button (still fails contrast checker).
2017-06-14 08:14:49 -07:00
Stacey Gammon
060294f4ba Start of a react style guide (#12240)
* Start of a react style guide

* address code comments

* address code comments

* Adjust setState and spread operator section
2017-06-14 08:58:44 -04:00
Stacey Gammon
7a6f27000c Make add edit buttons accessible (#12320) 2017-06-14 08:52:07 -04:00
Felix Stürmer
9912b04f4b [docs] Add filtering capabilities to context documentation (#12271) 2017-06-14 14:46:07 +02:00
CJ Cenizal
3d25577b57 Fix examples of Table component with ToolBar. (#12326) 2017-06-13 19:55:30 -07:00