feat: add user settings save and reading plans with progress tracking
User Settings: - Add /api/user/settings endpoint for persisting theme and fontSize preferences - Update settings page with working save functionality - Add validation and localized error messages Reading Plans: - Add database schema with ReadingPlan, UserReadingPlan, and UserReadingProgress models - Create CRUD API endpoints for reading plans and progress tracking - Build UI for browsing available plans and managing user enrollments - Implement progress tracking with daily reading schedule - Add streak calculation and statistics display - Create seed data with 5 predefined plans (Bible in 1 year, 90 days, NT 30 days, Psalms 30, Gospels 30) - Add navigation link with internationalization support Technical: - Update to MUI v7 Grid API (using size prop instead of xs/sm/md and removing item prop) - Fix Next.js 15 dynamic route params (await params pattern) - Add translations for readingPlans in all languages (en, ro, es, it) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
"prayers": "Prayers",
|
||||
"search": "Search",
|
||||
"bookmarks": "Bookmarks",
|
||||
"readingPlans": "Reading Plans",
|
||||
"profile": "Profile",
|
||||
"settings": "Settings",
|
||||
"logout": "Logout",
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"prayers": "Oraciones",
|
||||
"search": "Buscar",
|
||||
"bookmarks": "Marcadores",
|
||||
"readingPlans": "Planes de Lectura",
|
||||
"profile": "Perfil",
|
||||
"settings": "Configuración",
|
||||
"logout": "Cerrar sesión",
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"prayers": "Preghiere",
|
||||
"search": "Cerca",
|
||||
"bookmarks": "Segnalibri",
|
||||
"readingPlans": "Piani di Lettura",
|
||||
"profile": "Profilo",
|
||||
"settings": "Impostazioni",
|
||||
"logout": "Disconnetti",
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"prayers": "Rugăciuni",
|
||||
"search": "Căutare",
|
||||
"bookmarks": "Favorite",
|
||||
"readingPlans": "Planuri de Lectură",
|
||||
"profile": "Profil",
|
||||
"settings": "Setări",
|
||||
"logout": "Deconectare",
|
||||
|
||||
Reference in New Issue
Block a user