Commit Graph
30 Commits
Author SHA1 Message Date
kuekhaoyang 5e9af1b89e feat: centralize homepage logic into a new hook and refactor settings management with subscription and helper functions. 2025-11-23 11:41:48 +08:00
kuekhaoyang 64636a3da9 feat: Implement custom source editing and refactor source management to use full 2025-11-22 20:57:38 +08:00
kuekhaoyang 58a8d4910e feat: Implement comprehensive search functionality, enhance video player controls for desktop and mobile, and refactor settings and history UI. 2025-11-21 19:00:23 +08:00
kuekhaoyang 0f677ddee3 perf: Optimize UI performance by simplifying glass effects, removing complex gradients and backdrop-filter, and adding hardware acceleration. 2025-11-19 16:36:11 +08:00
kuekhaoyang c9c5c5f788 feat: increase navbar z-index and allow .online domains for remote images 2025-11-19 15:55:30 +08:00
kuekhaoyang 7b9b359d23 refactor: remove debug console logs and the unused latency emoji utility 2025-11-19 15:16:42 +08:00
kuekhaoyang 3a756dd06f feat: Enhance search history dropdown with absolute positioning and empty state styling; improve video player autoplay functionality 2025-11-19 12:22:20 +08:00
kuekhaoyang fad6041df0 feat: Implement source management modals and settings store
- Added AddSourceModal for adding new video sources with validation.
- Introduced ExportModal for exporting settings and history options.
- Created ImportModal for importing settings from JSON files.
- Developed SourceManager for managing video sources, including enabling/disabling, deleting, and reordering.
- Established settings store to manage application settings, including default sources and sorting options.
- Implemented sorting utility functions for video search results based on various criteria.
2025-11-19 11:53:37 +08:00
kuekhaoyang 694a015a1e refactor: implement source badge filtering; add useSourceBadges hook and integrate with HomePage and VideoGrid components 2025-11-18 18:01:33 +08:00
kuekhaoyang 79515e2702 refactor: optimize performance across components; adjust backdrop filters, transitions, and scrolling behavior 2025-11-18 17:25:50 +08:00
kuekhaoyang 88f14290b5 refactor: remove unused accessibility utilities and hooks
- Deleted accessibility index file and related exports.
- Removed `useClickOutside` and `useClickOutsideMultiple` hooks for handling outside clicks.
- Eliminated `useSearchStream` hook and its associated logic for managing search state.
- Cleaned up `useMediaQuery` by removing predefined breakpoints and related utility hooks.
- Removed `source-checker` utility for checking video source availability.
- Refactored `client.ts` to simplify error handling and remove unused functions.
- Streamlined `video-sources.ts` by removing custom source management functions.
- Deleted `search-history-store.ts` and related search history management logic.
- Removed unused types and interfaces from `types/index.ts`.
- Cleaned up search utilities, focusing on relevance scoring and optimization.
2025-11-18 16:52:41 +08:00
kuekhaoyang e007899f9e feat: Standardize border radius usage across components and implement View Transition API for theme changes 2025-11-18 15:43:58 +08:00
kuekhaoyang 79ac2c349e feat: Optimize component performance with GPU acceleration and add placeholder image for missing content 2025-11-18 15:15:45 +08:00
kuekhaoyang 0bb26ebf9a refactor: Remove unused video-related props and logic from search components 2025-11-17 22:59:15 +08:00
kuekhaoyang 28ef76572e feat: Implement watch history functionality; add WatchHistorySidebar component, enhance search history management, and integrate history tracking in video player 2025-11-17 17:52:47 +08:00
kuekhaoyang 1f55ba2d56 feat: Add Popular Features component and integrate with search functionality; enhance SearchForm with clear button and initial query handling; update scrollbar styling utility 2025-11-17 16:34:13 +08:00
kuekhaoyang 6a84889c2c feat: Add auto-collecting type badges with filtering functionality 2025-11-17 14:56:45 +08:00
kuekhaoyang 2802c694d0 feat: Implement parallel search functionality and update source name mappings 2025-11-17 14:29:31 +08:00
kuekhaoyang ad9e75bc8c feat: Implement video player components and search functionality
- Added EpisodeList component for displaying a list of episodes with selection functionality.
- Created PlayerError component to handle and display video playback errors.
- Developed VideoMetadata component to show detailed information about the video.
- Implemented VideoPlayer component for video playback with error handling and loading states.
- Introduced EmptyState and NoResults components for search results handling.
- Created ResultsHeader component to display search results summary.
- Developed SearchForm component for user input and search initiation.
- Implemented SourceBadges component to show available video sources.
- Created VideoGrid component to display search results in a grid format.
- Added useSearchCache and useSearchStream hooks for managing search state and caching results.
- Implemented useVideoPlayer hook for fetching and managing video details.
- Added utility function to map source IDs to their respective names.
2025-11-17 13:51:03 +08:00
kuekhaoyang f64b021e74 Remove automatic cache restoration on homepage load; ensure clean state when no URL query is present 2025-11-17 09:11:06 +08:00
kuekhaoyang 7a217e82e2 Refactor search functionality to allow automatic search without clearing cache; update performSearch to manage cache based on user actions 2025-11-17 09:07:16 +08:00
kuekhaoyang b23199e632 Refactor video loading state management; improve loading messages and optimize fetch logic in player component 2025-11-16 23:09:56 +08:00
kuekhaoyang 907af13ce7 Refactor video validation process by removing client-side playback testing; streamline episode filtering and enhance loading animation with accurate progress tracking 2025-11-16 22:56:39 +08:00
kuekhaoyang 5889d6300d Enhance streaming search API to process sources concurrently and validate videos immediately; improve loading animation with accurate progress tracking 2025-11-16 22:39:20 +08:00
kuekhaoyang 5b4caf11c0 Enhance video validation process with client-side playback testing; filter out non-playable episodes and improve loading animation stages 2025-11-16 22:28:51 +08:00
kuekhaoyang ec052df078 Refactor video source identifiers and enhance player navigation with improved button functionality 2025-11-16 21:40:29 +08:00
kuekhaoyang d97a8b7aec Refactor code structure for improved readability and maintainability 2025-11-16 19:14:12 +08:00
kuekhaoyang d0790d1307 Implement streaming search API and enhance video availability checks with loading animation 2025-11-16 19:03:19 +08:00
kuekhaoyang 610cc522c7 Enhance video source validation and availability checks across API routes and UI components 2025-11-16 11:26:28 +08:00
kuekhaoyang 11a5055b76 init 2025-11-16 10:49:55 +08:00