Kumi
d921c2dcad
Introduced a new API endpoint to retrieve media for a given category, enhancing the user experience by dynamically updating thumbnails post-upload based on available resolutions. This connects the frontend to the backend efficiently, ensuring users can see the immediate impact of their uploads. Additionally, updated serializers and views in the backend to support this functionality, alongside improving code comments for future development clarity. - Implemented `getCategoryMedia` in the JS API for fetching media resolutions. - Enabled dynamic thumbnail updates in the user area post file upload, improving visual feedback. - Extended the Django REST framework routers to include the new media endpoint, facilitating easier access to media items. - Updated the `OriginalMediaSerializer` to include `category` for more detailed media information. - Enriched task and views files with necessary TODO comments to guide future enhancements and exception handling. This change significantly improves the content management workflow, making it more interactive and user-friendly. |
||
---|---|---|
.. | ||
css | ||
js | ||
scss |