refactor(workspace): unify application workflow

This commit is contained in:
cesnimda
2026-08-28 12:28:12 +02:00
parent 4da673ff00
commit e3f938cb42
8 changed files with 264 additions and 102 deletions
@@ -262,16 +262,21 @@ export function ApplicationMatch({ jobId }: { jobId: number }) {
return (
<SectionShell
title="Match"
subtitle="Your master career profile against this advert. Reads your profile; never changes it."
title="CV Match"
subtitle={data?.selectedCvName
? `${data.selectedCvName} compared with this job advert.`
: "Choose the CV intended for this application before comparing it with the advert."}
loading={loading}
error={error}
>
<Stack spacing={2}>
{data && !data.hasCareerProfile ? (
{data && !data.hasSelectedCv ? (
<Alert severity="info" sx={{ borderRadius: 2 }}>
No career profile yet. Matching compares the advert against your master profile build it
once and every application scores against it.
Select a CV on the CV tab first. The application will only analyse the document you explicitly link.
</Alert>
) : data && !data.hasCareerProfile ? (
<Alert severity="info" sx={{ borderRadius: 2 }}>
The linked CV cannot be matched until its career profile has content.
</Alert>
) : (
<>