10 Commits

Author SHA1 Message Date
Avery Felts
79377fb210 Fix: Runtime VAPID key fetching to avoid build-time environment dependency 2026-01-31 18:05:10 -07:00
Avery Felts
39c8e92f92 Fix duplicate notifications and improve push titles 2026-01-27 17:43:34 -07:00
Avery Felts
cec4096e1f Fix push notifications: Edge runtime compatibility, minute-precision hourly reminders, and timezone sync 2026-01-27 16:47:51 -07:00
Avery Felts
9f0eb9a5bd Add hourly time picker range and update notification logic 2026-01-27 14:26:24 -07:00
Avery Felts
197364e11d Add synthesized bubble pop sound to notifications 2026-01-27 14:18:00 -07:00
Avery Felts
60affa9a77 Fix immediate achievement celebration and reliable notification delivery 2026-01-27 14:05:40 -07:00
Avery Felts
bf9da84553 fix: Replace Prisma with native D1 and fix timezone issues
- Created native D1 database layer (src/lib/d1.ts) to bypass Prisma fs.readdir issues
- Updated all API routes to use direct D1 queries
- Added date-utils.ts with local date helpers to fix UTC timezone mismatch
- Calendar now correctly colors today's usage
- Data persists correctly across page refreshes
2026-01-25 18:10:04 -07:00
Avery Felts
14c45eeb24 feat: Add D1 database integration with proper Cloudflare Workers support
- Update prisma.ts to use getPrismaWithD1() with getCloudflareContext()
- Update all API routes to use async D1 connection
- Add open-next.config.ts for Cloudflare Workers deployment
- Add wrangler.jsonc with D1 binding and custom domain routes
- Fix TypeScript type errors in API routes and storage
- Add @workos-inc/authkit-nextjs dependency
- Remove incompatible prisma.config.ts
2026-01-25 17:21:36 -07:00
Avery Felts
4ad4bd0884 feat: add daily religious verse placard with user preference support 2026-01-25 10:31:27 -07:00
Avery Felts
54b7a294f5 Add achievements, health timeline, savings tracker, and reminders features
- Achievements system with 6 badges and confetti celebration animation
- Health recovery timeline showing 9 milestones from 20min to 1 year
- Money savings tracker with cost configuration and goal progress
- Daily reminder notifications with browser permission handling
- New Prisma models: Achievement, ReminderSettings, SavingsConfig
- API routes for all new features
- Full dashboard integration with staggered animations

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 11:38:46 -07:00