-
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.
Browse files
Browse the repository at this point in the history
- Loading branch information
Henry Harding
authored
May 4, 2020
1 parent
1623629
commit 266da2b
Showing
3 changed files
with
153 additions
and
22 deletions.
There are no files selected for viewing
101 changes: 101 additions & 0 deletions
101
x-pack/plugins/ingest_manager/public/applications/ingest_manager/components/alpha_flyout.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,101 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License; | ||
* you may not use this file except in compliance with the Elastic License. | ||
*/ | ||
import React from 'react'; | ||
import { | ||
EuiButtonEmpty, | ||
EuiFlyout, | ||
EuiFlyoutBody, | ||
EuiFlyoutHeader, | ||
EuiFlyoutFooter, | ||
EuiLink, | ||
EuiText, | ||
EuiTitle, | ||
} from '@elastic/eui'; | ||
import { FormattedMessage } from '@kbn/i18n/react'; | ||
|
||
interface Props { | ||
onClose: () => void; | ||
} | ||
|
||
export const AlphaFlyout: React.FunctionComponent<Props> = ({ onClose }) => { | ||
return ( | ||
<EuiFlyout onClose={onClose} size="m" maxWidth={640}> | ||
<EuiFlyoutHeader hasBorder aria-labelledby="AlphaMessagingFlyoutTitle"> | ||
<EuiTitle size="m"> | ||
<h2 id="AlphaMessagingFlyoutTitle"> | ||
<FormattedMessage | ||
id="xpack.ingestManager.alphaMessaging.flyoutTitle" | ||
defaultMessage="About this release" | ||
/> | ||
</h2> | ||
</EuiTitle> | ||
</EuiFlyoutHeader> | ||
<EuiFlyoutBody> | ||
<EuiText size="m"> | ||
<p> | ||
<FormattedMessage | ||
id="xpack.ingestManager.alphaMessaging.introText" | ||
defaultMessage="This release is experimental and is not subject to the support SLA. It is designed for users to test and offer feedback about Ingest | ||
Manager and the new Elastic Agent. It is not intended for use in production environments since certain features may change or go away in a future release." | ||
/> | ||
</p> | ||
<FormattedMessage | ||
id="xpack.ingestManager.alphaMessaging.feedbackText" | ||
defaultMessage="We encourage you to read our {docsLink} or to ask questions and send feedback in our {forumLink}." | ||
values={{ | ||
docsLink: ( | ||
<EuiLink href="https://ela.st/ingest-manager-docs" external target="_blank"> | ||
<FormattedMessage | ||
id="xpack.ingestManager.alphaMessaging.docsLink" | ||
defaultMessage="documentation" | ||
/> | ||
</EuiLink> | ||
), | ||
forumLink: ( | ||
<EuiLink href="https://ela.st/ingest-manager-forum" external target="_blank"> | ||
<FormattedMessage | ||
id="xpack.ingestManager.alphaMessaging.forumLink" | ||
defaultMessage="Discuss forum" | ||
/> | ||
</EuiLink> | ||
), | ||
}} | ||
/> | ||
<p /> | ||
|
||
<p> | ||
<FormattedMessage | ||
id="xpack.ingestManager.alphaMessaging.warningText" | ||
defaultMessage="{note}: you should not store important data with Ingest Manager | ||
since you will have limited visibility to it in a future release. This version uses an | ||
indexing strategy that will be deprecated in a future release and there is no migration | ||
path. Also, licensing for certain features is under consideration and may change in the future. As a result, you may lose access to certain features based on your license | ||
tier." | ||
values={{ | ||
note: ( | ||
<strong> | ||
<FormattedMessage | ||
id="xpack.ingestManager.alphaMessaging.warningNote" | ||
defaultMessage="Note" | ||
/> | ||
</strong> | ||
), | ||
}} | ||
/> | ||
</p> | ||
</EuiText> | ||
</EuiFlyoutBody> | ||
<EuiFlyoutFooter> | ||
<EuiButtonEmpty iconType="cross" onClick={onClose} flush="left"> | ||
<FormattedMessage | ||
id="xpack.ingestManager.alphaMessging.closeFlyoutLabel" | ||
defaultMessage="Close" | ||
/> | ||
</EuiButtonEmpty> | ||
</EuiFlyoutFooter> | ||
</EuiFlyout> | ||
); | ||
}; |
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