recruit/job-brief-changes · JobBriefChanges

Job brief changes

What one version of a job's brief changed, for under its card: a quiet line per change, a list's many entries in one line, the first three lines shown and the rest folded.

Founding GTM Engineer · Example Labs

v3 · Current
The first GTM engineer at Example Labs: build the outbound system, run it, and hand it to the team you hire.
Location
London · hybrid, two days a week
Salary
£90,000–£110,000
Must-haves
  • Built outbound from scratch
  • Writes production code
  • Seed or Series A experience
Location: London · hybrid → London · hybrid, two days a weekAdded 5 target companies: Sample Analytics, Fictional Robotics, Example Ledger Co and 2 moreAdded must-have: Seed or Series A experience

Install

With your coding agentInstall RecruiterOS/recruit-ui and add what each version changed under my job brief card.
With the shadcn CLIpnpm dlx shadcn@latest add RecruiterOS/recruit-ui/recruit-workflows

Props

PropTypeWhat it does
changesrequiredreadonly JobBriefChange[]What the version changed, in the order it was made, as display values: map your own record of each change onto `JobBriefChange`.
versionnumberThe version these changes made, which names the group ("What changed in v3").
previewCountnumberHow many changes show before the rest fold under "N more changes". Defaults to 3.
groupAbovenumberHow many entries one list can gain, or lose, before they read as one line ("Added 12 target companies: …", `groupJobBriefChanges`). Defaults to 3; `Infinity` keeps a line for every change.
labelsPartial<JobBriefChangeLabels>Any of the wording in `jobBriefChangeLabels`: the lines, the toggle and the group's name.

Data

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.