A recruiter's pipeline board for the HireFlow GraphQL API: drag candidates through hiring stages, watch changes arrive live, and see who fits which role.
Built with React 19, TypeScript, urql and GraphQL Code Generator.
Runs entirely in your browser. No sign-up, no server.
| π¨ Industrial design language | Navy masthead, condensed Barlow display type, hairline rules, blueprint corner marks and staggered entrance motion (reduced-motion aware), all from semantic tokens with a hand-tuned dark theme. |
| ποΈ Drag-and-drop pipeline | Move candidates between stages with dnd-kit. Valid target columns light up while you drag; invalid ones dim. |
| π§― Server-driven rules | The board doesn't hard-code the hiring rules. Each card carries allowedNextStages from the API, and an illegal drop shows the API's own typed InvalidStageTransitionError. |
| π‘ Live updates | A GraphQL subscription over graphql-ws pushes stage changes; open two tabs and watch one update the other. |
| π End-to-end types | Every query is checked against the API's schema.graphql at build time, and the results are fully typed. CI fails if the generated types drift. |
| π― Skill matching | Cards and profiles show 5-segment skill-match meters, matched/missing skills and ranked job recommendations from the API. |
| β±οΈ Pipeline health | Numbered stage counters with stage-to-stage conversion, days-in-stage on every card, and a stalled flag for applications untouched for over a week. |
| β¦ AI copilot | A side panel backed by HireFlow Copilot (Claude + RAG). Answers cite the HireFlow records they come from, and each citation links to that job or candidate. Changes the agent proposes wait for you to click Apply, which runs moveApplication or scheduleInterview with the app's own session. |
| π§ͺ Demo mode | The real HireFlow schema executes in the browser against sample data, so the public demo works without a backend while using the same operations, paging, filtering and errors. |
| βΏ Accessible | Every drag has a keyboard/menu alternative; columns, meters and charts carry labels and a screen-reader table. |
| π Light & dark | Semantic colour tokens with a system/light/dark toggle. |
The copilot ranking the Senior .NET pipeline, with citations back to each application
git clone https://github.com/AutumnTrace/hireflow-web.git
cd hireflow-web
npm install
npm run devOpen http://localhost:5173. It starts in Demo mode, with nothing else to run.
- Run the HireFlow API on port 5230:
dotnet run --project src/HireFlow.Api --launch-profile http
- In the web app, click Demo data β β Live API β leave the URL empty β Save.
The Vite dev server proxies /graphql (HTTP and WebSocket) and /auth to the API, so no CORS setup is needed in development. The app signs in through the API's development token endpoint as a demo recruiter.
To point at an API on another origin, enter its URL in settings and add this site to the API's
Cors:AllowedOrigins.
In Demo mode, the β¦ Copilot panel replays real answers that Claude gave about this exact demo dataset (recorded with the copilot's scripts/record_answers.py). It shows the recording date, and Apply on a proposed move changes the in-browser board for real. Nothing calls an AI service, so the public demo costs nothing to run.
In Live API mode, it calls a running HireFlow Copilot and takes any question:
# in hireflow-copilot, with ANTHROPIC_API_KEY in .env
COPILOT_SOURCE=graphql COPILOT_HIREFLOW_URL=http://localhost:5230/graphql uv run hireflow-copilotThe copilot URL (default http://localhost:8000) is under Live API in settings. After you apply a change, the panel asks the copilot to re-index, so its next answer sees the new stage.
The demo dataset is shared with the copilot through
scripts/export-demo-data.ts, so names, stages and application ids in recorded answers match the board.
flowchart LR
subgraph browser["Browser"]
ui["React pages<br/>(jobs Β· pipeline Β· candidates Β· interviews)"]
urql["urql client<br/>document cache"]
ui -- "typed documents<br/>(codegen)" --> urql
end
subgraph live["Live API mode"]
api["HireFlow API<br/>.NET 10 Β· Hot Chocolate"]
end
subgraph demo["Demo mode"]
exec["executeExchange"]
schema["HireFlow schema.graphql<br/>+ in-memory resolvers"]
exec --> schema
end
urql -- "HTTP queries & mutations" --> api
urql -- "graphql-ws subscriptions" --> api
urql -. "same operations,<br/>no network" .-> exec
- One contract.
schema.graphqlis synced from the API repo (npm run schema:pull). Codegen checks every operation against it, and demo mode executes the same SDL, so demo and live behaviour can't drift silently. - Demo backend (
src/demo):@graphql-tools/schemamakes the SDL executable over a deterministic dataset. A small interpreter (query.ts) implements Hot Chocolate'swhere/order/cursor-paging conventions, and the resolvers mirror the API's state machine and typed errors. It's lazy-loaded, so live mode never downloads it. - Moves call the
moveApplicationmutation. Valid moves update the card immediately, then the job is refetched for fresh funnel counts. If the API returns a typed error, the card snaps back and a toast shows the server's message.
Building the client surfaced two real API issues, which were fixed upstream:
- hireflow#9: Hot Chocolate had inferred a domain method as a query field (
JobApplication.moveTo). Code generation exposed it. Also added CORS for browser clients. - hireflow#10: filtered queries that pass
whereas a variable were rejected by cost analysis (cost 4,777 vs. a 1,000 limit). Hot Chocolate prices filter variables at 5Γ their worst case. The fix tunes the multiplier and budget, with regression tests that replay this app's queries.
The job board also requests a fixed page size (first: 12, with Load more) so the server can price each request accurately.
src/
βββ api/ # Data source settings, live urql client (HTTP + graphql-ws), dev sign-in
βββ copilot/ # Copilot panel: API client, recorded answers, Markdown-subset + citation renderer
βββ demo/ # In-browser HireFlow: dataset, executable schema, filter/sort/paging interpreter
βββ features/
β βββ jobs/ # Job board, job detail, stage strip, pipeline board, live activity feed
β βββ candidates/ # Candidate list, profile, skill-match meter
β βββ interviews/ # Agenda and recent feedback
βββ components/ # Layout, settings dialog, toasts, UI primitives
βββ lib/ # Stage metadata, formatting helpers
βββ gql/ # Generated typed documents (do not edit)
e2e/ # Playwright specs (desktop + mobile)
schema.graphql # API contract, synced from AutumnTrace/hireflow
| Command | What it runs |
|---|---|
npm run lint |
oxlint with React, a11y and Vitest rules |
npm run typecheck |
TypeScript (strict) |
npm test |
Vitest + Testing Library: demo schema rules, filter/paging interpreter, board behaviour, job board against the demo API, copilot rendering and replay |
npm run test:e2e |
Playwright against the production build: real mouse drags, illegal-move errors, filters, profiles, settings, copilot citations and applying a proposal, mobile viewport |
npm run codegen |
Regenerate typed documents (CI fails if src/gql is stale) |
npm run schema:pull |
Fetch the latest API schema and regenerate |
CI runs all of the above on every PR, and every push to main deploys the demo to GitHub Pages.
- Candidate and job creation forms (
registerCandidate,createJobPosting) - Schedule interviews from a card
- Optimistic updates through urql Graphcache
- Real OIDC sign-in, replacing the dev token endpoint
MIT Β© Mina Rotari





