Compare commits

..

No commits in common. "a141a1f95436a2d68588874c83279ded47c27c9f" and "fe9e563da7def7f2a16947eaaa2d09edd93fb5b1" have entirely different histories.

2 changed files with 3 additions and 18 deletions

View File

@ -4,15 +4,6 @@ div {
word-break: break-word; word-break: break-word;
} }
pre {
max-width: 100%;
max-height: 100%;
overflow: auto;
white-space: pre-wrap;
box-sizing: border-box;
border: 3px solid #E0E0E0;
}
button { button {
overflow-wrap: initial; overflow-wrap: initial;
word-break: initial; word-break: initial;

View File

@ -57,7 +57,7 @@ const DocumentViewer: React.FC<DocumentViewerProps> = ({
// State for controlling which document is active on mobile // State for controlling which document is active on mobile
const [activeTab, setActiveTab] = useState<number>(0); const [activeTab, setActiveTab] = useState<number>(0);
// State for controlling split ratio on desktop // State for controlling split ratio on desktop
const [splitRatio, setSplitRatio] = useState<number>(0); const [splitRatio, setSplitRatio] = useState<number>(100);
/** /**
* Reset processing state when resume is generated * Reset processing state when resume is generated
@ -254,12 +254,6 @@ const DocumentViewer: React.FC<DocumentViewerProps> = ({
<Box key="FactView" sx={{ display: "flex", flexDirection: "column", overflow: "auto", flexGrow: 1, flexBasis: 0, p: 0 }}> <Box key="FactView" sx={{ display: "flex", flexDirection: "column", overflow: "auto", flexGrow: 1, flexBasis: 0, p: 0 }}>
<Document sx={{ display: "flex", flexGrow: 1 }} title=""> <Document sx={{ display: "flex", flexGrow: 1 }} title="">
{facts !== undefined && <Message message={facts} />} {facts !== undefined && <Message message={facts} />}
{/* <pre>
With over 20 years of experience as a software architect, team lead, and developer, James Ketrenos brings a unique blend of technical expertise and leadership to the table. Focused on advancing energy-efficient AI solutions, he excels in designing, building, and deploying scalable systems that enable rapid product development. His extensive background in Linux software architecture, DevOps, and open-source technologies makes him an ideal candidate for leading roles at technology-driven companies.
---
</pre> */}
</Document> </Document>
{processing === "facts" && ( {processing === "facts" && (
<Box sx={{ <Box sx={{
@ -435,7 +429,7 @@ const ResumeActionCard: React.FC<ResumeActionCardProps> = ({ resume, processing,
size="large" size="large"
edge="start" edge="start"
color="inherit" color="inherit"
disabled={processing !== undefined} disabled={processing === "resume"}
onClick={() => { triggerFactCheck(undefined); }} onClick={() => { triggerFactCheck(undefined); }}
> >
<Tooltip title="Reset Resume"> <Tooltip title="Reset Resume">
@ -447,7 +441,7 @@ const ResumeActionCard: React.FC<ResumeActionCardProps> = ({ resume, processing,
<Button <Button
sx={{ m: 1, gap: 1, flexGrow: 1 }} sx={{ m: 1, gap: 1, flexGrow: 1 }}
variant="contained" variant="contained"
disabled={processing !== undefined} disabled={processing === "facts"}
onClick={() => { resume && triggerFactCheck(resume.content); }} onClick={() => { resume && triggerFactCheck(resume.content); }}
> >
Fact Check<SendIcon /> Fact Check<SendIcon />