Randall Stillwell
8827d7b20c
fix(api): validate quantity on POST /api/user-cards
...
Match decks handler parseInt/NaN guard so non-numeric quantities cannot
corrupt user_cards row counts from scanner add paths.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-27 14:23:33 -05:00
varutasu
673af83519
feat(scanner): persist scan captures to Blob (Brief 3) ( #44 )
...
Upload confirmed scan frames to Vercel Blob and store the URL on user_cards
when routing to owned cards, completing the redesign-scanner-flow convoy.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-27 13:57:26 -05:00
Randall Stillwell
afb79c57d9
✨ Major Scanner Improvements
...
🔧 Gemini AI Integration:
- Added Google Gemini API as default OCR service
- Auto-configures from GEMINI_AI_API_KEY environment variable
- Fixed Puter.js authentication issues
- Enhanced OCR settings with connection testing
🎨 Redesigned Scanner Queue:
- New thumbnail + content layout with checkbox overlay
- Smart quantity management (duplicates increment quantity)
- Complete card information display from database
- Two-row action layout (primary/secondary actions)
- Floating bottom toolbar for bulk actions
- Real card images from database
�� Enhanced User Experience:
- Fixed Canvas2D performance warnings
- Better error handling and fallbacks
- Improved responsive design
- Database confirmation indicators
- Professional card scanning workflow
📱 Mobile Ready:
- Optimized layouts for mobile scanning
- Touch-friendly controls and interactions
- Improved visual feedback and status indicators
2025-07-29 14:19:48 -05:00
Randall Stillwell
7be41b4490
Clean slate: Remove React traces and create pure Next.js setup
2025-07-23 09:32:31 -05:00
Randall Stillwell
41a7eeef12
Fix API import paths and convert to Next.js Pages API format
2025-07-23 08:40:30 -05:00
Randall Stillwell
2cc332e0a0
Move API routes to pages/api/ for proper Next.js structure
2025-07-23 08:27:14 -05:00