diff --git a/client/pages/dashboards/NexusDashboard.tsx b/client/pages/dashboards/NexusDashboard.tsx index 20db2132..a23a60e0 100644 --- a/client/pages/dashboards/NexusDashboard.tsx +++ b/client/pages/dashboards/NexusDashboard.tsx @@ -675,64 +675,32 @@ export default function NexusDashboard() { {/* Applicants Tab - Kanban Style */} -
- {/* Applied Column */} - - - Applied ({applicantStats.applied}) - - - {applicants.filter(a => a.status === "applied").length === 0 ? ( -

No applicants

- ) : ( - applicants.filter(a => a.status === "applied").map((app: any) => ( -
-

{app.user?.name}

-

{app.opportunity?.title}

-
- )) - )} -
-
- - {/* Interviewing Column */} - - - Interviewing ({applicantStats.interviewing}) - - - {applicants.filter(a => a.status === "interviewing").length === 0 ? ( -

No applicants

- ) : ( - applicants.filter(a => a.status === "interviewing").map((app: any) => ( -
-

{app.user?.name}

-

{app.opportunity?.title}

-
- )) - )} -
-
- - {/* Hired Column */} - - - Hired ({applicantStats.hired}) - - - {applicants.filter(a => a.status === "hired").length === 0 ? ( -

No applicants

- ) : ( - applicants.filter(a => a.status === "hired").map((app: any) => ( -
-

{app.user?.name}

-

{app.opportunity?.title}

-
- )) - )} -
-
-
+ ({ + id: a.id, + user: a.user, + opportunity: a.opportunity, + status: a.status || "applied", + rating: a.rating, + notes: a.notes, + applied_at: a.created_at, + }))} + title="Applicant Tracker" + description="Manage applicants and track them through your hiring pipeline" + onViewProfile={(applicantId) => { + navigate(`/applicants/${applicantId}`); + }} + onMessage={(applicantId) => { + navigate(`/applicants/${applicantId}/message`); + }} + onUpdateStatus={(applicantId, newStatus) => { + aethexToast({ + message: `Updated applicant status to ${newStatus}`, + type: "success", + }); + }} + accentColor="blue" + />
{/* Contracts Tab */}