Commit graph

15264 commits

Author SHA1 Message Date
debadair
fcf1f5089a [DOCS] Fixed cross doc link issues. 2017-04-26 21:45:31 -07:00
Shaunak Kashyap
02787e3df5 Removes the "Index contains time-based events" checkbox (#11409)
* Removing "Index contains time-based events" checkbox

* Rename label

* Adding "No Time Filter field" to time field select list

* Using translation for i18n and consistency with label on create form

* More useful verbiage

* Updating copy

* Adding help block below select for added clarity

* Removing functional tests that used time-based events checkbox

* s/INDEX/INDICES/ to be reflect reality

* Fixing logic error

* Updating functional test to match new behavior

* Use controller property instead of inline expression

* More readable variable name
2017-04-26 16:25:00 -07:00
Alex F
c30d8ea38c [DOCS] Timelion Getting Started Guide (#11065)
* timelion docs rough draft 1

* timelion docs rough draft updates

* timelion docs rough draft typo

* timelion docs rough draft typo

* tanya feedback

* nbsp after images, made getting started a chapter with sections, removed inclusive we

* minor updates

* feedback from Bohyun
2017-04-26 16:11:03 -07:00
CJ Cenizal
ec984473cf Convert ScriptedFieldsTable and SourceFiltersTable to UI Framework components. (#11401)
* Convert ScriptedFieldsTable and SourceFiltersTable to UI Framework components.
* Remove unused Bootstrap input-group-btn class.
* Fix bug that prevented 'Create Index Pattern' button text from showing up.
2017-04-26 13:45:26 -07:00
Jim Unger
857eb3aaf6 Adds toggle_button, and toggle_panel components (#11254)
Adds toggle_panel angular component and ui framework styles
2017-04-26 14:00:21 -05:00
CJ Cenizal
0b285fca04 [kbnUrl] describe relationship between kbnUrl and $location (#11446)
* [kbnUrl] describe relationship between kbnUrl and $location
2017-04-26 07:47:03 -07:00
Stacey Gammon
5984a4a40b React search box tool bar (#10821)
* Add a react tool bar search box

Create basic react toolbar elements and update uiframework docs

* Package.json: put back ngreact (edits got overwritten)

* Add jest tests

* Combine basic tests into one, eliminate helper functions

* Address code review comments

- move tool_bar_footer into it’s own file.
- some stylistic html changes
- comments

* Remove toolbar_with_search_only

It isn’t being used in kibana currently, so we probably don’t need to
support it in our ui_Framework, and the need for the custom
“className="kuiToolBar--searchOnly”” indicates we should resdesign it
if we do need it some day.

* Fix issue with default to named conversion merge

* rename commonHtmlProps = requiredProps
2017-04-26 09:36:46 -04:00
Jonathan Budzenski
2803fd333a [contributing.md] Remove appSuites (#11369) 2017-04-26 09:02:37 -04:00
Peter Pisljar
8694acb9e4 disable editor play button if there are errors in the config (#11383) 2017-04-26 09:01:08 +02:00
Thomas Neirynck
984aaa80cf Align zoom level settings (#11399)
- allow 0-level for WMS services
- use zoom level 2, centered at 0,0 as new default when tilemap viz opens
2017-04-25 23:02:39 -04:00
CJ Cenizal
55ba578a1e Add example of spinner Icon. (#11424) 2017-04-25 14:54:31 -07:00
Jonathan Budzenski
ea7bfcc19b Disable dynamic/Implement static mappings (#10638)
* Disable dynamic mappings

* Disable automatic type creation

* Centralize .kibana mappings

* Use dynamic strict instead of false

* Register mappings per plugin

* Check for registered mapping conflicts

* Expose mappings on server scope instead of module

* Stub elasticsearch mappings class

* Add tests for KibanaMappings class

* [mappings tests] to.an -> to.be.an

* Return on mapping conflict and include plugin id if provided

* [uiExports] Add mappings uiExport type

* Use uiExports config in mappings tests

* Clean up ui_mappings test

* Revert plugin require ordering

* Pull uiExports mappings from kibana object isntead of kbnServer
2017-04-25 13:12:31 -04:00
CJ Cenizal
3b4d0b26e1 Update angular-bootstrap DatePicker with UI Framework classes. (#11378)
* Add DatePicker component to UI Framework.
- Update angular-bootstrap date-picker to use these classes.
2017-04-25 10:04:22 -07:00
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