Commit Graph

17 Commits

Author SHA1 Message Date
tigeren 854afd4c41 feat: enhance photo viewer navigation and state management
- Implemented next and previous photo navigation in the photo viewer, allowing users to cycle through images while skipping videos.
- Introduced state management for current items in the folder viewer to support navigation functionality.
- Updated the InfiniteVirtualGrid and VirtualizedFolderGrid components to handle item clicks with index support for better user experience.
2025-08-29 17:26:51 +00:00
tigeren 848578c136 feat: integrate virtualized folder grid for enhanced media browsing experience
- Replaced the existing folder viewer layout with a new VirtualizedFolderGrid component to improve performance and responsiveness.
- Streamlined item fetching logic to eliminate unnecessary state management and enhance loading efficiency.
- Updated UI elements for better navigation, including breadcrumb support and back button functionality.
- Enhanced error handling and loading states to provide clearer feedback during directory access.
2025-08-29 16:08:53 +00:00
tigeren a56492f36a feat: refine path display and layout adjustments for folder and media grids
- Enhanced path display logic to accommodate longer directory names and improved truncation for better clarity.
- Adjusted grid item dimensions and padding for a more consistent and responsive layout across components.
- Updated title formatting and line clamping to enhance readability and prevent overflow in media item displays.
2025-08-29 15:45:44 +00:00
tigeren efd5e70e1f feat: enhance folder viewer and grid layout for improved usability
- Updated path display logic to show full paths or truncated versions based on length, enhancing clarity for users navigating directories.
- Adjusted grid layout and item dimensions for better responsiveness and visual consistency across different screen sizes.
- Improved title formatting and added line clamping to prevent overflow, ensuring a cleaner presentation of media item names.
- Refined star rating component to support additional size options, allowing for better integration with various UI elements.
2025-08-29 15:37:31 +00:00
tigeren 2442d0dde7 fix: update media viewer layout and maintain aspect ratio for video thumbnails
- Adjusted the layout of media items in the folder viewer to ensure proper aspect ratio handling for video files.
- Modified thumbnail size settings in the video thumbnail generation function to maintain aspect ratio while specifying a fixed width.
- Updated the media database file to reflect recent changes.
2025-08-27 17:49:02 +00:00
tigeren caa0d1eab9 refactor: improve path handling in folder viewer
- Updated path splitting logic to retain leading slashes for absolute paths while filtering out empty segments.
- Enhanced parent path reconstruction to ensure correct navigation within the folder structure.
- Improved readability and maintainability of the path management code.
2025-08-27 17:16:45 +00:00
tigeren 90fe3c8fb9 feat: enhance folder viewer with library fetching and error handling
- Added functionality to fetch libraries from the API and manage library paths within the folder viewer.
- Implemented error handling for directory loading, displaying user-friendly messages when errors occur.
- Updated breadcrumb navigation to reflect the current library context and improved path management.
- Enhanced UI to show error states and provide a retry option for loading directory contents.
2025-08-27 16:16:28 +00:00
tigeren 6fe6a43cf0 feat: add average rating and star count to media retrieval and display
- Updated media retrieval query to include average ratings and star counts for media files.
- Enhanced FolderViewer and VideosPage components to display star ratings, improving user feedback on media quality.
- Integrated StarRating component for visual representation of ratings in the UI.
2025-08-27 14:53:30 +00:00
tigeren 6744a2736b feat: enhance folder viewer with breadcrumb navigation and back button
- Implemented breadcrumb navigation for easier path tracking within the folder viewer.
- Added a back button to navigate to the parent directory, improving user experience.
- Introduced a utility function to format file paths for better readability.
- Updated the UI to display formatted file paths and current directory titles.
2025-08-26 19:12:08 +00:00
tigeren 2ac68f9a69 feat: refactor media viewers for improved functionality and UI
- Replaced inline video player with a dedicated VideoViewer component for enhanced video playback experience.
- Updated the PhotosPage and FolderViewerPage to utilize the new PhotoViewer and VideoViewer components, streamlining the media viewing process.
- Removed unnecessary loading states and modal implementations, simplifying the code structure and improving performance.
- Enhanced the PhotoViewer and VideoViewer with bookmarking and rating features for better user interaction.
2025-08-26 18:03:43 +00:00
tigeren 444f6288fe feat: implement photo viewer and enhance media handling
- Added a new SVG placeholder for photos and updated the photos page to utilize it.
- Implemented a photo viewer modal with navigation capabilities, allowing users to view photos in a dedicated interface.
- Enhanced folder viewer to support photo selection and viewing, including loading indicators and improved UI for photo items.
- Updated error handling and content type determination for photo retrieval in the API.
2025-08-26 17:42:52 +00:00
tigeren 95a49380da feat: enhance folder viewer with video playback functionality
- Updated the folder viewer to support inline video playback, allowing users to click on video items to open a video player.
- Added state management for video selection and loading indicators.
- Improved UI elements for video items, including hover effects and play icons.
- Enhanced video information display in the inline video player with file size details.
2025-08-26 04:12:59 +00:00
tigeren 555a71ffc6 feat: enhance UI and functionality for media library management
- Updated video and photo sections in the UI to include detailed card layouts with thumbnails and file information.
- Added interactive features to video cards, allowing users to click and play videos in a pop-up player.
- Improved sidebar navigation and settings page for better user experience.
- Refined global styles and color themes for a cohesive design across the application.
2025-08-25 16:04:03 +00:00
tigeren 90ba6df611 Refactor code structure for improved readability and maintainability 2025-08-25 10:00:53 +00:00
tigeren 6df7101f80 refactor: update file size and path display to use span elements for better layout consistency 2025-08-25 08:52:51 +00:00
tigeren e248613abb feat: add media library management features, including scanning and displaying photos and videos; implement database integration for media files 2025-08-25 08:11:03 +00:00
tigeren 83dea7c651 feat: Implement file system API and folder viewer
- Added API endpoint to retrieve files from a specified directory.
- Created API for managing media libraries (GET, POST, DELETE).
- Implemented scanning functionality for media libraries.
- Developed video listing page with API integration.
- Introduced folder viewer component to navigate file system.
- Enhanced settings page for managing libraries and initiating scans.
- Built sidebar component for navigation with dynamic library links.
- Established UI components for buttons, cards, and inputs.
- Set up SQLite database schema for libraries and media.
- Integrated thumbnail generation for video files during scanning.
- Configured Tailwind CSS for styling and responsive design.
2025-08-25 06:15:49 +00:00