Overview
AniDev’s collection system helps you organize your anime watching experience. Track what you’re watching, what you’ve completed, and what you plan to watch next.Collection Types
AniDev provides four distinct collection categories to organize your anime library:To Watch
Plan your future viewing with a curated list of animes you want to watch.
Collection
Your main anime collection - a comprehensive list of animes you’re tracking.
Completed
Track animes you’ve finished watching from start to end.
Watching
Currently watching animes with active progress tracking.
Managing Your Lists
The collection system is powered by a Zustand store that manages list state across the application.List Structure
Store:src/domains/user/stores/user-list-store.ts
Switching Between Lists
Select a Collection Tab
Click on any of the four collection tabs:
- To Watch: Animes on your watchlist
- Collection: Your main anime library
- Completed: Finished animes
- Watching: Currently active animes
Adding Anime to Collections
Add animes to your collections from anywhere in the app.Find an Anime
Browse animes from:
- Homepage recommendations
- Search results at
/search - Anime detail pages at
/anime/[slug] - Schedule calendar at
/schedule
Select Collection Type
Click the collection button on the anime card or detail page. Choose which list to add it to:
- To Watch
- Collection
- Completed
- Watching
Add to Watch List API
Service:src/domains/user/services/watch-list.ts
type parameter determines which collection the anime is added to:
"to_watch"- To Watch list"collection"- Main Collection"completed"- Completed list"watching"- Currently Watching
Removing Anime from Collections
Remove animes you’re no longer interested in tracking.Navigate to Collection
Go to your profile and select the collection containing the anime you want to remove.
Remove Anime
Click the remove or delete button on the anime card. Confirm the removal when prompted.
Remove from Watch List API
Service:src/domains/user/services/watch-list.ts
Progress Tracking
For animes in your “Watching” collection, AniDev tracks your viewing progress.Episode Progress
When watching an anime episode:- Progress is automatically saved as you watch
- Visual progress bars show how much you’ve completed
- Resume from where you left off on your next visit
- Track progress across multiple devices (requires sign-in)
Watch History
Your watch history includes:- Recently watched episodes
- Completion timestamps
- Total watch time statistics
- Episode markers for quick resuming
Progress tracking is tied to your user account and syncs across devices when signed in.
Collection Dashboard
Your profile page at/profile serves as your collection dashboard.
Dashboard Features
User List Component:src/domains/user/components/user-dashboard/user-list.tsx
The dashboard displays:
- Collection tabs for easy switching
- Anime cards with cover art
- Quick action buttons
- Loading states while fetching data
- Empty states when collections are empty
- Filter and sort options
Empty State
When a collection is empty, you’ll see:- A friendly message explaining the collection is empty
- Suggestions to browse and add animes
- Quick links to search and discover new animes
src/domains/user/components/user-dashboard/empty-state.tsx
Loading State
While collections are loading:- Skeleton loaders display placeholder cards
- Smooth loading animations
- Prevents layout shift
src/domains/user/components/user-dashboard/loading-state.tsx
State Management
Collections use multiple stores for efficient state management:User List Store
Store:src/domains/user/stores/user-list-store.ts
Global User Store
Store:src/domains/user/stores/user-store.ts
Collection Access Routes
Access your collections through these routes:/profile- Main profile dashboard with all collections/collection/[slug]- Individual collection pages/watch/[slug]- Watch anime with progress tracking
List Synchronization
Your collections automatically sync:On Sign In
When you sign in, all your collections are loaded from the database and synchronized with the local state.
On Updates
Whenever you add or remove an anime, the change is:
- Immediately saved to the database
- Reflected in the UI without page refresh
- Synced across all open tabs
Advanced Features
Bulk Operations
Manage multiple animes at once:- Mark multiple animes as completed
- Move animes between collections
- Remove multiple animes from a list
Collection Export
Export your collections for backup or sharing:- Export as JSON format
- Import collections from backup files
- Share collection links with friends
Collection export/import features may require additional development. Check the latest feature availability in your AniDev instance.
Troubleshooting
Animes aren't appearing in my collection
Animes aren't appearing in my collection
Try these steps:
- Refresh the page to reload collection data
- Verify you’re signed in to your account
- Check that the anime was successfully added (look for confirmation toast)
- Clear browser cache and try again
Progress isn't saving
Progress isn't saving
Ensure:
- You’re signed in (progress requires authentication)
- The anime is in your “Watching” collection
- You have a stable internet connection
- Browser cookies are enabled
Collections are loading slowly
Collections are loading slowly
Large collections may take time to load. To improve performance:
- Use the filter and sort features to narrow results
- Consider organizing animes across multiple collection types
- Check your internet connection speed
Can't remove an anime from collection
Can't remove an anime from collection
If removal fails:
- Verify you’re signed in
- Check you have permission to modify the collection
- Try refreshing the page and attempting again
- Check browser console for error messages
API Reference
Collection management endpoints:POST /api/user/watchlist/add- Add anime to watch listDELETE /api/user/watchlist/remove- Remove anime from watch listGET /api/user/watchlist- Get all watch list itemsPUT /api/user/watchlist/update- Update watch list item type
