Commit graph

15251 commits

Author SHA1 Message Date
Court Ewing
363bdaf22e readme: remove descriptions of P labels
We removed P labels from the repo entirely, so there's no need to
document them.
2017-04-25 11:01:05 -04:00
Peter Pisljar
b79cb08a28 updating visualize aggregations docs (#11034)
* updating visualize aggregations docs

* fixing based on review
2017-04-25 08:01:02 +02:00
CJ Cenizal
4209774dde Deprecate Bootstrap buttons (#11352)
* Migrate Console to kuiButton.

* Convert angular-bootstrap Timepicker and Tabs components to use kuiButtons.

* Convert Timelion to use kuiButtons.

* Convert Visualize and visTypes to use kuiButtons.
- Convert Heatmap vistype to use kuiButtons.
- Convert Visualize editor, AggTypes controls, and Heatmap options to use kuiButtons.
- Convert VisType control rows_or_columns to kuiButton.
- Adjust formatting of kuiButtons in AggTypes controls and Heatmap options.
- Convert Visualization save prompt to use kuiButtons.
- Convert visualize legend to use kuiButtons.
- Convert Visualize Spy to use kuiSelect instead of Bootstrap buttons.

* Convert Notify to use kuiButtons.
- Fix appearance of Notifier countdown.

* - Convert Dashboard to use kuiButtons and kuiMenuButtons.
- Convert Dashboard save panel to use KuiButtons.

* Convert Discover sidebar to use kuiButtons, and have an improved UX and accessibility.
- Convert Discover field chooser to use kuiButtons.
- Convert Discover no-results to use kuiButtons.
- Convert Discover save panel to use KuiButtons.

* Convert filter bar to use kuiButtons.

* Convert fatal splash screen to use UI Framework components.

* Convert number list to use kuiButtons.

* Convert stringify color editor to use kuiButtons.

* Convert timepicker directive to use kuiButtons.

* Convert Index Pattern Management to use kuiButtons.
- Convert Index Pattern Management field editor to use kuiButtons.
- Remove unnecessary ng-class from Create Index Pattern submit button.

* Remove unused global_config.html partial.

* Fix functional tests.
- Rename discover-save-search-btn test subject selector to discoverSaveSearchButton.
- Convert Notifier tests to use kuiButtons.
- Convert functional tests to use test subject selectors instead of relying on btn classes.
- Update HeaderPage and VisualizePage page objects to refer to timePickerGoButton.
- Fix broken functional tests for Discover, Visualize, and Settings.
- Fix failing Discover scripted fields tests.

* Fix visual bugs with FieldChooser string, Notifier buttons, and NumberList.

* Fix Number List so the 'remove' buttons are small.

* Fix FieldEditor to have space between Popularity input and dec/increment buttons.

* Update FieldChooser string partial to have padding around 'Visualize' button.
2017-04-24 16:35:58 -07:00
Matt Bargar
b5269cff10 Fix jpg encoding issue causing weird colors in Chrome (#11367) 2017-04-24 16:22:11 -04:00
CJ Cenizal
b5d1df929a Refactor and document Visualize, Visualize Editor, and Visualization Spy. (#11359)
* Refactor and document Visualize, Visualize Editor, and Visualization Spy.
2017-04-24 12:58:15 -07:00
Thomas Neirynck
00d11ea07f Fix map center and zoom persistence (#11299)
Previously, we would listen to the generic moveend event to listen to map changes. However, when the panels of "save" and "reporting" would slide open, it would cause minor jitters to the map-center (in the order of the 5th decimal digit), due to the map being slightly nudged down and back up. Now, we listen to drag and zoom events specifically, and no longer the catch-all moveend event.

This commit also improves the initialization of the map/zoom-settings by applying them at map-construction. It also now correctly uses the default settings.
2017-04-24 14:12:19 -04:00
Stacey Gammon
82b05c4199 Finish loading a dashboard even if some visualizations throw errors (#11324)
Dashboard listens for ‘ready:vis’ to be broadcast, but if an error is
thrown when loading the panel, it wasn’t being sent, so dashboard was
sitting there waiting for pendingVisCount to be 0 before fetching the
data.
2017-04-24 11:01:47 -04:00
Chris Cowan
788e6c650e Fixes #11232 - Add option for panel and global filters to annotations for TSVB (#11260)
* Fixes #11232 - Add option for panel and global filters

* Changing logic to use ignore instead of include
2017-04-24 13:41:12 +02:00
Felix Stürmer
9317574a3e [docs] Add documentation for the context view (#11222)
Add documentation for the context view

fixes #11216
2017-04-24 12:22:57 +02:00
Thomas Neirynck
bb40d5084f Add geocentroid doc (#11368) 2017-04-22 15:23:31 -04:00
Lukas Olson
d83fa10cb6 Add small text input to UI framework (#11354)
* Add small text input to UI Framework

* Undo accidental changes
2017-04-21 16:34:34 -07:00
CJ Cenizal
8ab5aad846 Vertical align children in a FieldGroup. (#11374) 2017-04-21 15:30:00 -07:00
Jonathan Budzenski
5a6766bb50 [test/dashboard] Retry filter check (#11372)
* [test/dashboard] Retry filter check

* [test/dashboard] Use await on getFilters
2017-04-21 16:01:35 -05:00
CJ Cenizal
d183d9ed71 Add kuiButton--fullWidth and kuiButton--small modifiers. (#11365)
- Add kuiButtonGroup--fullWidth modifier.
2017-04-21 13:45:03 -07:00
Brandon Kobel
f72e7269dc Removing the destructuring and const from webpackShims (#11370) 2017-04-21 15:48:10 -04:00
archana
476031b4ea Run tests against an actual Kibana build (#11237)
* build before running selenium

* change directory into built snapshot

* WIP: what is in the build dir

* WIP: skip unit tests

* run selenium on build

* [functional tests on build] Derive version

* [functional tests on build] Missing folder name prefix

* WIP: debug on ubuntu VM

* WIP: double kibana stabilize timeout

* WIP: remove ubuntu VM debug change

* WIP: add logs for docParams

* WIP: add logs for es

* build release version without -SNAPSHOT-

* [functional test release] Cleanup
2017-04-21 11:08:36 -05:00
Chris Cowan
b756eb0f8c Fixes #11289 - Change top_n to not use split colors (#11342) 2017-04-21 09:07:38 +02:00
CJ Cenizal
bd1f63d0aa [UI Framework] Add AssistedInput. (#11343)
* Add AssistedInput component.
* Add missing .kuiLocalSearchSelect class. Add AssistedInput to LocalNav example.
2017-04-20 19:47:35 -07:00
Stacey Gammon
9c37e6c4c1 Remaining default to named conversions in ui/public (#11323)
* use named ui-modules

* x-pack conversion is checked in so no need for the default uiModules export

* Final removal of all export default in ui/public

And turned on the eslint rule for that folder.

* Moe import to top of file
2017-04-20 14:10:06 -04:00
CJ Cenizal
439901971d Add support for dark theme links. (#11344) 2017-04-20 10:55:32 -07:00
CJ Cenizal
c643c3ac71 Add example of disabled kuiSelect. (#11345) 2017-04-20 10:51:47 -07:00
Stéphane Campinas
bfaaf1585c do not use the jquery submit method since it makes a page reload and … (#11100)
* do not use the jquery submit method since it makes a page reload and breaks the flow
* pass the method to execute on select of an item to the typeahead directive instead of finding it via jqlite
2017-04-20 11:02:35 -04:00
Chris Cowan
c092c4d288 Fixes #11231 - Adds check for max_bucket size for Time Series Visual Builder (#11245)
* Fixes #11231 - Adds check for max_bucket size for Time Series Visual Builder

* Added Math.floor() to bucket calculation; changed error message; changed option description
2017-04-20 05:45:12 -07:00
Chris Cowan
e320bec8e3 Fixes #11152 - Time Series Visual Builder - calculateIndices() should return pattern if no indices are found. (#11241)
* Fixes #11152 - calcualteIndices should return index pattern for missing indices

* Refactoring handleResponse to handle empty results and updated tests
2017-04-20 05:39:56 -07:00
Chris Cowan
3a8d086143 Fixing the fields for the numbers for percentile aggs (#11169) 2017-04-20 00:41:07 -07:00
Chris Cowan
123d45e80b Adding label templates to legend keys for TSVB (#11266) 2017-04-20 00:23:46 -07:00
Shinya TAKEBAYASHI
8c4ed2a1ec minimum_number_shoud_match was deprecated (#11316)
minimum_number_should_match was deprecated in ES 5.2.0(issue #22403)
but Kibana Dev Tools suggests it yet.
2017-04-19 16:34:51 -05:00
Jonathan Budzenski
b6b6e8be62 [plugin installer] Look for forward or back slashes (#11332)
* [plugin installer] Look for forward or back slashes when checking for directory

* [plugin installer] Test more file paths for directory check
2017-04-19 15:52:30 -05:00
Stacey Gammon
6c2411d244 Remove showClose and onClose options in confirm modal (#11321)
The reason they were added is no longer necessary (something for view
edit mode which didn’t pan out).  It was a point of contention:

See https://github.com/elastic/kibana/issues/10104
and
https://github.com/elastic/kibana/pull/10069#pullrequestreview-18706527
for background.

Since it’s no longer needed anyway, and this is going to get moved to
react anyhow, I’m removing the unused functionality.
2017-04-19 14:13:11 -04:00
Stacey Gammon
ea45885933 remove an unused test file (#11322)
It references files that don’t exist anymore, anyhow.
2017-04-19 14:05:53 -04:00
Jonathan Budzenski
40e32f2b37 Remove .travis.yml (#11319) 2017-04-19 11:09:35 -05:00
Shaunak Kashyap
e879c86731 Adding limitations section to Kibana docs (#11296)
* Adding limitations section to Kibana docs

* Language fixes

* Remove workaround

* Wording change

* Also mention `copy_to` along with `include_in_parent`

* Adding note about searching on nested objects
2017-04-19 08:57:51 -07:00
CJ Cenizal
0c11a8b1f5 Update illegible vis type icons with legible ones. (#11317) 2017-04-19 08:55:43 -07:00
Jonathan Budzenski
80ba3a52b0 Fix architecture style guide link 2017-04-19 08:19:26 -05:00
Stacey Gammon
3eeecb7381 Default to named ui public n to z (#11221)
* notify/notifier

* Notify and uiRegistry

* Registry/*

* saved_object_registry and routes

* ui/public/state_management/*

* stringify

* ui/public/template_vis_type

* ui/public/time_buckets

* ui/public/time*

* ui/public/utils

* ui/public/vis/.

* ui/public/vis/components/tooltip

* ui/public/vis_maps/*

* ui/public/vislib/*

* Add a named export for uiModules in prep for that monolith conversion.

* Fix from merge

* address code review comments
2017-04-19 09:02:47 -04:00
Shaunak Kashyap
69c22889ab Kibana-related packages (#11308)
* Make sure package is published under @elastic org namespace

* Preparing packages/ for Kibana-related packages

* Folder structure mirrors package name

* Add note on naming consistency

* s/packages/node modules/ for removing potention confusion with Kibana system packages

* Prefixing the eslint rule with package scope (i.e. org namespace)

* Adding README

* Bumping up version for release

* Adding repository information to package.json

* Bumping up version for release

* URL-encoding repository link + bumping up version for release

* Using published version
2017-04-19 04:31:00 -07:00
CJ Cenizal
a605b7f478 Refactor Index Pattern Creation logic. (#11210)
* Reorder Create Index Pattern logic so local functions are before scope methods.
* Extract some Index Pattern Creation logic into sendCreateIndexPatternRequest and getDefaultPatternForInterval services.
* Use UI Framework typography components for Index Pattern Creation header.
* Separate user-specified variables for configuring the index pattern from controller variables, which just change the UI state.
* Rename index to newIndexPattern for clarity.
* Use controllerAs and fat arrow functions in Create Index Pattern.
2017-04-18 14:30:57 -07:00
CJ Cenizal
345b64924d [UI Framework] Add support for selects and secondary inputs to LocalNavSearch component of UI Framework. (#11287)
* Add support for selects and secondary inputs to LocalNavSearch component of UI Framework.

* Update UI Framework guidePageBody to constrain width of flex component examples, like the LocalNav.
2017-04-18 11:47:36 -07:00
Thomas Neirynck
1bec1f28b7 Adding multiple maps to Dashbaord should not cause error. (#11257)
This seems to be due to an issue with Leaflet 0.7. It does not handle the DOM-removal of controllers of the same type properly, when multiple instances of that type are created.
2017-04-18 13:41:22 -04:00
CJ Cenizal
d2c791e06e Update Settings page with UI Framework components. (#11272)
* Update Settings page with UI Framework components.
* Add examples for new primary MenuButton, SubText, TextTitle, and VerticalRhythmSmall components.
2017-04-18 10:29:12 -07:00
Thomas Neirynck
753dce8c75 Fit should not throw an error. (#11256)
This also solves the issue that the fit only fits on the data currently on screen, and not all the data. This was due to the filtering out of the data not on screen.
2017-04-18 12:14:30 -04:00
Jonathan Budzenski
3a6e68a601 Revert update pleaserun (#11304)
* Revert "Update pleaserun.js to use `--log-directory` with 0.0.28 (#11286)"

This reverts commit e96a8d8273.

* Revert "[jenkins] update call to pleaserun with --log-path (#11275)"

This reverts commit be609d9505.
2017-04-18 10:21:05 -05:00
Brandon Kobel
6d81bafe3d Adding an app for redirects when storing state in session storage (#10822)
* Adding an app for redirects when storing state in session storage

* Removing errant console.log

* Adding early return after reply().redirect

* No longer using the router

* Renaming vars to injectedVarsOverrides

* Putting uiRoutes back in so the code is only executed for this app

* Extracting hash_url to it's own module, and adding tests

* Addressing peer-review comments
2017-04-18 10:47:09 -04:00
Felix Stürmer
0be7acc0dd [context view] Use courier when querying the context (#11127)
Instead of using a separate code path for querying the anchor and
context documents, the context view actions now use a normal
`SearchSource` and thereby scripted fields, source filtering and other
features of a `SearchSource` without duplicated code.

To facilitate this the `SearchSource` gained the `searchAfter` field,
which is turned into a `search_after` clause on the request.

Additionally, the `FetchStrategyForSearch` now honors the
`timefilter.enabled` flag. When this flag is enabled, the index list
will be expanded with respect to the current time interval configured in
the `timefilter` (previous behaviour). When this flag is disabled, the
`timefilter` values will be ignored when expanding the index list.
2017-04-18 13:59:14 +02:00
Stacey Gammon
b7d11c9730 Change the way seed colors and color palette are imported (#11251)
* Change the way seed colors and color palette are imported

When you have a “provider” that doesn’t really need to be a provider,
and use it differently, you have to capitalize it differently in two
different spots. This makes it difficult to use a single name.  Since
we don’t actually need the use of Private here, just making this a
regular export and being consistent with it’s usage.

* convert mapped colors to named
2017-04-18 07:14:29 -04:00
archana
e96a8d8273 Update pleaserun.js to use --log-directory with 0.0.28 (#11286) 2017-04-17 15:19:20 -05:00
Chris Cowan
45eaee58ba Fixing legend when the label is zero (#11265) 2017-04-17 12:53:58 -07:00
CJ Cenizal
c3fc467a14 Update docs for new vis landing page (#11262)
* Update 'Visualizing your Data' doc with copy and screenshots.

* Update 'Creating a Visualization' doc with copy.
2017-04-17 09:35:33 -07:00
archana
be609d9505 [jenkins] update call to pleaserun with --log-path (#11275)
* [jenkins] update pleaserun with --log-path for 0.0.28

* [jenkins] update contributing guide pleaserun version
2017-04-17 11:08:06 -05:00
Thomas Neirynck
b5049580ed fix typo (#11261)
Fixes the minimum opacity setting of the heatmap
2017-04-17 10:47:42 -04:00