Add dev seed data, batch status progress bar, pre-fill account from batch

Dev seed script creates 8 accounts, 8 members, 16 repair templates,
6 repair tickets in various statuses, and a school batch with 5
instruments. Run with bun run db:seed-dev.

Batch detail page now has a status progress bar matching the ticket
detail pattern. Add Repair from batch pre-fills the account and
contact name. New repair form reads accountId and contactName from
search params when linked from a batch.
This commit is contained in:
Ryan Moon
2026-03-29 14:04:02 -05:00
parent f7e78bec84
commit 55f8591cf1
5 changed files with 281 additions and 4 deletions

View File

@@ -12,6 +12,7 @@
"lint": "eslint src/",
"db:generate": "bunx drizzle-kit generate",
"db:migrate": "bunx drizzle-kit migrate",
"db:seed-dev": "bun run src/db/seeds/dev-seed.ts",
"db:seed": "bun run src/db/seed.ts"
},
"dependencies": {