Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions src/ContentProcessorWeb/src/Hooks/useHeaderHooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import React, { useEffect, useCallback, useState } from "react";

import {
Avatar,
Subtitle2,
Tag,
} from "@fluentui/react-components";
Expand Down Expand Up @@ -87,11 +86,10 @@ export const Header: React.FC<HeaderProps> = ({
{/* Title Section */}
<Link to="/default" style={{ textDecoration: "none", color: "inherit" }}>
<div className="headerTitle">
<Avatar
image={{ src: avatarSrc }}
shape="square"
//color= {null}

<img
src={avatarSrc}
alt="Logo"
style={{ height: '100%', maxHeight: 32, objectFit: 'contain' }}
/>
<div className="headerTitleText">
<Subtitle2 style={{ whiteSpace: "nowrap" }}>
Expand Down
2 changes: 1 addition & 1 deletion src/ContentProcessorWeb/src/Hooks/usePanelHooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface PanelToolbarProps {
/** Icon element displayed before the header text. */
icon: React.ReactNode;
/** Panel header label. */
header: string;
header: React.ReactNode;
/** Optional action buttons or controls rendered to the right. */
children?: React.ReactNode;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ const PanelCenter: React.FC<PanelCenterProps> = ({ togglePanel }) => {
<div className={styles.tabContainer}>
<TabList selectedValue={selectedTab} onTabSelect={onTabSelect} className="custom-test" >
<Tab value="ai-summary">AI Summary</Tab>
<Tab value="gap-analysis">Gap Analysis</Tab>
<Tab value="gap-analysis">AI Gap Analysis</Tab>
</TabList>
</div>
<Divider />
Expand Down Expand Up @@ -404,7 +404,7 @@ const PanelCenter: React.FC<PanelCenterProps> = ({ togglePanel }) => {

return (
<div className={`pc ${styles.panelCenter}`}>
<PanelToolbar icon={null} header="Output Review">
<PanelToolbar icon={null} header={store.selectionType === 'claim' ? <>Output Review <span style={{ fontWeight: 'normal' }}>(for Illustrative purposes only)</span></> : "Output Review"}>
<Button icon={<ChevronDoubleLeft />} title="Collapse Panel" onClick={() => togglePanel('Center')} />
</PanelToolbar>
{store.selectionType === 'claim' ? renderClaimView() : renderDocumentView()}
Expand Down
Loading