File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,15 +11,15 @@ import React, {
1111} from 'react' ;
1212import classNames from 'classnames' ;
1313
14- import './HelpPanelCustomTabs.scss' ;
1514import HelpPanelTabContainer from './HelpPanelTabs/HelpPanelTabContainer' ;
1615import QuickStartsPanel from './HelpPanelTabs/QuickStartsPanel' ;
1716import { TabType } from './HelpPanelTabs/helpPanelTabsMapper' ;
1817import { getOpenQuickstartInHelpPanelStore } from '../../store/openQuickstartInHelpPanelStore' ;
1918import { useGetState } from '@scalprum/react-core' ;
2019import { useFlag , useFlags } from '@unleash/proxy-client-react' ;
2120import { useIntl } from 'react-intl' ;
22- import { OutlinedCommentsIcon , SearchIcon } from '@patternfly/react-icons' ;
21+ import { SearchIcon } from '@patternfly/react-icons' ;
22+ import { AiChatbotIcon } from '../common/AiChatbotIcon' ;
2323import {
2424 QuickStartCloseModal ,
2525 QuickStartStatus ,
@@ -60,7 +60,7 @@ const createBaseTabs = (showVA: boolean): TabDefinition[] => {
6060 if ( showVA ) {
6161 tabs . push ( {
6262 id : 'virtual-assistant' ,
63- title : < OutlinedCommentsIcon /> ,
63+ title : < AiChatbotIcon /> ,
6464 closeable : false ,
6565 tabType : TabType . va ,
6666 } ) ;
Original file line number Diff line number Diff line change @@ -130,7 +130,11 @@ const FeedbackPanel: React.FC<SubTabProps> = ({ setNewActionTitle }) => {
130130 < Stack hasGutter >
131131 < StackItem >
132132 < Content >
133- < Content component = { ContentVariants . h1 } >
133+ < Content
134+ component = { ContentVariants . h1 }
135+ ouiaId = "feedback-home-title"
136+ ouiaSafe
137+ >
134138 { intl . formatMessage ( messages . tellAboutExperience ) }
135139 </ Content >
136140 < Content component = "p" >
Original file line number Diff line number Diff line change 1+ import React from 'react' ;
2+
3+ interface AiChatbotIconProps {
4+ className ?: string ;
5+ width ?: number ;
6+ height ?: number ;
7+ }
8+
9+ export const AiChatbotIcon = ( {
10+ className,
11+ width = 20 ,
12+ height = 20 ,
13+ } : AiChatbotIconProps ) => {
14+ const iconPath =
15+ '/apps/frontend-assets/technology-icons/rh-ui-icon-ai-chatbot.svg' ;
16+ return (
17+ < svg width = { width } height = { height } className = { className } >
18+ < image xlinkHref = { iconPath } width = { width } height = { height } />
19+ </ svg >
20+ ) ;
21+ } ;
You can’t perform that action at this time.
0 commit comments