* Adding method to expose the dashboard app container size to reporting
* Adding a data-shared-items-container attribute to the viewport
* Making visualize tell us how large they are
* Removing the controller methods that returned the item size
* Moving the sharing attributes to be on the actual elements, so we can
figure out their dimensions
* Passing the savedObj to the Visualize elements adding the data- attrs
* Adding the title/description to the Dashboard
* Dispatching the initial title/description
* Reverting some accidental whitespace changes
* Fixing metadata selectors
* Adding newline at end of file...
* Putting the $emit('renderComplete') back
* Passing only the savedObj to the Visualize Editor Controller
* Setting the description on the $scope.vis so we don't have to pass the
SavedObj
* Reverting more TSVB title/description code
* Removing savedObj from scope
* Putting $scope.vis back to vis
* Stop listening for ready:vis to fetch from courier
This means saved searches will get requested in their own msearch but
this actually improves dashboard loading because waiting on saved
searches can slow down a whole dashboard. Splitting up visualizations
from saved searches is an improvement and it cleans up the code, so I
think we should do this.
* Push courier.fetch into search_embeddable_handler
* [eslint] upgrade to 4.10.0
* [eslint-config-kibana] limit jest config to jest test files
* [ui_framework] remove trailing comma from rest-spreads
* [dashboard/tests] tag jest helpers with .test.js suffix
* explicitly import expect.js where used
* [eslint] apply auto-fixes
* [eslint] manually add/wrap some parens for compliance
* [npm] point to local packages for testing/review
* [jest] remove .test extension from jest helpers
* [ui_framework] fix trailing comma removal from 3bc661a1c8
* [packages] upgrade eslint packages
* timelion argument value suggestions for legend function
* update functions with argument value suggestions
* use async/await instead of promise resolve/reject for suggestion generation
* lookup value suggestions for es index and timefield arguments
* custom handlers for es metric and split arguments
* update suggestions unit test
* remove duplicate code from insertSuggestion switch
* refactor arg_value_suggestions to provide three methods instead of single getSuggetions method
* template literal
* update es index argument desc to include note about type ahead support
This PR removes the ability to create scripted fields with the expression language. It also adds an error message to the scripted field list page if any expression scripts already exist which instructs the user to convert all their scripts to painless.
* Move this logic to a separate directive. Also fix a couple bugs with it around how it interacts with angular.
* Updated variable name
* Handle some edge cases and simplify code
* Fixing typo and further simplyfing code
Introduces bin/kibana-keystore providing create, list, add, and remove actions.
Settings stored within the keystore will be loaded at runtime.
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* introduce a mechanism to load a dashboard by title is a single one is found, if not, to refill the search box on the listing page
* Make case insensitive and prevent listing page from "blipping" up on the screen before the redirect
* Add tests
* Add isReadOnly prop to KuiCodeEditor.
* Place cursor at beginning of code editor if it's read-only.
* Surface prompt for isReadOnly mode. Only show cursor when the editor is focused.
* [server/logging] make use of UTC configurable
* [server/logging/tests] try removing TZ from moment
* [server/log/formatJson] use strict equality checks
* [server/log/format] note in method name that time is extracted
* update run REST API to fetch index pattern and use script for scripted fields
* allow scripted fields for elasticsearch split argument
* add test cases for scripted fields to elasticsearch test
* update help text for .es() index argument
* move scripted field check into common file, remove stop characters from index pattern title
* use space instead of nothing for replacing stop chars
* wrap index name in quotes instead of removing dash character
* add a test that will fail due to the current TSVB bug
* add a test to catch the latest bug with saved searches
* reorder array so tests pass
* Update tests since the first panel is TSVB and won't have a spy pane toggle
* get rid of funneling map entry updates through
This was one of the suggestions in the redux discussion but after
sitting with it, I decided I don’t like it. I think it is too much
overhead and makes the code more difficult to read. There are not so
many actions at both levels (touching the whole mapping vs touching a
single mapping object) that justifies this, IMO.
* small refactor of merging panel data logic.
* Fix react proptype warning
React expects panelIndex to always be a string type.
* Add tests to catch panelIndex as a number issue, clean some stuff up.
* Don't update panels in state one at a time when layout changes
* Add test that would have caught the bug
* fix test
Hmmm, I thought grabbing the panels the second time would change their
order predictably but seems no. Still unsure if the order is
garaunteed.
* Need to split out merging panel updates action and setting panels
Tests caught this issue, woot.
* Fix remaining setState warnings by not calling getEmbeddableHander in render