* [precommitHook] move to dev script
* [eslint] fix lint error
* [dev/eslint] do simply boolean checks first
* [dev] use shared REPO_ROOT constant
* [dev/File] precompute relative/ext of path
* [dev/eslint] fix relative import
* [dev/eslint] fix typos
* [grunt] remove unused run:eslintStaged config
* [dev/run] only create log if we are going to use it
* [dev/run/isFailError] ensure return value is Boolean
* [dev/precommitHook] use less intermediate vars
* Reactify full screen mode placeholder and remove from scope
With the toggle in react, no need to store it on scope.
* Simplify implementation by bringing in chrome.setVisible internal to the react placeholder
* rename FullScreenModePlaceholder => ExitFullScreenButton
* div => KuiButton
* Add jest tests for exit full screen button
* Use native Object.values.map instead of loadash _.map
* get rid of unnecessary return value
* set parameters like suggestions api
* provide timeout and terminate_after in initial state instead of using search_source set
* remove shard_size param and add comment about needed to replace searchsource with suggestions API
* [server/rootRedirect] remove browser-based redirect
With Kibana 4.2 we added the /app/kibana portion of the URL. This introduced a breaking change for URLs from 4.0-4.1, which required a redirect from '/#discover' to '/app/kibana#discover', but we still have the `defaultRoute` parameter, which meant that we needed to distinguish between `/` and `/#discover`. This is impossible on the server alone, unfortunately, so we had to do the redirect in the browser.
We are a long way from Kibana 4.2 at this point, and I think it's time we reduce the number of moving parts and just rely on the server for redirection.
* [server/rootRedirect] test location header
Also adds some stabilization by refactoring some retries and
expectations.
and fixes a bug that snuck in between two PRS where the pie slice css
changed.
* [ftr/mocha] revert Mocha UI assigments after loading test files
* [ftr] add beforeTopLevelSuite and afterTopLevelSuite lifecycle hooks
* [ftr] add defaultWindowWidth and defaultWindowHeight options
Adds two configuration parameters to the functional test runner which
will set the windowSize before running the tests in any file and
restores the original window size when the tests complete.
Individual test files can set the windowSize within its own before() or
beforeEach() handlers using the same `command.setWindowSize()` command.
* [ftr/assignmentProxy] use better naming
* [ftr] restore initial window size after each suite
* [ftr] improve error message for unexpected suite definitions
* [ftr/remote] remove configuration option, rely on suite-level changes
* [ftr] fix stack manipulation order
* [ftr/remote] write tests for window size management
* Add a couple tests with queries and saved searches linked to visualizations
Fix issue when edit link is clicked too soon and embeddable hasn't finished loading
* attempt to fix flakiness
* remove duplicate lines
* pie labels
* add simple unit test
* fixing dashboard test
* fixing basedo on review
* simplifying conflict resolution
* removing unused code
* cleanup code
* minor changes based on review
* updating option templates to match new design
* updating truncate_labels to work with chars instead pixels
* Add a feature for custom panel titles
* Add tests and put back data-test-subjs
* sync with master and add padding to form
* UI/UX cleanup
- add enter on close functionality
- make reset title a link instead of a button
- Push css to visualizations instead of the panel. This means
background colors will be flush to the panel. Override for tile maps
which apparently need it (yet region maps don’t for some reason??)
* Fix refactor miss from merge
* whoops, put block display back to make link fall to bottom
* Undo accidental delete visualization name change
* Color top pop over arrow correctly
* Use naming Options and Customize Panel
* update jest snapshot
* Use custom panels for data-title attributes
* 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.