* Migrate from a handrolled interface for building examples to using React Components directly.
* Wrap components with containers instead of passing down state and actions via context.
* Adding attributes to be used by sharing
* Moving the shared-item tags for dashboard panels
* Switching from shared-item-title/description to just title/description
* Removing move noise
* Fixing typo
* Adding data- prefix before attributes, began writing tests
Adding shared-item title tests
Switching up the panel tests
Adding description tests
Fixing linting
Adding dashboard timefilter test
Adding visualization shared-item tests
Adding shared-timefilter tests
Adding discover shared-item tests
* Fixing shared-items-count on dashboard
* Fixing functional test data for discover and visualize
* [courier] resolve looper iteration when requests are aborted
The search looper returns the promise from search executions to ensure that subsequent loops do not run until the previous loop has completed. This causes the looper to get stuck when all of the aborted requests are completed, as completed requests do not resolve or reject their promises, causing the looper to never allow another search loop. Since this behavior is desirable for pages where we don't want to execute the `.then()` or `.catch()` callbacks for requests that were aborted, we work around it in this specific case by creating a promise that is resolved when each request is either aborted or completed.
* [ui/promises] add Promise.race() method to Promises util
* [courier/request] use angular promises in courier
* [courier/looper] no single-letter variables
* [ui/promises] add tests for Promise.race()
The inline filters are now hidden when no `filter` property has been
passed to the row directive, which is more consistent with the filters
in the document details table. The context view relies on this behaviour
to hide the filtering actions.
Improving the `inlineFilter` to actually re-use the passed `filter`
function happens in #10395.
* Adjust Table component styles and markup to maintain fixed column widths, regardless of cell content.
- Fix ellipsis-truncation of text in IE11 and Edge.
- Update Visualize landing table markup.
* Update Dashboard landing table and Saved Objects table with cell liner markup.
* [build] Add notice file
* [build] Include license text if available
* [build] Look for both license and notice files
* [build] Add node license to notice
* [build] Add a base notice file including info on committed dependencies
* Bump license copyright year
* [build] Kibana at top of notice
* adding vislib chart grid
* updating vislib to correctly render all new features
* adding new options to kibana visualizations
* update vis icon on save
* updating documentation
* fixing unit tests
* cleaning up
* updating based on UI review
* adding visualize editor unit tests
* selenium tests
* additional option tabs
* some more changes to the tabs/options [thanks CJ]
* going back from Category/Value axis to X/Y axis
* fixing unselected dropdown options
* updating based on last UI review
* updating based on last review
* updating based on last review
* fixing issue with axis titles
* allowing to specify only upper or only lower data bound
* updating based on brandons review
* fixing horizontal bar chart labels
* fixing test
* adding backward compatibility
* updating based on last review
* fixing selenium tests
* Fix CheckBox alignment by applying box-sizing: border-box to all before and after pseudo-elements.
* Fix ToolBarSearchBox height and icon alignment.
* Make Table examples consistently use the cell liner.
* Stabilize tests involving absolute timepicker
The asynchronous nature of angular's digest cycle and the page rendering
in the browser can lead to situations in which
`isGlobalLoadingIndicatorHidden()` returns true because the loading
triggered by the previous action has not yet started. In this case
subsequent actions incorrectly assume the loading has already been
completed. This is probably responsible for the flakiness described in #10302.
The newly introduced `waitUntilLoadingHasFinished` first waits for a
duration up to `defaultTimeout` for the loading indicator to appear
before waiting for it to be hidden again. In the best case this will
reduce the false positive rate of `setAbsoluteTimerange()`. In the worst
case the function will wait `defaultTimeout` longer than when just using
`isGlobalLoadingIndicatorHidden`.
fixes#10302
* updating agg_config to allow adding parent aggregations
* derivative metric aggregation
* disable on metric and tagcloud
* fixing point series to correctly handle missing y values
* adding unit tests
* fix broken ui
* removing percentile ranks
* updating based on review
* fixing bug and adding make_nested_label tests
* fixing error
* fixing test
* fixing based on last review
* fixing based on thomas review
* allow nested aggs
* prevent sorting on derivative metric
* updating based on last review
* adding error message when histogram is not the last bucket
* fixing test
* updating error message
It was already possible to sort, aggregate, and filter on _type in ES but we didn't allow it in Kibana because Elasticsearch's APIs pre-5.0 didn't report mapping information for meta fields. Now that field stats returns searchable and aggregatable (including meta fields) we can safely determine if any field is filterable, sortable, or aggregatable without looking at the mappings. This PR simply includes the searchable and aggregatable information in the calculations that determine filterable and sortable status of a field.
Fixes#5684
* [utils/streams] implement some generic stream helpers
While working on pr 9853 I have needed to deal with streams in several different ways and along the way ended up with a core set of stream helpers. Since these helpers are not browser or server specific, and are used across components, and tested with generic use in mind I put them in src/utils.
* [utils/streams] address kim's feedback
* [utils/stream/list] move default value into arg list
* Resolving unused settings bug when plugin is disabled
* Revert "Resolving unused settings bug when plugin is disabled"
This reverts commit c829139732.
* Replacing a disabled plugin's config with a simple schema/config with enabled set to false
* yaxis tick formatters
* fixing custom format
* adding information to currency help text
* fixing based on @rashidkpc review
* updating based on rashids comments
* adding some tests
* fixing broken yaxis
* fixing broken currency mode
* adding tick formatters tests
* throw error if currency is not three letter code
* adding server side tests
* fixing bytes mode
* rebasing on master and fixing linting
* fixing custom formatter behaviour.
* [npm] upgrade babel
The upgrade to babel 6 requires an upgrade to all of the associated modules, which meant that a few other things changed at the same time. The most notable is the way that we handle our babel-options, which is now done with an npm module and includes using the babel-loader's "presets" query string param.
This meant changes to the babel_options.js module and extending it to help setting up the "babel-register" module, which was previously copy-pasted in several places.
* [mtodules] upgrade to support babel6 module semantics
* [eslint] fix lint errors
* [babel] ignoer massive fixture files
* [cli/errors] use Object.setPrototypeOf since subclassing Error is broken
* [babel] Upgrading core babel libraries
[babel] Use WIP babel-6-fix branch of babel-preset-kibana
* Fix broken test
* [babel] Reverse unnecessary module.exports changes
* Fix notifier
* Use babel presets and plugins directly
* [babel/options] resolve preset/plugins paths for better plugin compatibility
* [babel/options] use babel-preset-env for correct node settings
* [babel] cache babel compilation in webpack like we thought we were
* defer loading visualization saved objects so they can be loaded in a single _mget
* Don't request field stats more than once for the same index pattern
* [ui/courier] batch fetch requests for all searches and docs
* [ui/courier] remove remaining mentions of req.isFetchRequested()
* [courier/fetch/request] remove unneceessary !!