Commit graph

15710 commits

Author SHA1 Message Date
Kim Joar Bekkelund
2af99de42c Add docs about 'redirectHttpFromPort' setting (#12708) 2017-07-16 22:40:18 +02:00
Stacey Gammon
31b33659ca Fix search issue on listing page + tests (#12618)
* Fix search issue on listing page + tests

* fix test case inconsistency

* use backtics to create the search string
2017-07-14 12:27:06 -07:00
Court Ewing
6c09a674cf Uses uuid for auto-generated ids and prepends type (#12834) (#12877)
* Uses uuid for auto-generated ids and prepends type (#12834)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* saved_objects: remove isSingleTypeError reference
2017-07-14 14:30:11 -04:00
Spencer
10656c2108 [ftr/kbnServer] prevent caching errors when fetching status (#12848) 2017-07-13 17:02:28 -07:00
Brandon Kobel
8f346335bf Add imports for SavedObjectRegistryProvider.register, fixing Timelion (#12844)
* Add imports for SavedObjectRegistryProvider.register, fixing timelion

* Undoing accidental change
2017-07-13 16:53:22 -07:00
Thomas Neirynck
58ef02c908 Display regionmap attribution (#12647)
This adds the attribution strings of vector data files to the map. It also enables the map to allow for individual attribution strings from each individual layer, so attribution gets updated correctly when adding/removing layers.
2017-07-13 18:15:56 -04:00
Tyler Smalley
496fd9326b Support v6 mappings for saved objects import/export (#12792)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-07-13 16:44:16 -04:00
Spencer
ffe5919380 [ftr/mocha] assign interceptors to mocha ui recursively (#12822) 2017-07-13 12:25:45 -07:00
Stacey Gammon
18c9ea42ac Move response/request and editor handler registration to uiExports (#12766)
* Need to import visualize index.js file to fill VisRequestHandlersRegistryProvider appropriately

A bit of a tacky solution but once embeddable handlers PR is checked
in, I can move this visualize specific code over to the visualize
embeddable handler and pull it out of dashboard.

* Do it the right way
2017-07-13 12:59:04 -04:00
Peter Pisljar
3876ff06cf visualize should apply saved query and filters (#12789) 2017-07-13 18:51:44 +02:00
Peter Pisljar
5775eb03c9 reload on auto refresh trigger (#12823) 2017-07-13 18:51:21 +02:00
Court Ewing
748d604fd4 docs: removal of "expand indices" feature in breaking changes (#12830)
* docs: removal of "expand indices" feature in breaking changes

* docs: remove "expand indices" from index pattern

This feature no longer exists.
2017-07-13 09:46:29 -04:00
Peter Pisljar
807e572927 fix range agg label on heatmap y axis (#12754) 2017-07-13 09:06:22 +02:00
Court Ewing
2a4e648789 Remove client-side management of Kibana index mappings (#12820) 2017-07-12 22:27:13 -04:00
Court Ewing
60c636ba4d Remove field_stats pre-flight option for index patterns (#12814)
* Remove field_stats pre-flight option for index patterns

This feature was originally added to make searches against Elasticsearch
more performant when searching across many indices, such as when dealing
with daily indices that have accumulated for years. Elasticsearch now
automatically optimizes index access once a certain amount of shards are
in play, so Kibana doesn't need to hack its own solution.

This option can be removed entirely as existing index patterns that had
this option configured will degrade gracefully.

* test: fix parse error test to account for multiple shards
2017-07-12 20:14:26 -04:00
Spencer
10d243de15 [master] [elasticsearch] patch mappings that are missing types (#12783) (#12817)
* [elasticsearch] patch mappings that are missing types

* [elasticsearch/healthCheck] fix tests

* fix doc typo

* [tests/functional/dashboard] fix suite name

* [es/healthCheck/ensureTypesExist] limit randomness a bit

* [test/functional] update es archives with complete mappings

(cherry picked from commit 929aa8efae)
2017-07-12 17:11:26 -07:00
Chris Cowan
5e6a097a8c Fix TSVB Visualizations to honor darkTheme (#12804)
* Fixes #12802 - Fix TSVB Visualizations to honor darkTheme

* Sometimes appState doesn't exist

* Fixes #12762 - Fixing propTypes to match props being passed
2017-07-12 14:00:46 -07:00
Peter Pisljar
9c09104673 Reload on global fetch event and emit vis:ready (#12805)
this  fixes 
- the issue where adding a saved search panel after adding a visualization, would cause the panel to remain empty.
- clicking the magnifier glass int he query-bar on the dashboard page not refreshes the visualization
2017-07-12 15:45:37 -04:00
CJ Cenizal
e395798cfd Fix disappearing borders for LocalNav search select. (#12803) 2017-07-12 11:45:01 -07:00
Thomas Neirynck
fcee78a006 Revert "sending ready:vis event when done (#12796)" (#12799)
This reverts commit dee4f7d4da.

This needs some more review, as in-tandem with the refresh PR, #12752, it may introduce some unwanted side-effects.
2017-07-12 11:56:22 -04:00
Thomas Neirynck
5b411426a8 Remove dashboard refresh handler. (#12798)
This was introduced as part of https://github.com/elastic/kibana/pull/12752, but needs more review to verify if this is right way forward.
2017-07-12 11:35:49 -04:00
Tim Roes
bdcbdc9433 Fix several a11y issues in the discover app (#12681)
* Fix minor a11y issues in field filter

aria-expanded is a true/false/undefined state so we need to make sure
even if showFilter is undefined, we will print false (that's why the
double negation)

aria-haspopup doesn't really fit, since this is not a popup in the sense
the ARIA standard describes ("A popup is generally presented visually as
a group of items that appears to be on top of the main page content.")

Add aria-controls to reference the controlled element.

Fix #12638 and toggle label when filter toggles

* Add labels to magnifiers in field filter (Fix #12635)

* Add search role for discover search (Fix #12642)

* Describe the search input with the lucene query syntax link

* Make collapsible-sidebar a11y (Fix #12636)

* Fix id to use camel-case
2017-07-12 08:32:58 -07:00
Tim Roes
bc8f394d94 Improve date picker accessibility (#12676)
* Add aria-labels to date-picker buttons (Fix #12634)

* Remove redundant gridcell role (Fix #12673)
2017-07-12 08:31:01 -07:00
Tim Roes
3fe58e9eae Replace role=main by main elements (#12671)
* Replace role=main by main elements

* Move main style to _common_styles

* Add compiled UI Framework CSS.
2017-07-12 08:30:42 -07:00
Peter Pisljar
dee4f7d4da sending ready:vis event when done (#12796) 2017-07-12 17:16:17 +02:00
Peter Pisljar
4349a53f2a fixing split chart class names and margins (#12663) 2017-07-12 17:15:52 +02:00
Peter Pisljar
574f5ca4b5 fixing refresh and auto refresh (#12752)
* fixing refresh and auto refresh

* cleaning up state monitor

* uiState should trigger normal reload path

* query bar search should force refresh

* reload on global fetch event
2017-07-12 17:08:28 +02:00
Tyler Smalley
ef492a7c15 Uses SavedObjectsClient for Short URL Lookup (#12787)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-07-12 10:02:03 -05:00
Peter Pisljar
98b231920e Region map click handler should use new API (#12790) 2017-07-12 09:47:41 -04:00
Spencer
a081ec0fea [kbnServer/extensions] formalize request factories with helper (#12697)
* [kbnServer/extensions] add server.addMemoizedFactoryToRequest() helper

* [server/uiSettings] use server.addMemoizedFactoryToRequest() helper

* [kbnServer/extensions] name `this` for clarity
2017-07-11 16:47:50 -07:00
Chris Cowan
e7cd2554cc Fixes #12777 - Add onBrush to Visualization component for TSVB (#12778) 2017-07-11 15:04:55 -07:00
Court Ewing
4bf1ade6f9 bump node.js to version 6.11.1 (#12776) 2017-07-11 17:57:01 -04:00
dave.snider@gmail.com
8e5fa56197 update favicons (#12774) 2017-07-11 14:47:24 -07:00
Chris Cowan
df40112846 Fixes #12757 - Fixing field fetching for index patterns. (#12771) 2017-07-11 13:49:29 -07:00
Tyler Smalley
0d502aec49 Use SavedObjectsClient for Courier Index Pattern (#12719)
* Index pattern is created, by default, with a random ID by Elasticsearch
* Updated all references requiring the pattern itself to use indexPattern.title
* Advanced options toggle added to index pattern creation page to provide a specified ID
* If an index pattern does not exist, the user is given a link to create a pattern with the referenced ID.
2017-07-11 13:18:26 -07:00
Peter Pisljar
dd80489c33 Fix TSVB UX flow (#12770)
Due to the visualize refactor, the default page-sequence of TSVB was no longer respected. This also removes the display of the query and filter bar from TSVB.
2017-07-11 15:34:33 -04:00
Tyler Smalley
44dedd6091 Uses SavedObjectsClient for UI Settings (#12747) 2017-07-11 12:33:58 -07:00
Nathan Reese
42fe210f20 add indexPatternId to sharing data (#12772) 2017-07-11 12:59:15 -06:00
Tyler Smalley
c1e5d542ed Saved objects compatibility layer (#12648)
Support for v5 and v6 index mappings
2017-07-11 10:53:15 -07:00
Lukas Olson
055080521c Make filter editor suggestions opt-in (#12710)
* Add shard_size to the suggestions terms agg request

* Make filter editor suggestions opt-in

* Add size parameter
2017-07-11 10:46:55 -07:00
Lukas Olson
9ab0fc90c3 Update regex used to detect IE for long length warnings (#12617) 2017-07-11 10:43:47 -07:00
Marius Dragomir
a388dddc41 Changed Console Docs images to Kibana master (#11545)
* Changed images to Kibana 5.x ones

* Update to images to make them smaller in width
2017-07-11 20:19:00 +03:00
Chris Cowan
4e13020701 Fixes #12763 - Add show_grid to the default vis structure (#12769) 2017-07-11 10:15:02 -07:00
Jim Unger
e951369398 Add breadcrumb-page-title to management-app (#12765)
* Adds breadcrumb-page-title to management-app

* Changes argument name to page-title
2017-07-11 11:36:55 -05:00
dave.snider@gmail.com
6572fb3823 [Design] Use alpha logo, retain branding in fullscreen mode (#12735)
[Design] Use alpha logo, retain branding in fullscreen dashboard mode.
2017-07-11 08:04:50 -07:00
Thomas Neirynck
6bfc46039d Should only run visualization on Discover page when the indexpattern is time-based (#12741) 2017-07-11 10:54:49 -04:00
Nathan Reese
9ee9d8e315 Remove event listener for resizeChecker when directive is destroyed (#12734)
* make sure  is only added one time and it is canceled on destroy

* unregister EventEmitter function

* remove cancel function for watcher in default.js

* visualization directive

* remove duplicate destroy

* use ResizeChecker destroy method instead of off to remove event handler
2017-07-11 08:35:44 -06:00
Felix Stürmer
b97a2650eb [Accessibility] Add button to skip past the discover doc table (#12539) 2017-07-11 15:23:22 +02:00
CJ Cenizal
fbb074a167 Update LocalNav layout to fix menu button hover state. (#12739) 2017-07-10 13:43:46 -07:00
Chris Cowan
08a43142c8 Fixes #12693 - Fixing a spelling error in TSVB (#12695)
* Fixes #12693 - Fixing a spelling error

* Changing from 'space separated' to 'space-delimited'
2017-07-10 12:35:31 -07:00