No description
scripts/seed-demo.js — one open Pulse with realistic context, marks "Traceability layer" as shipping with shipped_at -2 days and attributes it to the cab user, two events (dinner in 5 weeks, office hours in 2 weeks), six hand-crafted activity rows mixing all 5 activity kinds so the ticker has something to scroll on first load. Idempotent: skips if any pulses exist. Backdates Lars's cab_joined_date so the greeting renders "2 years, 4 months". Wired to db:setup and db:seed:demo. Also fixes a parse bug on /pulse: SQL stores last_seen_at as 'YYYY-MM-DD HH:MM:SS' UTC, but new Date(string) parses that as local time — on a non-UTC server the freshness check was wrong by the server's offset. Coerce to UTC ISO before parsing. Manual smoke as Lars now shows two member chips in "online now"; admin tabs all render. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| content | ||
| design | ||
| migrations | ||
| public | ||
| scripts | ||
| src | ||
| tests | ||
| .env.example | ||
| .gitignore | ||
| astro.config.mjs | ||
| CLAUDE.md | ||
| DECISIONS.md | ||
| HANDOVER.md | ||
| KNOWN_ISSUES.md | ||
| package.json | ||
| pnpm-lock.yaml | ||
| SPEC.md | ||
| tsconfig.json | ||
| vitest.config.ts | ||