feat(collections): enhance collections page with sorting, filtering, and pagination features
- Updated the collections loading logic to include sorting and pagination parameters from the URL. - Refactored the collections page to manage owned, shared, and archived collections with a tabbed interface. - Added sorting functionality to allow users to sort collections by different attributes. - Implemented a sidebar for filtering and sorting options. - Improved the UI for better user experience, including a floating action button for creating new collections. - Added a not found page for collections that do not exist, enhancing error handling.
This commit is contained in:
@@ -209,8 +209,6 @@ class AdventureSerializer(CustomModelSerializer):
|
||||
category_data = validated_data.pop('category', None)
|
||||
|
||||
collections_data = validated_data.pop('collections', None)
|
||||
collections_add = validated_data.pop('collections_add', [])
|
||||
collections_remove = validated_data.pop('collections_remove', [])
|
||||
|
||||
# Update regular fields
|
||||
for attr, value in validated_data.items():
|
||||
|
||||
Reference in New Issue
Block a user