The interval parameter is used to fill the gaps between missing buckets. If we are using a calendar interval it not always correspond correctly to his milliseconds representation. E.g. 1y interval can correspond to 365 or 366 days depending on the interval and. If transformed to milliseconds it can get one of those two values depending of the interval start and end. The same happens for months.
Add a new esarchive with 7 years of data, used for those functional tests
Removed angular dependency from zero injection
* [@kbn/expect] "fork" expect.js into repo
* [eslint] autofix references to expect.js
* [tslint] autofix all expect.js imports
* now that expect.js is in strict mode, avoid reassigning fn.length
* add functional test to prove regression
* [chrome] strip # from hash before updating $location
* add opt-out level for disabling auto fix, disable in APM
(cherry picked from commit 319921ebfc)
* initial fix for navigation issue + Spencer
* added navigation test for issue #31238
* added more validations to the navigate back test
(cherry picked from commit ace80d1b59)
* [ts] add script to verify that all ts is in a project (#32727)
Based on #32705
We currently have TypeScript code that was backported to 7.0, which was backported without issue because it falls outside of any TypeScript projects in 7.0. This means that the pre-commit hooks break on changes to these files, and that they are not getting type checked by the type_check script. To fix this we need to verify that every typescript file in the repository is covered by a tsconfig.json file as part of CI.
* tests typescript migration (#31234)
* add typescript support for functional tests
* [ts][ftr] improve types for ftr and expect.js, cleanup changes to tsconfig files (#31948)
In https://github.com/elastic/kibana/pull/31234 there were some extra changes that I've reverted, like use of the `tsconfig-paths` package to magically rewrite import statements to defy the standard node module resolution algorithm, the inclusion of several unnecessary options in the `test/tsconfig.json` file, and changes of the line-endings in the config files. This also brings a few enhancements from https://github.com/elastic/kibana/pull/30190 including a modularized version of the expect.js types, and options for explicit mappings for the PageObjects and services used in ftr tests.
# Conflicts:
# src/functional_test_runner/lib/config/schema.js
# test/common/services/es.ts
# test/functional/page_objects/index.ts
# test/functional/services/apps_menu.js
# yarn.lock
* Use default index pattern when one is not present in visualize
* Review feedback
* Add functional test
* Fix test
* Attempt to fix test again
* Try moving test to its own describe
* Some quicky changes
* Fixes dark vs light coloring for TSVB charts
* Fix coloring of tooltips and annotations for TSVB
* Fix up TSVB Markdown
No uses the same base styles as Visualize and Canvas
* More fiddling with spacing around filter bar
* Fixing dark mode grid and
removing hard-coded hex values where possible and adding an alpha channel to those that can’t
* more tweaks
* removing more `reversed` props
* Skip dark mode test for now
Since `.reverse` doesn’t exist unless bg is opposite of theme
* SASS linter enabled for TSVB
* Fix chrome path
* Enable sass-lint on Timelion
* Enable sass-lint on vislib
* Fix more spacing with query bar and enable sass-lint
* temp var name update
* A frew more files linted
* missed a few more hardcoded colors
* Addressed PR comments
* Changing #rrggbbaa to rgba()
For IE
* [kuery] support matching field names with newlines (#29539)
* [kuery] support matching field names with newlines
* Add support for newlines in KQL grammar
* Add test for newlines in wildcards
* Fix test
* Use 's' instead of 'm' to match newlines instead of doing multi-line
* Fix autocomplete suggestions to handle newlines and tabs in field names
* Add line feed to escaped whitespace
* Fix broken test
Updates discover, visualize, and dashboard to use the date picker added to the query bar in #29130. There are still some areas where we use the top nav date picker, like Timelion and TSVB which don't have a query bar.
* replace kbnTimepicker directive with EuiSuperDatePicker
* remove kbnTimepicker directive
* remove bootstrap datepicker
* Embed timepicker in query bar (#29130)
* replace kbnTimepicker directive with EuiSuperDatePicker
* remove kbnTimepicker directive
* remove bootstrap datepicker
* embed timepicker in query bar
* flesh out date picker in query bar for maps app
* wire up refresh config
* fix bug with way update function called by watcher
* get maps application functional tests working with new timepicker
* update setAbsoluteRange for EuiSuperDatePicker
* replace setQuickTime with calls to setAbsoluteTime
* remove open time picker button in discover empty results view
* pass config values to super-date-picker directive
* remove getPrettyDuration
* clean up typescript lint problems
* some functional test fixes
* try something else to fix I18n problems
* fix some more functional tests
* update query_bar jest test
* remove unused method in kbn_global_timepicker
* do not import removed timepicker styles
* remove mode from time state
* remove mode from time_history interface
* fix problem with ui_settings_defaults
* fix failing TSVB functional test
* another round to test fixes
* more functional test changes
* fixes for failing tests
* add retry block to flaky tsvb test
* styles/bootstrap_dark.less
* fix functional tests
* call fetch event even when times are the same
* add retry around flaky tsvb test
* fix timefilter jest test, attempt to fix another flaky functional test
* revert emitting fetch outside of areTimePickerValsDifferent check
* clean up time mode code that is no longer needed in dashboard
* fix timefilter tests changed by timefilter emit revert
* [Maps] add saved objects for all sample data sets
* add functional tests that compare sample data maps to baseline images
* add check for layer loading in functional tests
* try something out in CI
* try map without EMS regions
* add weblogs test but hide region layer
* skip tests with EMS vector layers
* gis-map to map and ES_GEOHASH_GRID to ES_GEO_GRID
* add resolution property to ES_GEO_GRID source descriptor
* move alphaValue from style descriptor to layer descriptor and rename to alpha
* terms join label change 'group by' to 'of'
* ensure sample data sets work with no internet access
* get functional tests working with updated full screen snapshots
* delete gis folder left overs
* give time for visibility to toggle to fire
* make web logs screen comparision more forgiving
* wait for layers to load on full screen
Fixes the build issues introduced in #25563 and re-introduces the new react/eui/typescript filter bar, essentially reverting the revert in #29662. I did have to resolve one merge conflict in query_bar.tsx, and re-deleted all of the old filter bar code where translation code had been added.
* initial commit of K7 side nav
* [ui/persistedLog/recentlyAccessed] support observing history items
* [globalNav] use real recentlyAccessed and navLink data
* fixes header logo and mobile layout
* handle hidden links and no recents, use size vars
* handle hidden links and no recents, use size vars
* adds prop to wrap flyout link text
* fix menu scroll for IE
* [chrome/headerGlobalNav] fix typescript issues
* [chrome/headerGlobalNav] only ignore types that are actually missing
* update EUI to 6.6.0
* Revert "update EUI to 6.6.0"
This reverts commit 048cbf9157f8fc7410d4cf8e017b210c4548104e.
* [chrome] remove HeaderAppMenu component
* [ftr/services/appsMemnu] update for new style
* [ftr/discover] tweak size of discover tests and size-dependent assertions
* [chrome] disable offsets in embed mode
* [ftr/discover] try sticking with original screen width
* [ftr/discover] try to force screensize before checking axis labels
* [ftr/services/appMenu] ensure menu closed after clicking app
* uptime app icon, mobile header size removed
* [ftr/discover] make assertion resilient to minor changes in vis width
* [chrome] add types for nav apis
* [chrome/recentlyAccessed] display app icons when possible
* [ftr/discover] make a little wider so scroll doesn't interfer with vis width
* [ftr/services/globalNav] fix test subject
* Allow passing a default operator to use on find operations
* Default operator to OR like elasticsearch to avoid passing null
* Add dashboard search tests
* Make search_operator optional
* Fix query_params.test.js
* Include searchOperator in saved_object_finder
* Apply PR feedback
* Rename searchOperator to defaultSearchOperator
* Fix timelion missing renderer on resize
Adding a watch to the renderComplete promise to fix missing rendering of chart
when the resize observer detect a change in size.
Removed the existing resize observer.
* Revert removing observe resize
It's need on the timelion app to resize since that app doesn't use
visualize loader
* Change double watch to watchgroup
* Reenable skipped dashboard test
* [scss] build a light/dark theme for each style sheet, only include correct stylesheet
* Created dark theme Bootstrap
Right now it’s importing both dark and light theme, but light is last so it’s overriding. Not sure how to only import the one or the other.
* migrate light/dark style to unique webpack bundle
* [build] fix log messaage about built sass
* [build/notice] deduplicate notices
* [uiRender/bootstrap] make try auth if necessary
* [visualize/editor] set reversed prop
* remove unnecessary change
* [styles] show toast when theme:darkMode is changed
* [styles] update copy
* [uiRender] default dark mode to false