Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Controls] Persist runPastTimeout setting #208611

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

Heenawter
Copy link
Contributor

@Heenawter Heenawter commented Jan 28, 2025

Closes #206459

Summary

This PR ensures that the runPastTimeout setting is persisted for options list controls and the UI reflects the value of this setting. The root cause of this bug is that we weren't sending in the behavior subject for runPastTimeout$ to the data control's editorStateManager when initializing the options list control, which meant that its value could not be set by the options list's CustomOptionsComponent - this PR fixes that.

Before

Screen.Recording.2025-01-28.at.5.36.34.PM.mov

After

Screen.Recording.2025-01-28.at.5.38.37.PM.mov

Checklist

  • Unit or functional tests were updated or added to match the most common scenarios
  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines

@Heenawter Heenawter added bug Fixes for quality problems that affect the customer experience regression release_note:fix Feature:Input Control Input controls visualization Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas loe:small Small Level of Effort impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. Project:Controls project:embeddableRebuild labels Jan 28, 2025
@Heenawter Heenawter self-assigned this Jan 28, 2025
@Heenawter Heenawter added backport:version Backport to applied version labels v8.18.0 v8.17.2 v8.16.4 labels Jan 28, 2025
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #42 / console app misc console behavior keyboard shortcuts should execute the request when Ctrl+Enter is pressed

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
controls 495.0KB 495.0KB +17.0B

cc @Heenawter

@Heenawter Heenawter added backport:prev-major Backport to (8.x, 8.18, 8.17, 8.16) the previous major branch and other branches in development and removed backport:version Backport to applied version labels v8.18.0 v8.16.4 v8.17.2 labels Jan 29, 2025
@Heenawter Heenawter marked this pull request as ready for review January 29, 2025 00:41
@Heenawter Heenawter requested a review from a team as a code owner January 29, 2025 00:41
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

Copy link
Contributor

@ThomThomson ThomThomson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM! Good to see this fixed.

