* add input to select parent control
* move lineage logic into seperate file for easier testing
* move parent candidate logic into seperate file
* decouple control factory and control initialization
* disable control if parent not set
* inherite search source from ancestors to have them filter values
* call fetch when query filter is updated for filter value changes
* delete filters when control has ancestor without value
* avoid fetching option list when ancestors have not changed
* add functional tests for nested controls
* remove unneeded file
* fix jest tests, add another test case to functional tests, update 'Parent' field copy
* add more jest test coverage
* fix useTimeFilter functionallity
* add better error message when fetch is not defined by subclass
* pass filters array instead of search source hierarchy
* only modify queryFilter when filters are submitted
* compare value array instead of concatinated string to determine if ancestors have changed
* use ES2016 syntax for array concatination
* Handle cases of importing objects that are connected to searches, but error out due to the searches index pattern not found
* Add tests and fix flaky ones
* Time field step in React
* Tests start
* Modularizing the step and adding tests
* More tests
* More clean up
* Fix test
* Update tests
* Fix bug where use can't select 'No Time Field' option
* Fix test
* Disabled button state bug fix with test
* UX improvement: early warning of index pattern collision
* More composable StepTimeField component for more readability
* PR feedback
* Remove debug
* Ensure the node exists and add back tests
* Update time field loading state
* PR feedback
* Update tests
* test huge data
* new file for testing large number of fields
* testing large fields
* large_fields_test
* add the unload of es_archiver
* incorporated the changes in kibana.yml
* Revert "incorporated the changes in kibana.yml"
This reverts commit 8682121678.
* cleanup
* code simplification
* removed commented code
* update jest tests as best as possible - found some bugs that need to be addressed
* use EuiAccordion to hide/show control editor
* set control editor to be open on load
* small changes
* fix editor jest tests
* update visualization components to EUI
* fix jest tests and updated range control to EUI
* fix bug in range control input logic
* fix button layout
* fix dashboard grid resize test
* add space between panels, change button order, switch to sort icons
* remove style attribute from component, fix spelling of id
* add useTimeFilter parameter to Controls visualization
* fix broken jest test
* add functional tests for useTimeFilter
* remove wrong comment
* use _.clone and _.isEqual for time comparision
* do not track time changes in vis_controller - use status.time instead
* add tutorial directory and home promo section
* tutorial components
* use KuiCodeEditor for displaying instruction code
* move spec files to server so joi can be used. Fetch via rest API
* Adding more tutorials (#4)
* More edits on the Apache logs tutorial
* Added nginx, mysql, and sytem modules for FB
* Moved apache to apacheLogs and added an apacheMetrics tutorial
* Added mysqlMetrics, nginxMetrics, systemMetrics tutorials
* Reduce duplication in the tutorials
This uses common objects for the install and start steps for Filebeat.
Same can be done for MB.
* fix windows path for config file
* add markdown parsing
* use mustache to replace config.kibana.version with kibana version
* add image preview to tutorial introduction
* fix css class name
* add param types constants
* add docs variables
* [WIP] Logstash Netflow module tutorial (#5)
* First draft of Logstash Netflow module tutorial
* Incorporated writing style suggestions
* pass params to template replace logic
* parameter inputs
* use isReadOnly flag from ui-framework for KuiCodeEditor
* dedemorton commits on netflow
* remove trailing slash from base links
* add config.docs.logstash and fix vertical spacing between Content component and commands
* Use logstash docs config variable
* Starting to add Deb instructions
* Fix Logstash documentation link
* Make commands optional
* Refactor: extract common LS instructions
* Edits for the existing tutorials
* change schema to support three instruction types
* [Netflow tutorial] Simplify OSX instructions
* replace axios with fetch
* pass credentials to tutorial fetch
* display cloud instructions when cloud set
* RadioButtonGroup component
* update copy
* add tutorial component jest tests
* content component test
* load isCloudEnabled in home_app
* add functional test ensuring add data tutorials are fetch and displayed
* rename card btns to 'Add data', fix type in tutorial directory tab, remove 'Set up index pattern from tutorial directory'
* move parameters form to right of instruction set title
* add copy snippet button, remove line numbers from command block
* add breadcrumb to tutorial view
* update tutorial jest snapshot
* use componentDidMount and ignore async results if componenent has been unmounted
* define shape of prop for instructionVariants and params. Create NumberParameter and StringParameter components
* add bread crumb to add data directory page
* Add cloud version of the apache_logs tutorial (#16)
* Add cloud version of the apache_logs tutorial
* Added onprem-cloud version as well
* fix styling broken by EUI rebase
* add artifacts to tutorial schema
* fix styling for code block
* [Tutorials] Netflow: instructions for onPremCloud (#18)
* Extract common on-prem cloud instructions so LS and Beats can share them
* Extracting common instructions; adding onPremCloud instructions
* fix copy bug where copy would only contain previously selected text
* make string parameter input type be text
* Implementing Elastic Cloud tutorial for Netflow module (#19)
* More tutorial edits (#20)
* More tutorial edits
This updates the on prem instructions with a step that installs the GeoIP and
UA plugins in ES. It also makes the on-prem steps more consistent with the cloud
instructions which results in less redundancy in the code.
* Show config step for all variants
* More DRY in the tutorial content
* Updated screenshot for apache_logs
* wrap markdown content in markdown-body class
* use EuiFlexGroup to remove wasted space with 'copy snippet' button and instruction text
* change OSX to macOS, use Computed property names for instruction_variant DISPLAY_MAP, replace /app/kibana with kbnBaseUrl, remove unneeded if check in copy_to_clippboard, put getTutorials mixin on server instead of request
* capitilize 'C' in Elastic Cloud
* remove try/catch from copy_to_clipboard
* Removing unrelated instructions
* Copy editing fixes
* Multiply edits to the Beats tutorials (#21)
* Updated Nginx module
* Updated MySQL logs module
* Updated system logs module
* Correct the on_prem_cloud enable steps
* Updated the Nginx metrics tutorial and added screenshot
* Updated the Apache metrics module + screenshot
* Updated the MySQL metrics module + screenshot
* Updated the system metrics module + screenshot
* prevent 'Copy snippet' button text from wrapping
* [Netflow tutorial] Windows instructions (#22)
* [Netflow tutorial] Adding onPrem instructions for Windows
* Removing unrelated/superfluous instructions
* Adding Windows instructions for onPremElasticCloud and elasticCloud
* use EuiImage so tutorial images are clickable to view in full screen
* fix jest tests
* set fullScreenIconColor and alt options for EuiImage, add space between command block and instruction text
* switch to yarn
* cleanup misc references to npm
* [yarn] loosen dependency ranges so yarn will merge more deps
* fix linting error now that moment uses ESM
* [licenses] font-awesome changed the format of its license id
* Use local yarn
* Misc fixes
* eslintignore built yarn file
* Remove mkdir which doesn't do what it should do
* Check build without upgrading lots of versions
* Fix license check
* too many moments
* Better description
* Review fixes
* Lock to angular@1.6.5
* More specific version locks
* Revert "More specific version locks"
This reverts commit 11ef81102e.
* Revert "Lock to angular@1.6.5"
This reverts commit 3ade68c14c.
* rm yarn.lock; yarn
* Forcing a specific version of React, Angular, Moment
* Using vendored version of yarn in ci
* Use --frozen-lockfile
* fixes
* replace KuiConfirmModal with EuiConfirmModal
* add titles to confirm modals. Update modal text and button text
* updates for newest version of EUI
* use EUI class in overlay and EUI button constants
* remove logic about changed filters in cancel dashboard editing modal, clean up wording for import saved objects modal
* fix broken function test - management delete index pattern
* wrap names in single quotes
* Naively switching to Observables
* Dispatching native renderStart and renderComplete events
* Emitting actual event...
* Removing the visualize debounce
* Fixing unsubscribe
* Dispatching correct event for the metric visualization
* Moving the $scope.$apply to right after the call to render so it does
what it's supposed to
* Switching angularjs attribute name
* Removing the renderStart since it doesn't do anything
* Removing the renderComplete trigger from visualize, since no one listens
at this level
* Using vis.requestError to communicate when there's a request error
* Grabbing the container when creating the observable
* Dispatching renderStart as soon as we can
* Only emitting renderComplete after we wait for a new animation frame
* Can't ignore the first resize, sometimes it's actually a resize
* Use $timeout in visualiationEditor render, it can be in a digest already
* Calling renderComplete in componentDidUpdate as well
* Switching tests to use render-complete
* Fixing peer review corrections from @gammon
* Removing visDiv reference, we don't need it anymore
* Removing requestAnimationFrame
* Removing unused $timeout
* Removing test that was testing an implementation detail
* Adding $timeout.flush
* Moving the failures to the actual tests don't work.
* Deleting tests that weren't running before
* Removing import of removed test
* Consolidating the dispatchRenderComplete/dispatchRenderStart
* Upgrade to jQuery 3.2.1
The jquery-migrate showed a number of warnings,
but no errors, so it should be safe to use.
Warnings mostly related to bind, unbind, focus, ...
https://github.com/jquery/jquery-migrate/blob/master/warnings.md
To enable jquery-migrate, I added it to package.json, and added
a require('jquery-migrate') to the webpackShims/jquery.js right
after the require('jquery').
* Breaks in jQuery3: $(window).offset()
* await field.type(), update chromedriver
* Fix design of debug spy panel
* Simplify the debug spy panel
* Fix height of spy content
* Use scope bindings for spy
* Allow modes to be enabled/disabled based on vis
* Make showSpyPanel docs for loader more detailed
* Only show default panels when using courier
* Fix styling of req/resp spies
* Fix title styling in spy panel
* Get rid of visData in spy panels
* Use tabs instead of select box
* Ensure uiState in spy
* Restyle code in default editor
* Remove unnecessary if protection
* Use local scope variable for rowsPerPage
Due to issues with primitive datatype bindings in Angular this anyway
didn't save it correctly back into the variable.
* Pull all logic into spy directive
* Fix bug when closing panel
* Check for minimum chart size
* Skip spy tests for now
* Fix functional tests
* Improve uiState mock
* Create unit tests
* Remove dead scope binding
* Add EUI v0.0.7 as a dependency.
- Add support for using dark theme EUI CSS in Dashboard.
- Set light theme as the default.
- Add comments to chrome.jade about role of theme node.
- Add (WTFPL OR MIT) to acceptable licenses.
* Remove old reset CSS.
- Remove naked element selectors from base.less.
- Remove Bootstrap resets.
- Remove UI Framework reset.
- Remove unused reset styles from UI Framework.
* Fix CSS regressions caused by removal of CSS reset.
- Replace usage of sr-only with euiScreenReaderOnly.
- Apply euiButtonEmpty classes to the 'Add a filter' button.
- Fix Notification padding and layout.
- Apply euiTabs styles to Timepicker mode tabs.
- Fix layout of Available Fields heading in Discover.
- Add padding to Popular Fields container in Discover.
- Push down Selected Fields heading in Discover sidebar.
- Fix appearance of links in Discover sidebar.
- Fix height of pills in Filter Bar.
* Fix timepicker tests.
- Remove kbn-accessible-click from timepicker buttons.
* Fix functional tests.
- Use byCssSelector inside of testSubjects.find.
- Delete flaky view_edit.js test: 'when time changed is stored with dashboard'.
- Delete flaky view_edit.js test: 'and preserves edits on cancel > when time changed is stored with dashboard'.
- Delete flake Gauge Chart tests. EUI changed the font size, and the text within the gauges doesn't render when the window is too small.
* try to repro
* try 30 times
* some clean up and extra tests
Don’t see how this should help, but switch to using data-test-subj and
add a wait until loading line.
Still, I don’t see that it would actually help.
Also it took 50 test run to hit it once, so doubling the amount of
times the test suite runs to improve chances of hitting it.
* Throw the function in a retry
Unfortunately it’s probably not worth investigating why the click
sometimes fails, given how rare it is and that it’s only reproducible
in the test environment.
* Remove extra test loops
* remove skip and check multiple times again
* Fix issue with flaky field toggle selection
* forgot await
* More stabilizations
* Stabilize by disabling toast auto hides on all dashboard tests
* avoid all the retries to see if disabling toast auto hides was what was messing everything up
* remove comment that is no longer relevant
* Remove extra tests
* Shift negative series before drawing, fix#15553
* Add tests fot TSVB markdown
* Use waitUntilLoadingHasFinished
* Remove forgotten skip
* Switch test order
* Use generic seriesOption
* Rename test from chart to metric
* Use test subj to find metric tabs
* Improve TSVB tests
* [colors] try new cli colors
* [colors] try magentaBright instead of magenta
* [colors] try white for log text
* [colors] replace all remaining ansicolors with chalk
* [colors] try yellowBright instead of yellow
* remove ansicolors from package.json
* [tests] attempt to fix tests
* [tests] attempt to fix tests again
* [color] backgrounds, cleanup
* Tests were sometimes failing locally when waiting for a render counter of 6
Render counter value, as it turns out, is unstable and unreliable, and
is in the process of being replaced. For now, we have to use a lower
render counter (sometimes it’s 6, sometimes it’s 4) and add a sleep.
Very unfortunate, but hopefully will soon be able to be use the newer
logic.
* Remove extra test runs
* Add mechanism for dashboard snapshots
* Adjust wait for render function since it needs to be 2, not gt 0.
Should be obsolete when the new render stuff is complete.
* resize images using new library so comparisons work across different screen resolutions
* use jimp comparison and see if expanding to expanded panel mode helps when comparing across browser/os
* Try to ensure window size
* Experiment with a smaller window, see if screenshot dimensions change
Update screenshot for new window dimensions
* Try cover + quality, see what the diffs look like.
* Stop trying to get TSVB to pass, try area charts
There is a timezone bug with tsvb:
https://github.com/elastic/kibana/issues/15501
* gah, cover didn't work, check resize
* bump render counter to 6, as it should be.
As it turns out, the visualization was not done re-rendering to
maximized mode
* Bump threshold for comparison
* reduce down to a single test run
* Don't use an environment variable to detect updateBaselines cmd line flag
* Use render counter to fix timing issue with click events not being applied by the time a pie slice is clicked.
* use testSubjects.moveMouseTo function
It has built in safety checks for stale element refs
* remove sleep
* Remove extra test suite runs, passed enough times
* First, run the test suite in question 20s to see how flaky it is and if it can be semi reliably repro'ed
* Use testSubjects instead of click by link test.
* spaces in data-test-subj selectors messes this up
* Passed sufficient number of times, remove extra test runs