project-bifrost-platform/src/pages
Jonathan Hvid fe27811d16 chore(demo): seed-demo.js + utc fix for last_seen_at
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>
2026-05-11 15:04:11 +02:00
..
admin feat(admin): pulses, roadmap, events, activity tabs 2026-05-11 14:57:44 +02:00
api feat: join_requests table and join CTA flow 2026-04-19 20:29:09 +02:00
contribute/edit feat: contribute feed, reactions, and edit flow 2026-04-18 22:50:11 +02:00
invite feat: authentication and invite flow 2026-04-18 22:45:25 +02:00
updates chore: typecheck and build clean 2026-04-18 22:54:25 +02:00
account.astro feat: participants directory and account page 2026-04-18 22:51:30 +02:00
contribute.astro feat: contribute feed, reactions, and edit flow 2026-04-18 22:50:11 +02:00
council-manifesto.astro feat(nav): restructure header + add footer for council portal 2026-05-11 14:46:55 +02:00
index.astro feat(home): role-based / redirect via homeRouteForRole 2026-05-11 14:47:28 +02:00
login.astro feat: authentication and invite flow 2026-04-18 22:45:25 +02:00
product.astro feat: product page with architecture and platform framing 2026-04-19 20:31:51 +02:00
pulse.astro chore(demo): seed-demo.js + utc fix for last_seen_at 2026-05-11 15:04:11 +02:00
roadmap.astro feat: roadmap 2026-04-18 22:47:38 +02:00
style-guide.astro docs: add editorial patterns (pulled quote, stat figure, arch diagram) to style guide 2026-04-19 20:28:10 +02:00
vision.astro feat: vision page as manifesto 2026-04-19 20:30:57 +02:00