Demo mode and analytics polish

launch

2025-12-25 · mystockaid

Big day on heeler. Stood up a full demo mode with a 1,168-line seed script that builds out Acme Stockyards (Demo): 85 clients with plausible Panhandle addresses, three livestock types with breeds and grades, fee templates, banking config, and roughly 15,000 head of livestock spread across a year of purchase and sale tickets with realistic status decay. Also redesigned the tickets page with a collapsible header, added advanced filtering on tickets/livestock/clients, fixed pagination and fees analytics, reorganized the analytics nav, dropped commission out of revenue charts, optimized analytics queries with new indexes (had to strip CONCURRENTLY for Prisma's sake), and refactored decimal serialization to use numbers via superjson. Two new GitHub Actions workflows wire up demo validation and a manually triggered reseed. Over on stockly-landing, swapped the testimonials block on the Heeler page for a proper demo callout pointing at the new demo dashboard, and fixed nav anchor links so they work from subpages. 35 commits in one repo is a lot of small fires plus one real feature, and the seed script is the kind of thing that's going to need babysitting the first few times it runs in CI.

38 commits across 2 repos (stockly-landing: 3, heeler: 35). 117 files changed; 1 skipped. Diff was truncated for summarization.