26 Commits

Author SHA1 Message Date
Avery Felts
3d6d0c2cbe Make QuitTraq logo stand out more in header 2026-01-27 23:45:27 -07:00
Avery Felts
184936e895 Update fog transparency to 30% 2026-01-27 23:42:24 -07:00
Avery Felts
3b1736f828 Smooth out fog edges with blur and cap transparency at 20% 2026-01-27 23:39:25 -07:00
Avery Felts
5dedd4c1d5 Fix cron deployment by isolating config and boost fog visibility 2026-01-27 23:33:31 -07:00
Avery Felts
9201171936 Boost header fog visibility and speed 2026-01-27 23:25:33 -07:00
Avery Felts
3e0019e703 Replace PNG fog with procedural SVG animation 2026-01-27 20:32:10 -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
9967399145 Update UserHeader with dropdown time picker and fix imports 2026-01-27 14:23:21 -07:00
Avery Felts
431966a634 feat: add daily/hourly notification frequency and cloudy header effect 2026-01-27 09:31:01 -07:00
Avery Felts
68898cb8cd feat: Add Smoking Aids page with Amazon affiliate products and update navigation 2026-01-27 08:41:14 -07:00
Avery Felts
29c11fcaa5 feat: Add PWA auto-prompt and header edge blur effect
- Usage prompt auto-shows when app accessed as home screen shortcut (PWA mode)
- Added blur gradient overlay below header for smooth scroll fade effect
2026-01-25 18:27:02 -07:00
Avery Felts
7dd5e6359a feat: Remove Muslim and Jewish options, keep only Christian (KJV) and Secular quotes 2026-01-25 18:18:35 -07:00
Avery Felts
8d79f63232 Cleanup header navigation: remove redundant dashboard link from profile menu 2026-01-24 13:20:52 -07:00
Avery Felts
4d65ac0360 Refactor header navigation to hamburger menu 2026-01-24 13:17:23 -07:00
Avery Felts
edfc978217 Optimize performance, fix theme consistency, and improve notification UX 2026-01-24 13:11:43 -07:00
Avery Felts
2491c79b0a Improve achievements, move reminders to header, and reset health timeline on usage 2026-01-24 12:00:22 -07:00
Avery Felts
45bcad9788 Add UI polish: animations, mobile responsiveness, and visual enhancements
- Update daily quotes to 36 curated motivational quotes from notable figures
- Add entrance animations (fade-in, slide-in, scale-in) with staggered delays
- Add hover effects on cards and buttons with smooth transitions
- Improve mobile responsiveness: stacking layouts, responsive text, touch targets
- Enhance glassmorphism with stronger blur and gradient orbs on cards
- Add gradient logo for QuitTraq branding
- Improve quote section with decorative elements and inner glow
- Refine streak celebrations and weekly target indicators
- Update background with multiple color gradient spots

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 11:18:38 -07:00
Avery Felts
fac443c281 Add dark/light theme toggle with adaptive styling
Implement theme context provider with localStorage persistence and add
toggle button to header. Update Dashboard, StatsCard, QuitPlanCard,
SubstanceTrackingPage, and UsageCalendar components with theme-aware
gradients and colors. Also add daily inspirational quotes to calendar
and fix usage prompt to only show once per day.
2026-01-24 03:17:09 -07:00
Avery Felts
f82c88f892 Change header banner to black/dark blue gradient
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 01:38:42 -07:00
Avery Felts
b15f9a3c8e Fix stats card text to white and improve dropdown menu visibility
- Update stats card text to white for better visibility
- Add chevron down icon to dropdown trigger for clearer interaction
- Style dropdown menu with dark background and proper z-index
- Improve dropdown menu item hover states
- Make dropdown trigger more visible with background

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 01:24:56 -07:00
Avery Felts
4a26c1ccdc Add dual substance tracking with dedicated pages and enhanced UI
- Add dropdown menu on profile icon with navigation options
- Create separate tracking pages for Nicotine and Marijuana
- Add interactive usage trend graphs using recharts
- Update Log Usage button to prompt for substance selection each time
- Update calendar to show different colors:
  - Gray: No usage
  - Red: Nicotine only
  - Green: Marijuana only
  - Split red/green: Both substances
- Add substance-specific stats cards on dashboard
- Add inspirational message "One day at a time..." on tracking pages
- Show both substance counts in calendar day cells

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 01:20:59 -07:00
Avery Felts
750c5af465 Switch from localStorage to SQLite database for persistent storage
- Add Prisma ORM with SQLite for server-side data persistence
- Create UserPreferences and UsageEntry models
- Add API routes for preferences and usage data CRUD operations
- Update storage.ts to use fetch API calls instead of localStorage
- Update components to use async data fetching
- Data now persists across devices for each user account

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 01:08:10 -07:00
Avery Felts
39a1e858fb Fix per-user data isolation by passing userId explicitly to all storage operations
- Pass user.id explicitly to all storage function calls instead of relying on global state
- Add userId prop to UsageCalendar and UsagePromptDialog components
- Fix UserHeader to use user.id when fetching preferences
- Add refreshKey to force calendar re-render after logging usage

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 22:01:16 -07:00
Avery Felts
9918432686 Update UI and add user personalization features
- Rename app from QuitTrack to QuitTraq
- Add metallic dark gradient background
- Change header to light purple gradient
- Add name and age collection in setup wizard
- Display personalized "Welcome {name}, you got this!" message
- Hide username/email, show only profile picture
- Change calendar to red gradient for usage days
- Update logging prompt to "just took" instead of daily total
- Add floating "Log Puff" button for easy access
- Fix calendar editing to properly update values
- Add glass-morphism effect to cards

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 21:40:59 -07:00
Avery Felts
a812e6342c Implement QuitTrack smoking cessation tracking app
- Add WorkOS SSO authentication (Google and Apple sign-in)
- Add daily usage tracking with calendar view
- Add setup wizard for substance selection (nicotine/cannabis)
- Add daily check-in prompt on login
- Add statistics dashboard (daily avg, streak, etc.)
- Add quit plan generation after 7 days of tracking
- Apply custom theme from brief.md
- Add "stay logged in" preference

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 21:25:01 -07:00