Implement comprehensive prayer writing and AI generation interface

- Add authentication-gated prayer creation with dual-mode interface
- Implement tabbed dialog: "Write Prayer" and "AI Generate" options
- Create AI prayer generation API endpoint with bilingual support (EN/RO)
- Add category-specific prayer templates with user prompt integration
- Include proper authentication checks and user-based prayer attribution
- Enhance UX with loading states, success feedback, and guided prompts
- Fix missing searchTypes translations in English locale for search functionality
- Restrict prayer creation to logged-in users with appropriate visual feedback
- Support both manual composition and AI-assisted prayer creation workflows

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
andupetcu
2025-09-21 22:12:26 +03:00
parent 508ab20725
commit 6492601355
3 changed files with 318 additions and 43 deletions

View File

@@ -247,7 +247,11 @@
"copyVerse": "Copy verse",
"goTo": "Go to",
"addBookmark": "Add bookmark",
"removeBookmark": "Remove bookmark"
"removeBookmark": "Remove bookmark",
"searchTypes": {
"anyWords": "Any words",
"exactPhrase": "Exact phrase"
}
}
},
"auth": {