[Obs AI] Hide AI Insight component when there are no connectors#248542
Merged
viduni94 merged 1 commit intoelastic:mainfrom Jan 9, 2026
Merged
[Obs AI] Hide AI Insight component when there are no connectors#248542viduni94 merged 1 commit intoelastic:mainfrom
viduni94 merged 1 commit intoelastic:mainfrom
Conversation
Contributor
|
Pinging @elastic/obs-ai-team (Team:obs-ai) |
neptunian
approved these changes
Jan 9, 2026
sorenlouv
approved these changes
Jan 9, 2026
Contributor
|
Starting backport for target branches: 9.3 |
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Page load bundle
cc @viduni94 |
Contributor
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
viduni94
added a commit
to viduni94/kibana
that referenced
this pull request
Jan 10, 2026
…tic#248542) Closes elastic/obs-ai-team#461 ## Summary The AI Insight component was being shown when there are no connectors, resulting in an error when the component is clicked to fetch AI Insights. This PR fixes it by hiding the component, when there are no connectors set up. ### 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) - [x] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels. (cherry picked from commit e586a39) # Conflicts: # x-pack/solutions/observability/plugins/observability_agent_builder/public/components/ai_insight/ai_insight.tsx # x-pack/solutions/observability/plugins/observability_agent_builder/public/types.ts
Contributor
Author
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
viduni94
added a commit
that referenced
this pull request
Jan 10, 2026
…#248542) (#248565) # Backport This will backport the following commits from `main` to `9.3`: - [[Obs AI] Hide AI Insight component when there are no connectors (#248542)](#248542) <!--- Backport version: 10.2.0 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Viduni Wickramarachchi","email":"viduni.wickramarachchi@elastic.co"},"sourceCommit":{"committedDate":"2026-01-09T23:05:01Z","message":"[Obs AI] Hide AI Insight component when there are no connectors (#248542)\n\nCloses https://github.com/elastic/obs-ai-team/issues/461\n\n## Summary\n\nThe AI Insight component was being shown when there are no connectors,\nresulting in an error when the component is clicked to fetch AI\nInsights.\n\nThis PR fixes it by hiding the component, when there are no connectors\nset up.\n\n### Checklist\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n- [x] Review the [backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand apply applicable `backport:*` labels.","sha":"e586a3927b42e5a13c3710e2162b6dba03cfb77c","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v9.3.0","Team:obs-ai","v9.4.0"],"title":"[Obs AI] Hide AI Insight component when there are no connectors","number":248542,"url":"https://github.com/elastic/kibana/pull/248542","mergeCommit":{"message":"[Obs AI] Hide AI Insight component when there are no connectors (#248542)\n\nCloses https://github.com/elastic/obs-ai-team/issues/461\n\n## Summary\n\nThe AI Insight component was being shown when there are no connectors,\nresulting in an error when the component is clicked to fetch AI\nInsights.\n\nThis PR fixes it by hiding the component, when there are no connectors\nset up.\n\n### Checklist\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n- [x] Review the [backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand apply applicable `backport:*` labels.","sha":"e586a3927b42e5a13c3710e2162b6dba03cfb77c"}},"sourceBranch":"main","suggestedTargetBranches":["9.3"],"targetPullRequestStates":[{"branch":"9.3","label":"v9.3.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/248542","number":248542,"mergeCommit":{"message":"[Obs AI] Hide AI Insight component when there are no connectors (#248542)\n\nCloses https://github.com/elastic/obs-ai-team/issues/461\n\n## Summary\n\nThe AI Insight component was being shown when there are no connectors,\nresulting in an error when the component is clicked to fetch AI\nInsights.\n\nThis PR fixes it by hiding the component, when there are no connectors\nset up.\n\n### Checklist\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n- [x] Review the [backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand apply applicable `backport:*` labels.","sha":"e586a3927b42e5a13c3710e2162b6dba03cfb77c"}}]}] BACKPORT-->
devamanv
pushed a commit
to devamanv/kibana
that referenced
this pull request
Jan 12, 2026
…tic#248542) Closes https://github.com/elastic/obs-ai-team/issues/461 ## Summary The AI Insight component was being shown when there are no connectors, resulting in an error when the component is clicked to fetch AI Insights. This PR fixes it by hiding the component, when there are no connectors set up. ### 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) - [x] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels.
mbondyra
added a commit
to mbondyra/kibana
that referenced
this pull request
Jan 12, 2026
* commit 'c4304e27736c62f17af20d145770b2ae9d3fae30': (418 commits) skip failing suite (elastic#89079) [ES|QL] Update grammars (elastic#248600) skip failing test suite (elastic#248579) [ES|QL] Update function metadata (elastic#248601) skip failing test suite (elastic#248554) Fix flaky test runner serverless flag for Search solution (elastic#248559) [Security Solution][Attacks/Alerts][Attacks page][Table section] Remember last selected attack details tab (Summary or Alerts) (elastic#247519) (elastic#247988) Fix ES health check poller (elastic#248496) Fix collector schema ownership (elastic#241292) [api-docs] 2026-01-10 Daily api_docs build (elastic#248574) Update dependency cssstyle to v5.3.5 (main) (elastic#237637) Update dependency @octokit/rest to v22.0.1 (main) (elastic#243102) skip failing test suite (elastic#248504) skip failing test suite (elastic#247685) Remove broken ecommerce_dashboard journeys (elastic#248162) [Obs AI] Hide AI Insight component when there are no connectors (elastic#248542) skip failing suite (elastic#248433) [Security Solution][Attacks/Alerts][Attacks page][Table section] Hide tabs for generic attack groups (elastic#248444) [Agent Builder] [AI Infra] Adds product documentation tool and task evals (elastic#248370) [Controls Anywhere] Keep controls focused when creating + editing other panels (elastic#248021) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes https://github.com/elastic/obs-ai-team/issues/461
Summary
The AI Insight component was being shown when there are no connectors, resulting in an error when the component is clicked to fetch AI Insights.
This PR fixes it by hiding the component, when there are no connectors set up.
Checklist
release_note:*label is applied per the guidelinesbackport:*labels.