Add to job popover
Adds one or more people to a job: pick the job and the stage they land at, then confirm. Optionally, have them assessed instead.
What it shows
Adds people to a job, at a stage.
Props
| Prop | Type | What it does |
|---|---|---|
jobs (required) | readonly CandidateAddToJobOption<TJob>[] | The jobs people can be added to, in order. |
stages (required) | readonly CandidateAddToJobOption<TStage>[] | The stages they can land at, in order. |
defaultStage | TStage | The stage picked each time the popover opens. Defaults to the first stage, as does a value stages doesn't list. |
defaultJob | TJob | The job picked each time the popover opens, such as a suggested match. A value jobs doesn't list, such as a job the person was just added to and the host has since left out, counts as no pick. |
count | number | How many people this adds; the default heading says so when it is more than one. |
onConfirm (required) | (job: TJob, stage: TStage) => void | Promise<void> | Adds the people to the picked job at the picked stage. The popover closes once it settles; if it throws, it stays open with its choices, so report the failure here. |
assessors | readonly CandidateAddToJobOption<TAssessor>[] | Who or what can assess people for the job instead of a stage being set, such as a screening checklist. With onAssess, a toggle offers this second mode. |
onAssess | (job: TJob, assessor: TAssessor) => void | Promise<void> | Adds the people to the job and has the picked assessor assess them. |
assessIcon | ElementType | The assess mode's glyph, on its toggle and submit button. |
trigger | ReactNode | The element that opens the popover. Defaults to an outline "Add to job" button. |
align | "start" | "center" | "end" | Where the popover lines up with its trigger. Defaults to start. |
empty | CandidateEmptyCopy | The empty state inside the job select when there are no jobs. |
labels | Partial<CandidateAddToJobPopoverLabels> |
Data it needs
The component takes plain values and callbacks and keeps no records of its own. Pass it yours, from the Kith data layer or from a backend you already run.
Copy to your agent
Install RecruiterOS/recruit-ui and add an add to job popover that picks the job and the stage.Pipeline board
A job's pipeline as a board: a column for each stage and a card for each person, moved by a drag or from the card's move menu, with each move saved by your app.
Search progress
Where a search stands, for the person it is run for: its steps in order, each done, in progress or still to come, with the current step's next action under it.