mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
## Summary Follow up to #210579. Close #193683. This PR removes the deprecated `visualization:useLegacyTimeAxis` advanced setting and all related code. This setting was previously used to enable legacy time axis behavior for charts in Lens, Discover, Visualize and TSVB, but has been deprecated and is no longer needed. All usage of the setting was already removed in #210579, this PR just cleans up the advanced setting itself. ## Changes - Removed the `visualization:useLegacyTimeAxis` UI setting registration from the charts plugin - Removed `LEGACY_TIME_AXIS` constant export from charts common module - Cleaned up related TypeScript configuration dependencies - Removed telemetry schema entries for the deprecated setting - Removed translation strings for the deprecated setting - Adds a saved object migration to remove the setting (see [advanced settings migrations](https://docs.elastic.dev/kibana-dev-docs/tutorials/advanced-settings#registering-migrations)) ### Identify risks - Identified that a saved object migration needs to be added for the removal of the setting. See this [PR](https://github.com/elastic/kibana/pull/157699) for reference. - Advanced settings [can be overridden](https://www.elastic.co/docs/extend/kibana/ui-settings-service#uisettings-overrides) in `kibana.yml`. If the setting is present in `kibana.yml` and we remove support for it, if verification of the file was too strict, it would fail to start Kibana. I verified that Kibana still starts when support for the advanced setting was removed but it's still present in `kibana.yml`. ## Release note Removal of the deprecated `visualization:useLegacyTimeAxis` advanced setting. |
||
---|---|---|
.. | ||
development/plugins/expressions/public | ||
extend | ||
reference | ||
release-notes | ||
settings-gen | ||
CHANGELOG.asciidoc | ||
docset.yml |