[8.x] [Fleet] Fix connector links not visible in agentless flyout (#208068) (#208106)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Fleet] Fix connector links not visible in agentless flyout
(#208068)](https://github.com/elastic/kibana/pull/208068)

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

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

<!--BACKPORT [{"author":{"name":"Cristina
Amico","email":"criamico@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-01-23T17:09:49Z","message":"[Fleet]
Fix connector links not visible in agentless flyout (#208068)\n\nFollow
up of https://github.com/elastic/kibana/pull/203824\r\n\r\n##
Summary\r\nThis is a small bugfix for connectors not visible in
agentless flyout.\r\n\r\n## Testing\r\n\r\n- Follow the steps here
https://github.com/elastic/kibana/pull/203824\r\n- Install
elastic-connectors
integration\r\n`app/fleet/integrations/elastic_connectors-1.0.0/add-integration`
and\r\nenroll an agent to it\r\n- The enabled connectors should be
visible in the flyout\r\n\r\n<img width=\"870\" alt=\"Screenshot
2025-01-23 at 15 28
20\"\r\nsrc=\"https://github.com/user-attachments/assets/19cdcbc4-68d5-4e44-875e-15cd849ab84b\"\r\n/>","sha":"1b97e290ec3d18cb0fee8bc4d8cd3d4222b81c93","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v9.0.0","backport:prev-minor","v8.18.0"],"title":"[Fleet]
Fix connector links not visible in agentless
flyout","number":208068,"url":"https://github.com/elastic/kibana/pull/208068","mergeCommit":{"message":"[Fleet]
Fix connector links not visible in agentless flyout (#208068)\n\nFollow
up of https://github.com/elastic/kibana/pull/203824\r\n\r\n##
Summary\r\nThis is a small bugfix for connectors not visible in
agentless flyout.\r\n\r\n## Testing\r\n\r\n- Follow the steps here
https://github.com/elastic/kibana/pull/203824\r\n- Install
elastic-connectors
integration\r\n`app/fleet/integrations/elastic_connectors-1.0.0/add-integration`
and\r\nenroll an agent to it\r\n- The enabled connectors should be
visible in the flyout\r\n\r\n<img width=\"870\" alt=\"Screenshot
2025-01-23 at 15 28
20\"\r\nsrc=\"https://github.com/user-attachments/assets/19cdcbc4-68d5-4e44-875e-15cd849ab84b\"\r\n/>","sha":"1b97e290ec3d18cb0fee8bc4d8cd3d4222b81c93"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/208068","number":208068,"mergeCommit":{"message":"[Fleet]
Fix connector links not visible in agentless flyout (#208068)\n\nFollow
up of https://github.com/elastic/kibana/pull/203824\r\n\r\n##
Summary\r\nThis is a small bugfix for connectors not visible in
agentless flyout.\r\n\r\n## Testing\r\n\r\n- Follow the steps here
https://github.com/elastic/kibana/pull/203824\r\n- Install
elastic-connectors
integration\r\n`app/fleet/integrations/elastic_connectors-1.0.0/add-integration`
and\r\nenroll an agent to it\r\n- The enabled connectors should be
visible in the flyout\r\n\r\n<img width=\"870\" alt=\"Screenshot
2025-01-23 at 15 28
20\"\r\nsrc=\"https://github.com/user-attachments/assets/19cdcbc4-68d5-4e44-875e-15cd849ab84b\"\r\n/>","sha":"1b97e290ec3d18cb0fee8bc4d8cd3d4222b81c93"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Cristina Amico <criamico@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2025-01-24 05:45:11 +11:00 committed by GitHub
parent 581d6f2612
commit d9250af8d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -132,7 +132,7 @@ export const NextSteps = ({
return (
<>
<EuiSpacer size="m" />
{nextStepsCards.length > 0 && (
{(nextStepsCards.length > 0 || connectorCards.length > 0) && (
<EuiFlexGroup alignItems="center" direction="row" wrap={true}>
{nextStepsCards}
{connectorCards}

View file

@ -84,7 +84,7 @@ export const AgentlessStepConfirmData = ({
<p>
<FormattedMessage
id="xpack.fleet.agentlessEnrollmentFlyout.confirmData.failureHelperText"
defaultMessage="No integration data receieved in the past {num} minutes. Check out the {troubleshootingGuideLink} for help."
defaultMessage="No integration data received in the past {num} minutes. Check out the {troubleshootingGuideLink} for help."
values={{
num: POLLING_TIMEOUT_MS / 1000 / 60,
troubleshootingGuideLink: (