await userEvent.click(control.getByTestId('optionsList-control-selection-bark'));
await waitOneTick();
expect(control.getByTestId('optionsList-control-selection-woof')).not.toBeChecked();
await waitFor(async () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call to switch to waitFor here.

@Heenawter Heenawter merged commit da41b8b into elastic:main Jan 29, 2025
22 checks passed
@Heenawter Heenawter deleted the persist-run-past-timeout_2025-01-28 branch January 29, 2025 14:46
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.16, 8.17, 8.x

https://github.com/elastic/kibana/actions/runs/13033855131

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jan 29, 2025
Closes elastic#206459

## Summary

This PR ensures that the `runPastTimeout` setting is persisted for
options list controls and the UI reflects the value of this setting. The
root cause of this bug is that we weren't sending in the behavior
subject for `runPastTimeout$` to the data control's `editorStateManager`
when initializing the options list control, which meant that its value
could not be set by the options list's `CustomOptionsComponent` - this
PR fixes that.

**Before**

https://github.com/user-attachments/assets/2c9eeab8-67d9-46bc-938e-4d7cb91e435f

**After**

https://github.com/user-attachments/assets/d06b6ffa-b1e9-4ecd-b732-69bd69a8aee9

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

(cherry picked from commit da41b8b)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jan 29, 2025
Closes elastic#206459

## Summary

This PR ensures that the `runPastTimeout` setting is persisted for
options list controls and the UI reflects the value of this setting. The
root cause of this bug is that we weren't sending in the behavior
subject for `runPastTimeout$` to the data control's `editorStateManager`
when initializing the options list control, which meant that its value
could not be set by the options list's `CustomOptionsComponent` - this
PR fixes that.

**Before**

https://github.com/user-attachments/assets/2c9eeab8-67d9-46bc-938e-4d7cb91e435f

**After**

https://github.com/user-attachments/assets/d06b6ffa-b1e9-4ecd-b732-69bd69a8aee9

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

(cherry picked from commit da41b8b)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jan 29, 2025
Closes elastic#206459

## Summary

This PR ensures that the `runPastTimeout` setting is persisted for
options list controls and the UI reflects the value of this setting. The
root cause of this bug is that we weren't sending in the behavior
subject for `runPastTimeout$` to the data control's `editorStateManager`
when initializing the options list control, which meant that its value
could not be set by the options list's `CustomOptionsComponent` - this
PR fixes that.

**Before**

https://github.com/user-attachments/assets/2c9eeab8-67d9-46bc-938e-4d7cb91e435f

**After**

https://github.com/user-attachments/assets/d06b6ffa-b1e9-4ecd-b732-69bd69a8aee9

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

(cherry picked from commit da41b8b)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.16
8.17
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Jan 29, 2025
#208764)

# Backport

This will backport the following commits from `main` to `8.17`:
- [[Controls] Persist `runPastTimeout` setting
(#208611)](#208611)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Hannah
Mudge","email":"Heenawter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-01-29T14:46:29Z","message":"[Controls]
Persist `runPastTimeout` setting (#208611)\n\nCloses
https://github.com/elastic/kibana/issues/206459\r\n\r\n##
Summary\r\n\r\nThis PR ensures that the `runPastTimeout` setting is
persisted for\r\noptions list controls and the UI reflects the value of
this setting. The\r\nroot cause of this bug is that we weren't sending
in the behavior\r\nsubject for `runPastTimeout# Backport

This will backport the following commits from `main` to `8.17`:
- [[Controls] Persist &#x60;runPastTimeout&#x60; setting
(#208611)](#208611)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT to the data control's `editorStateManager`\r\nwhen
initializing the options list control, which meant that its
value\r\ncould not be set by the options list's `CustomOptionsComponent`
- this\r\nPR fixes
that.\r\n\r\n**Before**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2c9eeab8-67d9-46bc-938e-4d7cb91e435f\r\n\r\n**After**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/d06b6ffa-b1e9-4ecd-b732-69bd69a8aee9\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] The PR
description includes the appropriate Release Notes section,\r\nand the
correct `release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"da41b8be52609ae62b1baad13fcdbc04f5d1b9a9","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","regression","release_note:fix","Feature:Input
Control","Team:Presentation","loe:small","impact:high","v9.0.0","Project:Controls","backport:prev-major","project:embeddableRebuild"],"title":"[Controls]
Persist `runPastTimeout`
setting","number":208611,"url":"https://github.com/elastic/kibana/pull/208611","mergeCommit":{"message":"[Controls]
Persist `runPastTimeout` setting (#208611)\n\nCloses
https://github.com/elastic/kibana/issues/206459\r\n\r\n##
Summary\r\n\r\nThis PR ensures that the `runPastTimeout` setting is
persisted for\r\noptions list controls and the UI reflects the value of
this setting. The\r\nroot cause of this bug is that we weren't sending
in the behavior\r\nsubject for `runPastTimeout# Backport

This will backport the following commits from `main` to `8.17`:
- [[Controls] Persist &#x60;runPastTimeout&#x60; setting
(#208611)](#208611)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT to the data control's `editorStateManager`\r\nwhen
initializing the options list control, which meant that its
value\r\ncould not be set by the options list's `CustomOptionsComponent`
- this\r\nPR fixes
that.\r\n\r\n**Before**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2c9eeab8-67d9-46bc-938e-4d7cb91e435f\r\n\r\n**After**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/d06b6ffa-b1e9-4ecd-b732-69bd69a8aee9\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] The PR
description includes the appropriate Release Notes section,\r\nand the
correct `release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"da41b8be52609ae62b1baad13fcdbc04f5d1b9a9"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/208611","number":208611,"mergeCommit":{"message":"[Controls]
Persist `runPastTimeout` setting (#208611)\n\nCloses
https://github.com/elastic/kibana/issues/206459\r\n\r\n##
Summary\r\n\r\nThis PR ensures that the `runPastTimeout` setting is
persisted for\r\noptions list controls and the UI reflects the value of
this setting. The\r\nroot cause of this bug is that we weren't sending
in the behavior\r\nsubject for `runPastTimeout# Backport

This will backport the following commits from `main` to `8.17`:
- [[Controls] Persist &#x60;runPastTimeout&#x60; setting
(#208611)](#208611)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT to the data control's `editorStateManager`\r\nwhen
initializing the options list control, which meant that its
value\r\ncould not be set by the options list's `CustomOptionsComponent`
- this\r\nPR fixes
that.\r\n\r\n**Before**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2c9eeab8-67d9-46bc-938e-4d7cb91e435f\r\n\r\n**After**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/d06b6ffa-b1e9-4ecd-b732-69bd69a8aee9\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] The PR
description includes the appropriate Release Notes section,\r\nand the
correct `release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"da41b8be52609ae62b1baad13fcdbc04f5d1b9a9"}}]}]
BACKPORT-->

Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Jan 29, 2025
…#208765)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Controls] Persist &#x60;runPastTimeout&#x60; setting
(#208611)](#208611)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Hannah
Mudge","email":"Heenawter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-01-29T14:46:29Z","message":"[Controls]
Persist `runPastTimeout` setting (#208611)\n\nCloses
https://github.com/elastic/kibana/issues/206459\r\n\r\n##
Summary\r\n\r\nThis PR ensures that the `runPastTimeout` setting is
persisted for\r\noptions list controls and the UI reflects the value of
this setting. The\r\nroot cause of this bug is that we weren't sending
in the behavior\r\nsubject for `runPastTimeout# Backport

This will backport the following commits from `main` to `8.x`:
- [[Controls] Persist &#x60;runPastTimeout&#x60; setting
(#208611)](#208611)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT to the data control's `editorStateManager`\r\nwhen
initializing the options list control, which meant that its
value\r\ncould not be set by the options list's `CustomOptionsComponent`
- this\r\nPR fixes
that.\r\n\r\n**Before**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2c9eeab8-67d9-46bc-938e-4d7cb91e435f\r\n\r\n**After**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/d06b6ffa-b1e9-4ecd-b732-69bd69a8aee9\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] The PR
description includes the appropriate Release Notes section,\r\nand the
correct `release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"da41b8be52609ae62b1baad13fcdbc04f5d1b9a9","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","regression","release_note:fix","Feature:Input
Control","Team:Presentation","loe:small","impact:high","v9.0.0","Project:Controls","backport:prev-major","project:embeddableRebuild"],"title":"[Controls]
Persist `runPastTimeout`
setting","number":208611,"url":"https://github.com/elastic/kibana/pull/208611","mergeCommit":{"message":"[Controls]
Persist `runPastTimeout` setting (#208611)\n\nCloses
https://github.com/elastic/kibana/issues/206459\r\n\r\n##
Summary\r\n\r\nThis PR ensures that the `runPastTimeout` setting is
persisted for\r\noptions list controls and the UI reflects the value of
this setting. The\r\nroot cause of this bug is that we weren't sending
in the behavior\r\nsubject for `runPastTimeout# Backport

This will backport the following commits from `main` to `8.x`:
- [[Controls] Persist &#x60;runPastTimeout&#x60; setting
(#208611)](#208611)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT to the data control's `editorStateManager`\r\nwhen
initializing the options list control, which meant that its
value\r\ncould not be set by the options list's `CustomOptionsComponent`
- this\r\nPR fixes
that.\r\n\r\n**Before**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2c9eeab8-67d9-46bc-938e-4d7cb91e435f\r\n\r\n**After**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/d06b6ffa-b1e9-4ecd-b732-69bd69a8aee9\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] The PR
description includes the appropriate Release Notes section,\r\nand the
correct `release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"da41b8be52609ae62b1baad13fcdbc04f5d1b9a9"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/208611","number":208611,"mergeCommit":{"message":"[Controls]
Persist `runPastTimeout` setting (#208611)\n\nCloses
https://github.com/elastic/kibana/issues/206459\r\n\r\n##
Summary\r\n\r\nThis PR ensures that the `runPastTimeout` setting is
persisted for\r\noptions list controls and the UI reflects the value of
this setting. The\r\nroot cause of this bug is that we weren't sending
in the behavior\r\nsubject for `runPastTimeout# Backport

This will backport the following commits from `main` to `8.x`:
- [[Controls] Persist &#x60;runPastTimeout&#x60; setting
(#208611)](#208611)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT to the data control's `editorStateManager`\r\nwhen
initializing the options list control, which meant that its
value\r\ncould not be set by the options list's `CustomOptionsComponent`
- this\r\nPR fixes
that.\r\n\r\n**Before**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2c9eeab8-67d9-46bc-938e-4d7cb91e435f\r\n\r\n**After**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/d06b6ffa-b1e9-4ecd-b732-69bd69a8aee9\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] The PR
description includes the appropriate Release Notes section,\r\nand the
correct `release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"da41b8be52609ae62b1baad13fcdbc04f5d1b9a9"}}]}]
BACKPORT-->

Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Jan 29, 2025
#208763)

