Skip to content

[8.18] [ML] Anomaly Detection: Show Switch to apply time range when opening job selector from left nav (#213382)#213924

Merged
kibanamachine merged 1 commit intoelastic:8.18from
kibanamachine:backport/8.18/pr-213382
Mar 11, 2025
Merged

[8.18] [ML] Anomaly Detection: Show Switch to apply time range when opening job selector from left nav (#213382)#213924
kibanamachine merged 1 commit intoelastic:8.18from
kibanamachine:backport/8.18/pr-213382

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.18:

Questions ?

Please refer to the Backport tool documentation

…g job selector from left nav (elastic#213382)

Fix for: elastic#211018 and
elastic#212407

Note: Previously, the `apply time range` setting was saved in local
storage even if the changes were not applied. After the fix, the setting
is saved in local storage only if the user applies the new selection.

After:

https://github.com/user-attachments/assets/1657f0f4-c580-4941-9582-bf5f9dc3cd55
(cherry picked from commit cbcb7ed)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Mar 11, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) March 11, 2025 14:04
@kibanamachine kibanamachine merged commit f41478f into elastic:8.18 Mar 11, 2025
11 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
ml 4.4MB 4.4MB -95.0B

cc @rbrtj

kibanamachine added a commit that referenced this pull request Mar 11, 2025
…opening job selector from left nav (#213382) (#213965)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[ML] Anomaly Detection: Show `Switch to apply time range` when
opening job selector from left nav
(#213382)](#213382)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Robert
Jaszczurek","email":"92210485+rbrtj@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-03-11T13:50:52Z","message":"[ML]
Anomaly Detection: Show `Switch to apply time range` when opening job
selector from left nav (#213382)\n\nFix for:
#211018
and\nhttps://github.com//issues/212407\n\nNote:
Previously, the `apply time range` setting was saved in local\nstorage
even if the changes were not applied. After the fix, the setting\nis
saved in local storage only if the user applies the new
selection.\n\nAfter:\n\n\nhttps://github.com/user-attachments/assets/1657f0f4-c580-4941-9582-bf5f9dc3cd55","sha":"cbcb7edb94e44bc8edc1a4e6f21bff5504c4d61a","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix",":ml","Feature:Anomaly
Detection","v9.0.0","Team:ML","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"[ML]
Anomaly Detection: Show `Switch to apply time range` when opening job
selector from left
nav","number":213382,"url":"https://github.com/elastic/kibana/pull/213382","mergeCommit":{"message":"[ML]
Anomaly Detection: Show `Switch to apply time range` when opening job
selector from left nav (#213382)\n\nFix for:
#211018
and\nhttps://github.com//issues/212407\n\nNote:
Previously, the `apply time range` setting was saved in local\nstorage
even if the changes were not applied. After the fix, the setting\nis
saved in local storage only if the user applies the new
selection.\n\nAfter:\n\n\nhttps://github.com/user-attachments/assets/1657f0f4-c580-4941-9582-bf5f9dc3cd55","sha":"cbcb7edb94e44bc8edc1a4e6f21bff5504c4d61a"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/213925","number":213925,"state":"MERGED","mergeCommit":{"sha":"c68d82ee86e69ed23813c1024770626c5b98f285","message":"[9.0]
[ML] Anomaly Detection: Show `Switch to apply time range` when opening
job selector from left nav (#213382) (#213925)\n\n# Backport\n\nThis
will backport the following commits from `main` to `9.0`:\n- [[ML]
Anomaly Detection: Show `Switch to apply time range` when\nopening job
selector from left
nav\n(#213382)](https://github.com/elastic/kibana/pull/213382)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Robert Jaszczurek
<92210485+rbrtj@users.noreply.github.com>"}},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/213924","number":213924,"state":"MERGED","mergeCommit":{"sha":"f41478f8e519752dd50608df22bb591aba4b3087","message":"[8.18]
[ML] Anomaly Detection: Show `Switch to apply time range` when opening
job selector from left nav (#213382) (#213924)\n\n# Backport\n\nThis
will backport the following commits from `main` to `8.18`:\n- [[ML]
Anomaly Detection: Show `Switch to apply time range` when\nopening job
selector from left
nav\n(#213382)](https://github.com/elastic/kibana/pull/213382)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Robert Jaszczurek
<92210485+rbrtj@users.noreply.github.com>"}},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213382","number":213382,"mergeCommit":{"message":"[ML]
Anomaly Detection: Show `Switch to apply time range` when opening job
selector from left nav (#213382)\n\nFix for:
#211018
and\nhttps://github.com//issues/212407\n\nNote:
Previously, the `apply time range` setting was saved in local\nstorage
even if the changes were not applied. After the fix, the setting\nis
saved in local storage only if the user applies the new
selection.\n\nAfter:\n\n\nhttps://github.com/user-attachments/assets/1657f0f4-c580-4941-9582-bf5f9dc3cd55","sha":"cbcb7edb94e44bc8edc1a4e6f21bff5504c4d61a"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Robert Jaszczurek <92210485+rbrtj@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants