deckhearth/pages/api/cards
Randall Stillwell 4689424f3a 🔧 Fix System Collections & Database Schema Issues
🐛 Database Schema Fixes:
- Removed non-existent 'updated_at' column from collection_cards operations
- Fixed SQL queries in card ownership API and seeding scripts
- Resolved column does not exist errors

🚫 Hide System Collections from Selection:
- Added 'excludeSystem' parameter to /api/collections endpoint
- Updated CollectionSelectionModal to exclude system collections
- 'All My Cards' no longer appears in card addition modals

 Enhanced System Collection Styling:
- Upgraded system collection badge with gradient styling
- Added 🔒 SYSTEM badge with blue-purple gradient
- Added informative tooltip: 'Automatically syncs with your owned cards'
- Made system collections visually distinct and educational

🎯 User Experience Improvements:
- System collections are now clearly identified as special
- Users understand they can't manually add cards to system collections
- Better visual hierarchy and information architecture
- Automatic sync behavior is now clearly communicated

Card ownership should now work without errors! 🚀
2025-07-27 19:17:55 -05:00
..
[id] 🔧 Fix System Collections & Database Schema Issues 2025-07-27 19:17:55 -05:00
[id].js Created comprehensive admin card editor 2025-07-24 15:16:57 -05:00
import-lorcana.js Add real Lorcana import using Lorcast API 2025-07-24 12:27:10 -05:00
import-mtg.js Major redesign: Enhanced card display with particle effects, improved filters, and search functionality 2025-07-23 21:26:54 -05:00
import-pokemon.js Fix import issues: Add retry logic and better error handling 2025-07-24 10:30:21 -05:00
search.js 🔧 Fix Database Schema Mismatch in Cards API 2025-07-26 10:27:45 -05:00