# Backport

This will backport the following commits from `main` to `8.16`:
- [[Controls] Persist &#x60;runPastTimeout&#x60; setting
(#208611)](#208611)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Hannah
Mudge","email":"Heenawter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-01-29T14:46:29Z","message":"[Controls]
Persist `runPastTimeout` setting (#208611)\n\nCloses
https://github.com/elastic/kibana/issues/206459\r\n\r\n##
Summary\r\n\r\nThis PR ensures that the `runPastTimeout` setting is
persisted for\r\noptions list controls and the UI reflects the value of
this setting. The\r\nroot cause of this bug is that we weren't sending
in the behavior\r\nsubject for `runPastTimeout# Backport

This will backport the following commits from `main` to `8.16`:
- [[Controls] Persist &#x60;runPastTimeout&#x60; setting
(#208611)](#208611)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT to the data control's `editorStateManager`\r\nwhen
initializing the options list control, which meant that its
value\r\ncould not be set by the options list's `CustomOptionsComponent`
- this\r\nPR fixes
that.\r\n\r\n**Before**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2c9eeab8-67d9-46bc-938e-4d7cb91e435f\r\n\r\n**After**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/d06b6ffa-b1e9-4ecd-b732-69bd69a8aee9\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] The PR
description includes the appropriate Release Notes section,\r\nand the
correct `release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"da41b8be52609ae62b1baad13fcdbc04f5d1b9a9","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","regression","release_note:fix","Feature:Input
Control","Team:Presentation","loe:small","impact:high","v9.0.0","Project:Controls","backport:prev-major","project:embeddableRebuild"],"title":"[Controls]
Persist `runPastTimeout`
setting","number":208611,"url":"https://github.com/elastic/kibana/pull/208611","mergeCommit":{"message":"[Controls]
Persist `runPastTimeout` setting (#208611)\n\nCloses
https://github.com/elastic/kibana/issues/206459\r\n\r\n##
Summary\r\n\r\nThis PR ensures that the `runPastTimeout` setting is
persisted for\r\noptions list controls and the UI reflects the value of
this setting. The\r\nroot cause of this bug is that we weren't sending
in the behavior\r\nsubject for `runPastTimeout# Backport

This will backport the following commits from `main` to `8.16`:
- [[Controls] Persist &#x60;runPastTimeout&#x60; setting
(#208611)](#208611)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT to the data control's `editorStateManager`\r\nwhen
initializing the options list control, which meant that its
value\r\ncould not be set by the options list's `CustomOptionsComponent`
- this\r\nPR fixes
that.\r\n\r\n**Before**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2c9eeab8-67d9-46bc-938e-4d7cb91e435f\r\n\r\n**After**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/d06b6ffa-b1e9-4ecd-b732-69bd69a8aee9\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] The PR
description includes the appropriate Release Notes section,\r\nand the
correct `release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"da41b8be52609ae62b1baad13fcdbc04f5d1b9a9"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/208611","number":208611,"mergeCommit":{"message":"[Controls]
Persist `runPastTimeout` setting (#208611)\n\nCloses
https://github.com/elastic/kibana/issues/206459\r\n\r\n##
Summary\r\n\r\nThis PR ensures that the `runPastTimeout` setting is
persisted for\r\noptions list controls and the UI reflects the value of
this setting. The\r\nroot cause of this bug is that we weren't sending
in the behavior\r\nsubject for `runPastTimeout# Backport

This will backport the following commits from `main` to `8.16`:
- [[Controls] Persist &#x60;runPastTimeout&#x60; setting
(#208611)](#208611)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT to the data control's `editorStateManager`\r\nwhen
initializing the options list control, which meant that its
value\r\ncould not be set by the options list's `CustomOptionsComponent`
- this\r\nPR fixes
that.\r\n\r\n**Before**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2c9eeab8-67d9-46bc-938e-4d7cb91e435f\r\n\r\n**After**\r\n\r\n\r\nhttps://github.com/user-attachments/assets/d06b6ffa-b1e9-4ecd-b732-69bd69a8aee9\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] The PR
description includes the appropriate Release Notes section,\r\nand the
correct `release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"da41b8be52609ae62b1baad13fcdbc04f5d1b9a9"}}]}]
BACKPORT-->

Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-major Backport to (8.x, 8.18, 8.17, 8.16) the previous major branch and other branches in development bug Fixes for quality problems that affect the customer experience Feature:Input Control Input controls visualization impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. loe:small Small Level of Effort Project:Controls project:embeddableRebuild regression release_note:fix Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Controls] "Run past timeout" toggle does not reflect setting
4 participants