Commit graph

6 commits

Author SHA1 Message Date
tapframe
af82eee3f1 minor fixes 2025-07-04 17:33:47 +05:30
tapframe
81897b7242 Refactor loading and image handling in Metadata components for smoother transitions
This update removes the fade animation from the MetadataLoadingScreen, allowing the parent component to manage transitions. In the HeroSection, enhancements have been made to the image loading state, introducing shimmer animations for a better user experience during loading. The MetadataScreen now features a skeleton loading screen with a fade-out transition, improving the overall content loading experience. Additionally, state management for image loading has been optimized to prevent unnecessary re-renders.
2025-06-18 10:47:27 +05:30
tapframe
bd1d8e30ec Refactor FeaturedContent logo fetching logic for clarity and efficiency
This update enhances the FeaturedContent component by improving the logo fetching logic. Key changes include clearer variable naming, streamlined ID extraction, and optimized error handling. The logic now better handles logo source preferences and ensures that existing logos are used as fallbacks when necessary. Additionally, the dependency array for the fetch effect has been refined for better performance. Overall, these modifications enhance code readability and maintainability.
2025-05-04 18:35:04 +05:30
tapframe
190c1a7371 Refactor FeaturedContent and RatingsSection components to enhance logging and error handling
This update removes unnecessary logging statements from the FeaturedContent and RatingsSection components, streamlining the code for better readability. Additionally, it improves error handling by ensuring fallback logos are set appropriately when fetching fails. The useMetadataAssets hook is also optimized for logo and banner fetching, incorporating clearer conditions for asset retrieval based on user preferences. Overall, these changes enhance the maintainability and performance of the components.
2025-05-04 01:03:38 +05:30
tapframe
b8484e432f Enhance HeroSection and useMetadataAssets for improved ID handling and asset fetching
This update introduces robust ID parsing and conversion logic in the HeroSection component, allowing for seamless navigation based on TMDB and IMDb IDs. Additionally, the useMetadataAssets hook has been optimized to manage logo and banner fetching more effectively, incorporating source tracking to prevent mixing assets from different sources. The changes improve error handling and logging for better debugging and user experience. The LogoSourceSettings component has also been updated to clarify the source selection process for logos and backgrounds.
2025-05-04 00:08:33 +05:30
tapframe
10cbf077d6 Refactor MetadataScreen to enhance modularity and integrate new components
This update significantly refactors the MetadataScreen component by removing unused imports and consolidating logic into dedicated hooks and components. The new structure improves readability and maintainability, while also enhancing the user experience with a more cohesive layout. Key changes include the introduction of HeroSection, FloatingHeader, and MetadataDetails components, which streamline the rendering process and improve the overall UI consistency. Additionally, the integration of new hooks for managing metadata assets and animations optimizes performance and responsiveness.
2025-05-03 22:25:42 +05:30