deckhearth/pages
Randall Stillwell 603bf5bc89 🔒 Implement 'All My Cards' System Collection
 New Feature - Automatic System Collection:
- Every user gets an undeletable 'All My Cards' collection on registration
- Contains all cards marked as owned by the user
- Cannot be deleted, renamed, or made public
- Special 🔒 System indicator in the UI

🗃️ Database Changes:
- Added is_system_collection column to collections table
- Migration script created 'All My Cards' for all existing users (5 users)
- Automatic creation in registration API for new users

🛡️ API Protections:
- DELETE: System collections cannot be deleted
- PUT: System collections cannot be renamed or made public
- Added isSystemCollection field to API responses

🎨 Frontend Updates:
- System collections show 🔒 System badge
- Edit/Delete buttons hidden for system collections
- Special visual indicator for protected collections

🎯 Implementation Details:
- Unique slug generation (all-my-cards, all-my-cards-2, etc.)
- Proper permissions setup for each collection
- Error handling for edge cases
- Non-blocking registration if collection creation fails

Ready for users to have their automatic 'All My Cards' collection! 🚀
2025-07-27 15:17:51 -05:00
..
admin Fixed SSR and null user issues for production deployment 2025-07-24 17:04:06 -05:00
api 🔒 Implement 'All My Cards' System Collection 2025-07-27 15:17:51 -05:00
card 🔐 Fix Card Detail Page Authentication Issues 2025-07-26 00:32:58 -05:00
collection 🔐 Fix Authentication Issues in Collection Pages 2025-07-26 22:23:31 -05:00
community 🎨 Perfect Thumbnail Layout & Clean Up Debug 2025-07-27 14:48:42 -05:00
invite 🎉 COMPLETED: Full Collaborative Collections System 2025-07-25 08:34:28 -05:00
_app.js Major redesign: Enhanced card display with particle effects, improved filters, and search functionality 2025-07-23 21:26:54 -05:00
analytics.js Major redesign: Enhanced card display with particle effects, improved filters, and search functionality 2025-07-23 21:26:54 -05:00
cards.js Massive Performance Boost - Remove Heavy Hover Panels 2025-07-26 08:45:38 -05:00
collections.js 🔒 Implement 'All My Cards' System Collection 2025-07-27 15:17:51 -05:00
community.js Major redesign: Enhanced card display with particle effects, improved filters, and search functionality 2025-07-23 21:26:54 -05:00
dashboard.js 🎨 Restructured Layout System 2025-07-25 11:28:04 -05:00
decks.js Major redesign: Enhanced card display with particle effects, improved filters, and search functionality 2025-07-23 21:26:54 -05:00
index.js Major redesign: Enhanced card display with particle effects, improved filters, and search functionality 2025-07-23 21:26:54 -05:00
login.js 🎨 Restructured Layout System 2025-07-25 11:28:04 -05:00
logout.js 🎨 Restructured Layout System 2025-07-25 11:28:04 -05:00
profile.js 🎯 Build Comprehensive User Profile & Settings System 2025-07-26 18:05:55 -05:00
settings.js 🎯 Build Comprehensive User Profile & Settings System 2025-07-26 18:05:55 -05:00