You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 3, 2026. It is now read-only.
Uses non-existent hideMedia (should be hideMediaEverywhere/hideMediaInPosts)
Uses non-existent updateTags (should be addMediaTags/removeMediaTags)
Calls likeMedia(id, {rating: 1}) but signature is likeMedia(id)
MediaLightbox missing 6+ required props
Root Cause
This component represents transitional code from the V2 migration that was never completed. It attempts to bridge V2 MediaFile entities with legacy post-based infrastructure.
Recommendation
DEPRECATE this component rather than fix it:
Add deprecation notice to file
Identify usages (ModernMediaGrid uses it)
Migrate ModernMediaGrid to use MediaContainerWithContext or create V2-native lightbox
Remove MediaContainerV3 once migration complete
Better Alternatives
MediaContainer - Full-featured, production-ready
MediaContainerWithContext - Context-aware wrapper
Future: Build V2-native lightbox component that works with MediaFile directly
Issue
MediaContainerV3.tsxis an incomplete/experimental component from the V2 API migration that should be deprecated and removed.Problems Identified
useV2MediaActions()called without required propshideMedia(should behideMediaEverywhere/hideMediaInPosts)updateTags(should beaddMediaTags/removeMediaTags)likeMedia(id, {rating: 1})but signature islikeMedia(id)Root Cause
This component represents transitional code from the V2 migration that was never completed. It attempts to bridge V2 MediaFile entities with legacy post-based infrastructure.
Recommendation
DEPRECATE this component rather than fix it:
Better Alternatives
Files Affected
apps/frontend/src/features/media/components/MediaContainerV3.tsxapps/frontend/src/features/media/components/ModernMediaGrid.tsx(uses it)