diff --git a/libs/chatbot/lib/components/ChatBot/AIAlert.tsx b/libs/chatbot/lib/components/ChatBot/AIAlert.tsx index 4c782dfa47..d18c14380d 100644 --- a/libs/chatbot/lib/components/ChatBot/AIAlert.tsx +++ b/libs/chatbot/lib/components/ChatBot/AIAlert.tsx @@ -1,4 +1,4 @@ -import { Alert, AlertActionCloseButton, Button } from '@patternfly-6/react-core'; +import { Alert, AlertActionCloseButton, Button, Stack, StackItem } from '@patternfly-6/react-core'; import { ExternalLinkAltIcon } from '@patternfly-6/react-icons/dist/js/icons/external-link-alt-icon'; import * as React from 'react'; @@ -18,23 +18,26 @@ const AIAlert = () => { variant="info" isInline title={ - <> - This feature uses AI technology. Do not include personal or sensitive information in your - input. Interactions may be used to improve Red Hat's products or services. For more - information about Red Hat's privacy practices, please refer to the - - + + + This feature uses AI technology. Do not include personal or sensitive information in + your input. Interactions may be used to improve Red Hat's products or services. + + + + + } actionClose={ + @@ -207,13 +209,7 @@ const ChatBotWindow = ({ onChange={(_, value) => setMsg(`${value}`)} ref={msgBarRef} /> - + diff --git a/libs/chatbot/lib/components/ChatBot/DevPreviewBadge.tsx b/libs/chatbot/lib/components/ChatBot/DevPreviewBadge.tsx new file mode 100644 index 0000000000..2e78201ad7 --- /dev/null +++ b/libs/chatbot/lib/components/ChatBot/DevPreviewBadge.tsx @@ -0,0 +1,38 @@ +import * as React from 'react'; +import { Button, Label, Popover, Stack, StackItem } from '@patternfly-6/react-core'; +import { ExternalLinkAltIcon, InfoCircleIcon } from '@patternfly-6/react-icons'; + +const DevPreviewBadge = () => ( + + + Developer preview features are not intended to be used in production environments. The + clusters deployed with the developer preview features are considered to be development + clusters and are not supported through the Red Hat Customer Portal case management system. + + + + + + } + position="left" + withFocusTrap={false} + > + + +); + +export default DevPreviewBadge;