Previously we had `getStart` and `getEnd` methods used in `useUrlParams` that would give a new value if the respective `rangeFrom`/`rangeTo` had change.
This had the effect of sometimes making the end time sooner than the start time, causing errors on the page.
`getStart` and `getEnd` have been replaced with a `getDateRange` method that checks if *either* value has changed and recaluates the start/end, but leaves them the same if both values have not changed.
Fixes#85238.
Update the index pattern uysed for populating
the list of data streams to include traces-*-*.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Closes#87483. Updates several labels to be consistent accross views.
* Updates integration tests/snapshots with new term
* Changes "traffic" => "throughput" in the labels
* addresses feedback from PR
* includes tpm unit in Observability overview page and updates test
* Revise skipped tests to use RTL.
* Rename a test.
* Add a test covering default status badge text.
* Refactor a test to remove redundant code.
# Conflicts:
# x-pack/plugins/uptime/public/components/monitor/synthetics/executed_step.test.tsx
* [Misc cleanup] DRY out type def
EnginesTableData was made before we started importing more types over from ent-search; we should reuse the more complete EngineDetails instead of re-declaring our own
* Add EnginesLogic file + tests
- based on current state inside EnginesOverview
- Not a 1:1 translation from ent-search's EnginesLogic b/c the table component/view is different
- also missing engine creation which will be a separate PR
* Update EnginesOverview to use EnginesLogic
- should be significantly simpler
- tests no longer need mountAsync
* [Extra] Make up for lost icon.tsx coverage
- because we no longer use mount() in the engines overview tests, I'm adding an extra set of quick shallow render tests to cover the icon .tsx lines
* [Misc] Rename fetchX to loadY (copying Kea)
* [Setup] Analytics routes & page title consts
* Add AnalyticsRouter
- with TODO views
* Update EngineRouter to use AnalyticsRouter
+ minor rearranging of import order
+ update EngineNav to show active flag for subroutes
* [Polish] Add 404 fallback to Analytics subroutes
+ add custom breadcrumb trail prop to NotFound component
* [PR feedback] DRY out typing
* [DOCS] Adds examples of date range queries
* Update docs/discover/kuery.asciidoc
Co-authored-by: Nicholas Bellerophon <github@nerophon.com>
Co-authored-by: Nicholas Bellerophon <github@nerophon.com>
Co-authored-by: Nicholas Bellerophon <github@nerophon.com>
* Move reused log retention components to own folder
- e.g., logic file, helpers used by other views & not just settings
* Update settings-specific views to reference top-level folder
- I'm leaving the panel and the confirmation modal within settings as that isn't used anywhere outside the settings page, but we can revisit this if needed or if people think it makes more sense to keep everything log related together
* [bug] Fix nested <p> error in log retention confirmation modal
* [XY Axis] New Palette service
* Calculate all Series to map the colors correctly
* remove commented out code
* syncColors on XY plugin
* Reset to false when no embeddable
* Add unit test for getAllSeries function
* Measure the usage of the selected palette
* Minor adjustments
* Update documentation for isSyncColorsEnabled method
* Fix bug on changing palette on charts with no split series
* Fix coloring for multiple y axis visualizations
* Call getPalettes function from the renderer
* Fullwidth palette picker
* Fetch palette registry on the component and not on the renderer
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* added first pass at functional test
* refactor console autocomplete test to be more robust
* remove unused variable
* refactored test to use data-test-subj where possible
* remove unused value
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Advanced input does not work for visualizations
* Remove unnecessary imports and update tests
Co-authored-by: Diana Derevyankina <54894989+DziyanaDzeraviankina@users.noreply.github.com>
* Use OR for threshold timeline query (not AND)
* Speed up aggregatable fields filter with mutation
Co-authored-by: Madison Caldwell <madison.rey.caldwell@gmail.com>
* remove canUserCRUD from signal actions and remove refresh param from open_close_signals route. 'refresh' requires maintenance / manage / all privileges for signals index
* adds 'maintenance' to privileges route
* fix unit teset typing
* update tests, updated lists e2e tests since it relies on the readPrivileges function of SIEM so any changes to the expected response from there must also be changed in the lists privileges route
* update scripts roles to include maintenance for roles that do not have privileges higher than 'maintenance'
* fix open-close signals integration test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>