Commit graph

15728 commits

Author SHA1 Message Date
Toby McLaughlin 11cc609aaa [docs] Generalize docs for Docker env vars (#11581)
The documentation for setting Kibana options with environment variables under
Docker was brittle and difficult to maintain. Rather than list every option,
this change describes the method by which they are defined, thus avoiding the
need to edit the docs in multiple places when a new option is introduced.
2017-07-19 09:35:13 -05:00
trevan 396b073001 Handle date histogram scaling for table vis and avg_buckets metric (#11929) 2017-07-19 10:30:26 +02:00
Peter Pisljar 19cfbd4eab add font size control to markdown visualization (#12860)
* add font size control to markdown visualization

* params to defaults
2017-07-19 08:26:43 +02:00
Peter Pisljar 8f038237cc cancel queries on fail (#12942) 2017-07-19 08:26:04 +02:00
Lukas Olson 3aa244b042 Fix call to suggestions API to correctly use index pattern title (#12917) 2017-07-18 16:16:00 -07:00
Deb Adair aae537915a [DOCS] Changed xrefs to cross doc links to enable GS mini-book builds. 2017-07-18 14:43:38 -07:00
Deb Adair b7d9310c69 [DOCS] Added index file to build GS mini-book. 2017-07-18 14:06:18 -07:00
Peter Pisljar 7da4efe302 fix gauge field formatters (#12913) 2017-07-18 17:41:27 +02:00
Peter Pisljar b69a446db8 analyze wildcard should not be part of default query (#12938) 2017-07-18 17:28:46 +02:00
Nathan Reese 166a0b19cf update axes title (#12815) 2017-07-18 09:12:02 -06:00
Stacey Gammon 0d18ca43ed Reactify stateless table components (#12349)
* Reactify stateless table components

* address code comments

* Get rid of TableRowCellLiner and add more newlines

- get rid of TableRowCellLiner, embed it as a div inside TableRowCell

* remove obsolete snapshot

* Remove toggle all logic

keep toggle each row logic so people can actually see what a checked
row looks like.  And fix a bug with a name

* Address code comments
2017-07-18 10:31:54 -04:00
Spencer 0772998d70 [elasticsearch/migrateConfig] use server.savedObjectsClientFactory() (#12767)
* Uses SavedObjectsClient for UI Settings

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

* [server/saved_objects] add server.savedObjectsClientFactory()

* [elasticsearch/migrateConfig] use server.savedObjectsClientFactory()

* [elasticsearch/healthCheck] add savedObjectsClient stub
2017-07-17 17:47:06 -07:00
Yuri Astrakhan bae2ad6c2b Add Vega-vis, sort (#12923) 2017-07-17 16:51:43 -04:00
CJ Cenizal e3af175b77 Update HTML style guide with rule about putting nested elements on multiple lines. (#12812) 2017-07-17 13:34:36 -07:00
CJ Cenizal 30ba98c6b6 Add test subject selectors to Management landing page links. (#12875) (#12922) 2017-07-17 12:20:55 -07:00
Peter Pisljar 7168858e4a fix spy panel on discovery page (#12853)
* adding show-spy-panel to visualization

* fix discover spy panel

* default editor should aways show spy panel toggle button
2017-07-17 18:13:47 +02:00
Peter Pisljar d3017f8d2d vis with saved search should not show query and filter panels (#12911) 2017-07-17 17:06:49 +02:00
Peter Pisljar 9c40441750 query should update url state (#12912) 2017-07-17 17:06:24 +02:00
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