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] add example for programmatically interacting with controls #212665

Merged
merged 4 commits into from
Mar 1, 2025

Conversation

nreese
Copy link
Contributor

@nreese nreese commented Feb 27, 2025

Update search control example with buttons to programmatically interact with controls

Screenshot 2025-02-27 at 8 41 05 AM

@nreese
Copy link
Contributor Author

nreese commented Feb 27, 2025

/ci

@nreese
Copy link
Contributor Author

nreese commented Feb 27, 2025

/ci

@nreese nreese marked this pull request as ready for review February 27, 2025 18:21
@nreese nreese requested a review from a team as a code owner February 27, 2025 18:21
@nreese nreese added Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas release_note:skip Skip the PR/issue when compiling release notes backport:version Backport to applied version labels v9.1.0 v8.19.0 labels Feb 27, 2025
@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! Great extension of the Options List API, and a very clear usage example.

@nreese
Copy link
Contributor Author

nreese commented Feb 28, 2025

@elasticmachine merge upstream

@nreese nreese merged commit 8784e4d into elastic:main Mar 1, 2025
9 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

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

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
controls 133 138 +5

Async chunks

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

id before after diff
controls 427.8KB 427.9KB +48.0B
Unknown metric groups

API count

id before after diff
controls 137 142 +5

History

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Mar 1, 2025
…elastic#212665)

Update search control example with buttons to programmatically interact
with controls

<img width="800" alt="Screenshot 2025-02-27 at 8 41 05 AM"
src="https://github.com/user-attachments/assets/e936cdeb-ce51-4fca-a8bc-ec5d983e3155"
/>

---------

Co-authored-by: kibanamachine <[email protected]>
Co-authored-by: Elastic Machine <[email protected]>
(cherry picked from commit 8784e4d)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
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 Mar 1, 2025
…ntrols (#212665) (#212828)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[controls] add example for programmatically interacting with controls
(#212665)](#212665)

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

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

<!--BACKPORT [{"author":{"name":"Nathan
Reese","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-03-01T00:16:07Z","message":"[controls]
add example for programmatically interacting with controls
(#212665)\n\nUpdate search control example with buttons to
programmatically interact\nwith controls\n\n<img width=\"800\"
alt=\"Screenshot 2025-02-27 at 8 41
05 AM\"\nsrc=\"https://github.com/user-attachments/assets/e936cdeb-ce51-4fca-a8bc-ec5d983e3155\"\n/>\n\n---------\n\nCo-authored-by:
kibanamachine
<[email protected]>\nCo-authored-by:
Elastic Machine
<[email protected]>","sha":"8784e4d68d31a0ce4818f4f3fbe1ac8b273642c1","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Presentation","release_note:skip","backport:version","v9.1.0","v8.19.0"],"title":"[controls]
add example for programmatically interacting with
controls","number":212665,"url":"https://github.com/elastic/kibana/pull/212665","mergeCommit":{"message":"[controls]
add example for programmatically interacting with controls
(#212665)\n\nUpdate search control example with buttons to
programmatically interact\nwith controls\n\n<img width=\"800\"
alt=\"Screenshot 2025-02-27 at 8 41
05 AM\"\nsrc=\"https://github.com/user-attachments/assets/e936cdeb-ce51-4fca-a8bc-ec5d983e3155\"\n/>\n\n---------\n\nCo-authored-by:
kibanamachine
<[email protected]>\nCo-authored-by:
Elastic Machine
<[email protected]>","sha":"8784e4d68d31a0ce4818f4f3fbe1ac8b273642c1"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212665","number":212665,"mergeCommit":{"message":"[controls]
add example for programmatically interacting with controls
(#212665)\n\nUpdate search control example with buttons to
programmatically interact\nwith controls\n\n<img width=\"800\"
alt=\"Screenshot 2025-02-27 at 8 41
05 AM\"\nsrc=\"https://github.com/user-attachments/assets/e936cdeb-ce51-4fca-a8bc-ec5d983e3155\"\n/>\n\n---------\n\nCo-authored-by:
kibanamachine
<[email protected]>\nCo-authored-by:
Elastic Machine
<[email protected]>","sha":"8784e4d68d31a0ce4818f4f3fbe1ac8b273642c1"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Nathan Reese <[email protected]>
SoniaSanzV pushed a commit to SoniaSanzV/kibana that referenced this pull request Mar 4, 2025
…ntrols (elastic#212665) (elastic#212828)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[controls] add example for programmatically interacting with controls
(elastic#212665)](elastic#212665)

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

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

<!--BACKPORT [{"author":{"name":"Nathan
Reese","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-03-01T00:16:07Z","message":"[controls]
add example for programmatically interacting with controls
(elastic#212665)\n\nUpdate search control example with buttons to
programmatically interact\nwith controls\n\n<img width=\"800\"
alt=\"Screenshot 2025-02-27 at 8 41
05 AM\"\nsrc=\"https://github.com/user-attachments/assets/e936cdeb-ce51-4fca-a8bc-ec5d983e3155\"\n/>\n\n---------\n\nCo-authored-by:
kibanamachine
<[email protected]>\nCo-authored-by:
Elastic Machine
<[email protected]>","sha":"8784e4d68d31a0ce4818f4f3fbe1ac8b273642c1","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Presentation","release_note:skip","backport:version","v9.1.0","v8.19.0"],"title":"[controls]
add example for programmatically interacting with
controls","number":212665,"url":"https://github.com/elastic/kibana/pull/212665","mergeCommit":{"message":"[controls]
add example for programmatically interacting with controls
(elastic#212665)\n\nUpdate search control example with buttons to
programmatically interact\nwith controls\n\n<img width=\"800\"
alt=\"Screenshot 2025-02-27 at 8 41
05 AM\"\nsrc=\"https://github.com/user-attachments/assets/e936cdeb-ce51-4fca-a8bc-ec5d983e3155\"\n/>\n\n---------\n\nCo-authored-by:
kibanamachine
<[email protected]>\nCo-authored-by:
Elastic Machine
<[email protected]>","sha":"8784e4d68d31a0ce4818f4f3fbe1ac8b273642c1"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212665","number":212665,"mergeCommit":{"message":"[controls]
add example for programmatically interacting with controls
(elastic#212665)\n\nUpdate search control example with buttons to
programmatically interact\nwith controls\n\n<img width=\"800\"
alt=\"Screenshot 2025-02-27 at 8 41
05 AM\"\nsrc=\"https://github.com/user-attachments/assets/e936cdeb-ce51-4fca-a8bc-ec5d983e3155\"\n/>\n\n---------\n\nCo-authored-by:
kibanamachine
<[email protected]>\nCo-authored-by:
Elastic Machine
<[email protected]>","sha":"8784e4d68d31a0ce4818f4f3fbe1ac8b273642c1"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Nathan Reese <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas v8.19.0 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants