Commit Graph
71 Commits
Author SHA1 Message Date
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 f7c32485b9 feat: implement SourceBadgeList and SourceBadgeItem components for improved video source filtering 2025-11-19 11:17:54 +08:00
kuekhaoyang 057df7434c feat: update video source configurations with new sources and localized names 2025-11-19 11:09:01 +08:00
kuekhaoyang fd1aa37767 feat: add latency tracking and display in video search results; optimize scrolling performance 2025-11-19 10:55:39 +08:00
kuekhaoyang 0272af1eeb refactor: remove unused WCAG contrast testing script and related dependency 2025-11-18 19:51:49 +08:00
kuekhaoyang cd8cccc4f5 feat: enhance MobileVideoPlayer with iOS fullscreen support and touch manipulation for buttons 2025-11-18 19:40:28 +08:00
kuekhaoyang 39dedb39f5 refactor: remove contrast test results file and update .gitignore for unused/generated files 2025-11-18 18:25:23 +08:00
kuekhaoyang f03ecb3294 feat: implement search history dropdown with liquid glass effect; add hooks for managing search history 2025-11-18 18:21:12 +08:00
kuekhaoyang 58f7c16d7b refactor: remove unused cache management and selection clearing logic from hooks 2025-11-18 18:11:17 +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 973bc9048d refactor: enhance UI responsiveness and animations; add smooth transitions for video grid and improve TypeBadgeItem interaction 2025-11-18 17:47:15 +08:00
kuekhaoyang 0c9844d9ce refactor: optimize performance in various components; adjust animation intervals, memoize components, and improve sorting logic 2025-11-18 17:43:09 +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 b89bfe6569 refactor: consolidate video detail fetching logic into a shared handler; remove redundant validation in GET and POST methods 2025-11-18 17:06:12 +08:00
kuekhaoyang 6b443dccaf refactor: remove custom API handling from GET and POST methods; delete unused useMediaQuery hook and DetailRequest type 2025-11-18 17:02:02 +08:00
kuekhaoyang ab75156071 refactor: remove unused methods from HistoryStore interface and implementation 2025-11-18 16:57:14 +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 d80e4420b6 refactor: remove unused utility files for error handling, M3U8 filtering, progress tracking, source switching, URL validation, and contrast testing
- Deleted error-handler.ts, m3u8-filter.ts, progress-tracker.ts, source-switcher.ts, url-validator.ts, and test-contrast.ts as they are no longer needed in the project.
2025-11-18 16:14:32 +08:00
kuekhaoyang 73eeea7161 feat: Enhance SearchLoadingAnimation with pause functionality and progress indicators; update Badge component to support icons with customizable positions 2025-11-18 16:02:50 +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 db40601649 feat: Add ConfirmDialog component and accessibility utilities for enhanced user interaction 2025-11-18 15:31:22 +08:00
kuekhaoyang 2bc0be5d95 feat: Implement responsive design improvements and add custom hooks for keyboard navigation and click outside detection 2025-11-18 15:23:42 +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 44cae03731 feat: Implement comprehensive keyboard navigation for KVideo components
- Added `useKeyboardNavigation` hook for managing keyboard interactions across lists and grids.
- Integrated keyboard navigation into VideoGrid, TypeBadges, SearchHistoryDropdown, and EpisodeList components.
- Enhanced accessibility by implementing ARIA roles and properties.
- Established visual focus indicators following Liquid Glass design principles.
- Created detailed documentation for keyboard shortcuts and component usage.
- Conducted performance optimizations and ensured compliance with WCAG 2.2 standards.
2025-11-18 15:07:39 +08:00
kuekhaoyang 251e15a37d feat: Enhance accessibility with ARIA attributes and focus trap implementation 2025-11-18 14:58:03 +08:00
kuekhaoyang 3dfcc6565d feat: Add history management components and movie grid with infinite scroll
- Implemented HistoryEmptyState component for displaying when no viewing history exists.
- Created HistoryItem component to represent individual watch history items with video details and delete functionality.
- Developed MovieCard component to display individual movie details including poster, title, and rating.
- Added MovieGrid component for displaying a grid of movie cards with infinite scroll capabilities.
- Introduced TagManager component for managing custom tags with creation, deletion, and filtering functionalities.
- Created TypeBadgeItem and TypeBadgeList components for displaying selectable badges with counts.
- Added custom hook useInfiniteScroll for managing infinite scroll behavior.
- Implemented contrast testing script to ensure WCAG compliance for UI components.
2025-11-18 14:50:14 +08:00
kuekhaoyang 3940d8e339 feat: 添加贡献指南和许可证文件
- 新增 CONTRIBUTING.md 文件,包含贡献流程、行为准则、开发指南等内容
- 新增 LICENSE 文件,采用 MIT 许可证
2025-11-18 14:16:42 +08:00
kuekhaoyang 25f0722d82 feat: update single tap behavior in MobileVideoPlayer to improve control visibility and play/pause functionality 2025-11-18 13:22:21 +08:00
kuekhaoyang bda49259f1 feat: add toast notification functionality and copy link option in video players 2025-11-18 13:20:22 +08:00
kuekhaoyang df437ce4ab feat: update time formatting in DesktopVideoPlayer and MobileVideoPlayer to include hours 2025-11-18 13:12:16 +08:00
kuekhaoyang d92c2808c2 feat: optimize scrolling performance and enhance control responsiveness in DesktopVideoPlayer 2025-11-18 13:10:42 +08:00
kuekhaoyang 0dbd02bef5 feat: implement auto-close functionality for menus in MobileVideoPlayer and manage video playback state 2025-11-18 13:05:40 +08:00
kuekhaoyang 5df494e8c8 feat: enhance MobileVideoPlayer with improved control responsiveness and progress seeking
refactor: clean up SourceBadges component by removing unused elements
refactor: update useDoubleTap hook to support continuous skipping in skip mode
2025-11-18 12:52:58 +08:00
kuekhaoyang a7480fb47a feat: add MobileVideoPlayer component with advanced controls and hooks
- Implemented MobileVideoPlayer component for mobile video playback.
- Added features such as play/pause, skip forward/backward, volume control, and fullscreen support.
- Integrated double-tap gesture handling for skipping video.
- Included hooks for screen orientation management and mobile detection.
- Enhanced user experience with loading indicators and playback speed options.
2025-11-18 12:40:50 +08:00
kuekhaoyang c9174b11ab fix: Remove duplicate suppressHydrationWarning from body tag in RootLayout 2025-11-18 10:06:51 +08:00
kuekhaoyang 838951d209 refactor: Remove unused video-related props from HomePage component 2025-11-17 23:09:28 +08:00
kuekhaoyang 0bb26ebf9a refactor: Remove unused video-related props and logic from search components 2025-11-17 22:59:15 +08:00
kuekhaoyang d3b3b281bd refactor: Remove video verification logic and related properties from search and display components 2025-11-17 22:53:33 +08:00
kuekhaoyang 13fa6b672e feat: Implement control visibility toggle on shortcut key press in CustomVideoPlayer 2025-11-17 22:38:53 +08:00
kuekhaoyang 6e0a3e26fe style: Adjust padding for progress bar and controls bar in CustomVideoPlayer for improved layout 2025-11-17 22:34:24 +08:00
kuekhaoyang 4ab102b30a feat: Enhance CustomVideoPlayer with volume bar visibility control and keyboard shortcuts for playback and volume adjustments 2025-11-17 22:31:27 +08:00
kuekhaoyang 058277ff12 feat: Refactor skip forward/backward functionality to apply accumulated skip amounts immediately and adjust fade out timing 2025-11-17 22:20:51 +08:00
kuekhaoyang 9679ccc12c feat: Add skip forward/backward functionality with visual indicators; implement Picture-in-Picture and AirPlay support in CustomVideoPlayer 2025-11-17 22:17:24 +08:00
kuekhaoyang 3fbd77e308 feat: Implement auto-hide functionality for playback speed menu; add timeout management for improved user experience 2025-11-17 18:18:34 +08:00
kuekhaoyang bac33e5d55 feat: Add custom video player component with controls, progress tracking, and volume management; enhance icon set with new playback and volume icons 2025-11-17 18:14:21 +08:00
kuekhaoyang df60e00c4e style: Update border radius for image components in PopularFeatures and VideoGrid for consistent styling 2025-11-17 18:02:30 +08:00
kuekhaoyang af652948b9 style: Adjust navbar positioning and padding for improved layout 2025-11-17 17:57:05 +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 ba9853566f feat: Enhance relevance scoring in search functionality; add scoring for actor, director, and content matches; improve query handling and penalties for long titles 2025-11-17 16:41:32 +08:00