feat: enhance favorites and playlists filtering logic#95
Conversation
- Introduced `shouldIncludePostInFavoritesQueue` and `shouldIncludePostInPlaylistQueue` functions to filter posts based on various criteria including AI tags, ratings, media types, orientations, and date ranges. - Updated the `Favorites` and `PlaylistsPage` components to utilize the new filtering functions when loading more posts, ensuring only relevant posts are appended to the viewer queue. - Added context handling in `PostCard` and `ViewerDialog` components to conditionally render UI elements based on the current context (playlist or not). - Cleaned up unused imports and ensured adherence to strict coding standards throughout the changes.
🛡️ Архитектор (AI Review)Это Code Review. Пристегнись, архитектура местами пахнет легаси и костылями. 🚨 Критично
|
shouldIncludePostInFavoritesQueueandshouldIncludePostInPlaylistQueuefunctions to filter posts based on various criteria including AI tags, ratings, media types, orientations, and date ranges.FavoritesandPlaylistsPagecomponents to utilize the new filtering functions when loading more posts, ensuring only relevant posts are appended to the viewer queue.PostCardandViewerDialogcomponents to conditionally render UI elements based on the current context (playlist or not).