Project case study

Product engineering / 2026

Proofline

Every job. Every proof. One board.

A job tracker for a sign and print shop: a production board shaped by each person’s role, proof approval from a link with no account, and a manager dashboard that points to the next step.

Explore live project
Project
Self-initiated product
Role
Product Design + Full-Stack Development
Built with
Next.js 16 · React 19 · TypeScript · Firebase · Playwright
Code
View on GitHub ↗
One proof, start to finish: the shop sends it, the customer approves it, and the job lands on the print floor.

01 / The brief

Built from the shop floor.

I spent five years in sign and print production. Most of the lost time I saw came from two questions: where is this job, and has the customer approved the proof yet? The answers lived in a whiteboard, an inbox and someone’s memory.

Proofline is a job tracker for a fictional shop, Copperline Signs & Print. Every job moves through one board, from intake to pickup. Customers approve proofs from a link, and the shop manager gets a weekly view of what is late and why.

02 / The key decision

One rules table for the screens and the database.

A shop has four kinds of people at the board: front counter, designers, production and the manager. Each should only move the work that is theirs. If the screens and the database each kept their own idea of who can do what, the two would drift apart.

So the rules live in one table. The board reads it to decide which buttons a card shows and which columns a person sees first. The Firestore security rules mirror the same table, and a test checks every possible move for every role against both. When someone can’t make a move, the card says whose move it is.

src/lib/roles.ts ↗
const ROLE_MOVES = {
  counter:    [['intake', 'proofing'], ['ready', 'picked-up'], ['picked-up', 'ready']],
  designer:   [['proofing', 'awaiting-approval'], ['proofing', 'intake']],
  production: [['printing', 'finishing'], ['finishing', 'quality-check'], /* … */]
};

export function checkRoleMove(role: Role, job: Job, to: Stage): MoveCheck {
  const shop = checkMove(job, to);          // the shop's own rules first
  if (!shop.ok || role === 'manager') return shop;
  const allowed = ROLE_MOVES[role].some(([from, t]) => from === job.stage && t === to);
  return allowed ? { ok: true }
    : { ok: false, reason: `That move belongs to ${ownerOfMove(job.stage, to)}.` };
}
A designer’s view of the board: Proofing cards have Intake and Send proof buttons, Awaiting approval cards have Open proof, and Printing cards have no buttons, only the note Next move: Production
A designer’s view. Their cards have buttons; production’s cards say whose move is next.

03 / Customer proofs

No account needed to approve a proof.

Customers shouldn’t have to create an account to approve a yard sign. Each proof goes out as a signed link that works for one round of one job and expires after 14 days.

The server checks the signature, the expiry and the round. If the shop has sent a newer proof, an old link says so instead of approving the wrong version. The proof is drawn to scale with the trim edge and safe area marked, and customers confirm they have checked spelling, size and colors before they approve.

src/lib/proof-link.ts ↗
export function newProofLink(jobId: string, version: number, secret: string,
                             now = Date.now(), days = 14): string {
  return signProofLink({ jobId, version, expiresAt: now + days * DAY }, secret);
}

// Verifying: compare signatures in constant time, then check the expiry.
if (expected.length !== given.length || !timingSafeEqual(expected, given))
  return { ok: false, reason: 'bad-signature' };
if (now > expiresAt) return { ok: false, reason: 'expired' };
Customer proof page for Community yard sale signs: a 24 by 18 inch layout drawn to scale, with the trim edge and the safe area marked
The customer’s proof: drawn to scale, with the trim edge and safe area marked.

04 / On a phone

Most customers answer from their phone.

The proof page is built phone first, with thumb-sized buttons and the decision at the end of a short scroll. On a desktop it sits centered like a letter, because it is the only screen a customer ever sees.

Proofline customer proof page on a phone with the yard sign layout and job details
Phone: the customer’s proof page
Proofline production board on a phone
Phone: the production board

05 / Manager dashboard

Numbers with a next step.

The dashboard answers the questions a manager asks at the morning huddle: how much is late, where the work is piling up, who is overloaded and which jobs keep going back for more proof rounds.

Each stage has a color for who owns the next move, but the color never works alone; it always sits beside the stage name. The bar chart uses a single ink, because those owner colors failed a color-blindness check as a chart palette. Every late job in the list says whose move it is.

Proofline manager dashboard with open, late and waiting job counts, work by stage, designer load and a list of jobs needing attention
The week at a glance: late work, bottlenecks, designer load and jobs that need a call.

06 / Verification

Every push runs the whole suite.

GitHub Actions runs three layers on every push. 63 Vitest tests cover the shop workflow, role rules, dashboard math, proof links and the data conversion to and from Firestore. 14 Playwright tests click through the real build on desktop and phone: sending and approving proofs, each role’s view, keyboard focus after a move, and an axe-core accessibility scan of every screen. Any console error fails a test.

The third layer runs the Firestore security rules in the emulator, trying every move as every role. Its first run caught a test that the sample data had fooled: it “changed” a job to rush that was already rush. I fixed the test so it flips the value instead.

Loading Firebase only in live mode cut the demo’s JavaScript from 1.3 MB to 573 KB. The public demo runs on sample data in your browser, so anyone can try it without signing in; live mode switches on with the shop’s own Firebase settings. Copperline, its staff and customers are fictional.

Next: pilot live mode with a real shop for a week, starting with the people I used to work beside.

Explore the work

Run the shop for a minute.