diff --git a/src/Assets/IconV2/ic-paper-plane.svg b/src/Assets/IconV2/ic-paper-plane.svg new file mode 100644 index 000000000..f0015526d --- /dev/null +++ b/src/Assets/IconV2/ic-paper-plane.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/Assets/IconV2/ic-sparkle-color.svg b/src/Assets/IconV2/ic-sparkle-color.svg index a2aa5c5d3..5629a5d5a 100644 --- a/src/Assets/IconV2/ic-sparkle-color.svg +++ b/src/Assets/IconV2/ic-sparkle-color.svg @@ -1 +1,18 @@ - \ No newline at end of file + + + + diff --git a/src/Common/DraggableWrapper/DraggableButton.tsx b/src/Common/DraggableWrapper/DraggableButton.tsx index 48349887e..cb949d618 100644 --- a/src/Common/DraggableWrapper/DraggableButton.tsx +++ b/src/Common/DraggableWrapper/DraggableButton.tsx @@ -18,13 +18,13 @@ import React from 'react' import { ReactComponent as ICDrag } from '../../Assets/Icon/ic-drag.svg' import { DraggableButtonProps } from './types' -export default function DraggableButton({ dragClassName }: DraggableButtonProps) { +export default function DraggableButton({ dragClassName, svgClassName = 'fcn-6' }: DraggableButtonProps) { return ( ) } diff --git a/src/Common/DraggableWrapper/types.ts b/src/Common/DraggableWrapper/types.ts index 91b9f5f82..ccbf3b320 100644 --- a/src/Common/DraggableWrapper/types.ts +++ b/src/Common/DraggableWrapper/types.ts @@ -49,4 +49,5 @@ export interface DraggableWrapperProps { */ export interface DraggableButtonProps { dragClassName: string + svgClassName?: string } diff --git a/src/Shared/Components/Icon/Icon.tsx b/src/Shared/Components/Icon/Icon.tsx index 0a543e5fe..1111bc040 100644 --- a/src/Shared/Components/Icon/Icon.tsx +++ b/src/Shared/Components/Icon/Icon.tsx @@ -122,6 +122,7 @@ import { ReactComponent as ICOpenBox } from '@IconsV2/ic-open-box.svg' import { ReactComponent as ICOpenInNew } from '@IconsV2/ic-open-in-new.svg' import { ReactComponent as ICOpenshift } from '@IconsV2/ic-openshift.svg' import { ReactComponent as ICOutOfSync } from '@IconsV2/ic-out-of-sync.svg' +import { ReactComponent as ICPaperPlane } from '@IconsV2/ic-paper-plane.svg' import { ReactComponent as ICPaperPlaneColor } from '@IconsV2/ic-paper-plane-color.svg' import { ReactComponent as ICPath } from '@IconsV2/ic-path.svg' import { ReactComponent as ICPencil } from '@IconsV2/ic-pencil.svg' @@ -285,6 +286,7 @@ export const iconMap = { 'ic-openshift': ICOpenshift, 'ic-out-of-sync': ICOutOfSync, 'ic-paper-plane-color': ICPaperPlaneColor, + 'ic-paper-plane': ICPaperPlane, 'ic-path': ICPath, 'ic-pencil': ICPencil, 'ic-quay': ICQuay, diff --git a/src/Shared/Providers/types.ts b/src/Shared/Providers/types.ts index 82f1630cb..fbc251af6 100644 --- a/src/Shared/Providers/types.ts +++ b/src/Shared/Providers/types.ts @@ -78,6 +78,11 @@ export interface MainContext { reloadVersionConfig: ReloadVersionConfigTypes intelligenceConfig: IntelligenceConfig setIntelligenceConfig: Dispatch> + aiAgentContext: { + path: string + context: Record + } + setAIAgentContext: (aiAgentContext: MainContext['aiAgentContext']) => void } export interface MainContextProviderProps { diff --git a/src/index.ts b/src/index.ts index 98f920ca5..67c616f13 100644 --- a/src/index.ts +++ b/src/index.ts @@ -159,6 +159,7 @@ export interface customEnv { GATEKEEPER_URL?: string FEATURE_AI_INTEGRATION_ENABLE?: boolean LOGIN_PAGE_IMAGE?: string + FEATURE_AI_APP_DETAILS_ENABLE?: boolean } declare global { interface Window {