Skip to content

Admin Candidates

CandidatesTable

File: apps/admin/src/app/components/CandidatesTable.tsx

A compact table showing applicants for a specific job posting.

Shared UI Used

ComponentImport Source
Table, TableHeader, TableBody, TableRow, TableHead, TableCell@prosper/shared/components/ui/table

Columns

ColumnWidthContent
Name140pxCandidate full name
Date Applied120pxFormatted date
SummaryautoResume summary (truncated)
Actions72pxStar toggle, select toggle icons

Interactions

  • Row click: navigates to CandidateInfoPage
  • Star icon: toggles starred state
  • Select icon: toggles selected/shortlisted state
  • Hover: blue highlight (bg-[#edf5ff])

ApplicantList

File: apps/admin/src/app/components/ApplicantList.tsx

A card-based list view for applicants with sorting and filtering.

Shared UI Used

ComponentImport Source
Card, CardContent, CardHeader, CardTitle, CardDescription@prosper/shared/components/ui/card
Button@prosper/shared/components/ui/button
Badge@prosper/shared/components/ui/badge
Select, SelectTrigger, SelectContent, SelectItem, SelectValue@prosper/shared/components/ui/select

Sort Options

  • Relevance (default) — by relevanceScore descending
  • Date — by appliedAt descending
  • Starred — starred first, then by relevance

Relevance Badge Mapping

ScoreVariantLabel
>= 80defaultHigh Match
>= 60secondaryMedium Match
< 60outlineLow Match

CandidateInfoPage

File: apps/admin/src/app/components/CandidateInfoPage.tsx

A detailed profile view for an individual candidate.

Sections

  1. Header — Name, email, location, applied date
  2. Documents — Resume and cover letter download pills
  3. Professional Links — LinkedIn, portfolio URLs
  4. Additional Details — Work authorization, sponsorship, relocation, reference consent
  5. Why Interested — Free-text response
  6. AI ChatProsperChatPanel for AI-assisted candidate review

Custom Components (not using shared UI)

  • FilePill — A styled download link for resume/cover letter files
  • SectionHeading — Uppercase label used to title each section