deckhearth/api/admin
Randall Stillwell 7463551065 Move OCR settings to comprehensive user settings system
🏗️ User Settings System:
- Create comprehensive Settings page with tabbed interface
- Move OCR configuration from modal to dedicated settings tab
- Add API endpoints for user preferences (GET/PUT)
- Store settings in database user_preferences table with ocr_settings column
- Add Settings link to navbar user dropdown

⚙️ Settings Features:
- General tab: default view, items per page, theme, animations
- AI OCR tab: service selection, API keys, confidence threshold
- Privacy tab: public collections/decks defaults
- Real-time API key testing for OpenAI and Ollama
- Persistent storage in database instead of localStorage

🔄 Integration:
- Remove old OCRSettings modal from Scanner page
- Add Settings route to App.tsx routing
- Update navbar with Settings link in user dropdown
- Prepare for AI OCR service to read from user preferences

Next: Update AI OCR service to use saved user preferences instead of localStorage
2025-07-22 10:53:44 -05:00
..
promote-user.js Add debug logging to promote-user endpoint 2025-07-22 07:10:14 -05:00
update-preferences-schema.js Move OCR settings to comprehensive user settings system 2025-07-22 10:53:44 -05:00
users.js Fix admin users API endpoint 2025-07-22 07:36:37 -05:00