* Add new context for uptime.
* Implement Uptime context.
* Convert application class to functional component.
* Fix typings.
* Fix busted types.
* Update unit tests.
* Move query files. Update API/functional tests.
* Fix code formatting.
* Fix improper import syntax.
* Delete obsolete code.
* Add base path to app context.
* Add refresh tracker to app context.
* Clean up code.
* Fix unit conversion defect and add a unit test to check for incorrect values displayed.
* Fix broken code formatting.
* Clean up redundant code.
* Split context into separate contexts for refresh and settings.
* Fix unit test snapshot and props.
* Fix code formatting.
This adds the generated typescript types to the `.eslintignore` file, because they started causing linter errors after the switch to `eslint` for typescript files (#33826).
* Protect against these fields not existing
* Add basic unit tests to ensure this behavior does not regress
* Expand this test to ensure we don't break on other pieces of data missing
* Use N/A if there is no value (rather than 0)
* Don't save the current timezone in visualizations
* Add additional test
* Add test and switch migration number
* Don't clone object according to review feedback
* Better documentation
* Update src/legacy/core_plugins/kibana/migrations.js
Co-Authored-By: timroes <mail@timroes.de>
* wait for rendering
* run ciGroup12 x60 times
* [visualize/_tsvb_chart] redesign tests
* wait for viz initial loading before navigation
* [visualize/_tsvb_chart] assert tab is loaded
* Revert "wait for viz initial loading before navigation"
This reverts commit 1023db4fb9.
* [TSVB] [Performance]request for api/metrics/fields triggered after all UI changes
Fix: #34433
* [TSVB] [Performance]request for api/metrics/fields triggered after all UI changes - prevent reRender in case of no changes
Fix: #34433
* improve tests
* Revert "[TSVB] [Performance]request for api/metrics/fields triggered after all UI changes - prevent reRender in case of no changes"
This reverts commit a04ed55103.
* Revert "[TSVB] [Performance]request for api/metrics/fields triggered after all UI changes"
This reverts commit 040f0b106b.
* Revert "run ciGroup12 x60 times"
This reverts commit c38427f67f.
* rename dataTestSubj
* [Maps] expand/collapse Layer TOC
* Design edits (#30)
* fix jest test snapshots
* make default isLayerTOCOpen a constant
* use newly release EUI menuLeft and menuRight icons instead of arrow icon
This PR refactors the source configuration state and source configuration form state to hooks. Aside from slightly improved performance due to memoization, it should not lead to visible differences.
* Move files to TS files
* Fixes the React warning message
* Strongly type the actions and the middleware
* Adds tests for in_flight middleware
* Clean up
* Ignore non-ts file
* Initial work converting UI to use new server side APIs
* Remove missed file
* Fix jest tests
* Code cleanup pt1
* Fix file casing
* Fix jest tests
* Modify UI to support including nested references
* Fix button layout
* Connect includeReferencesDeep, remove references_missing_references logic
* Fix broken tests
* Cleanup
* Display success notifications and auto close modals on export
* More code cleanup
* Log to server when user imports using legacy .json file
* Final cleanup
* Update test snapshots to match updated text
* Apply PR feedback pt1
* Remove isLoading and wasImportSuccessful state variables, use single status variable instead
* Move business logic out of flyout component
* Apply PR feedback
* Update wordings
* Remove custom date picker for Metrics page, replace with EuiSuperDatePicker. Remove redux-observable for metrics-time state, replace with hooks.
Pass through refreshInterval and set it as part of the startMetricsAutoReload action
Refactor metric time controls to use EuiSuperDatePicker
Remove redux / redux-observable usage for MetricsTime, replace with hooks
Add useInterval hook and hook up to auto reloading
Add refresh interval support to the URL
Use more concise syntax
Add small styling
Add tests for metric_time
Add extra test
Add correct typings
Update time range immediately when auto reload is turned on (so we don't wait for the first interval to elapse)
Use stricter typing
Remove custom date range picker
Amend translations after removing custom date range picker
* Amend test for CI sensitivity
* Amend test assertions
* DRY up with useCallback