-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fleet] Remove confirm enrollment & confirm incoming data steps for s…
…tandalone first integration flow (#134474) * remove data and agent confirmation steps from standalone flow * bonus: downloading policy should set step as complete * Bring confirm incoming data step for standalone agent Co-authored-by: Nicolas Chaulet <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
- Loading branch information
1 parent
41d3f8b
commit e3aa999
Showing
6 changed files
with
120 additions
and
30 deletions.
There are no files selected for viewing
This file contains 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
50 changes: 50 additions & 0 deletions
50
..._package_policy_page/multi_page_layout/components/confirming_incoming_data_standalone.tsx
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
import React from 'react'; | ||
import { EuiCallOut, EuiText, EuiLink } from '@elastic/eui'; | ||
import { FormattedMessage } from '@kbn/i18n-react'; | ||
|
||
interface Props { | ||
troubleshootLink: string; | ||
} | ||
|
||
export const ConfirmIncomingDataStandalone: React.FunctionComponent<Props> = ({ | ||
troubleshootLink, | ||
}) => { | ||
return ( | ||
<> | ||
<EuiText> | ||
<EuiCallOut | ||
size="m" | ||
color="primary" | ||
title={ | ||
<FormattedMessage | ||
id="xpack.fleet.confirmIncomingDataStandalone.title" | ||
defaultMessage="Data preview is not available for standalone agents. " | ||
/> | ||
} | ||
> | ||
<FormattedMessage | ||
id="xpack.fleet.confirmIncomingDataStandalone.description" | ||
defaultMessage="You can check for agent data in the integration asset tab. If you're having trouble seeing data, check out the {link}." | ||
values={{ | ||
link: ( | ||
<EuiLink target="_blank" external href={troubleshootLink}> | ||
<FormattedMessage | ||
id="xpack.fleet.confirmIncomingDataStandalone.troubleshootingLink" | ||
defaultMessage="troubleshooting guide" | ||
/> | ||
</EuiLink> | ||
), | ||
}} | ||
/> | ||
</EuiCallOut> | ||
</EuiText> | ||
</> | ||
); | ||
}; |
This file contains 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
This file contains 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
This file contains 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
This file contains 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