Commit Graph

44 Commits

Author SHA1 Message Date
katelya 142c780b50 Fix TypeScript errors: Update User type system across all storage implementations 2025-09-05 15:59:55 +08:00
katelya bdfad48656 feat: 实现成人内容过滤设置的动态处理,优化搜索API的缓存控制 2025-09-05 11:37:25 +08:00
katelya f0d2ea9d14 feat: 调整 EpisodeSelector 组件样式,优化布局和交互体验 2025-09-05 11:24:40 +08:00
katelya 87e401738f feat: 更新 EpisodeSelector 组件,调整每页显示集数和样式以优化用户体验 2025-09-05 11:08:25 +08:00
katelya ff388a8085 fix: 修复ESLint导入排序问题
- 使用eslint --fix自动修复导入语句排序
- 修正导入语句中的格式问题
2025-09-04 22:42:28 +08:00
katelya b1651dabfc fix: 恢复原设置功能,添加独立的内容过滤入口
- 恢复UserMenu中原有的本地设置功能(聚合搜索、优选测速、豆瓣代理、图片代理等)
- 添加独立的'内容过滤'菜单项,避免与原设置功能混淆
- 保持原有设置功能的完整性和重要配置项
2025-09-04 22:40:36 +08:00
katelya 88e48b8599 feat: 完整实现成人内容过滤功能的前端集成
- 修改用户菜单设置按钮导航到/settings页面
- 增强搜索页面支持用户认证和内容过滤
- 添加分组结果显示:常规内容和成人内容分标签显示
- 在搜索API调用中包含用户认证信息
- 支持成人内容分组展示和警告提示
- 保持原有聚合搜索功能的兼容性

现在用户可以:
1. 在设置页面控制成人内容过滤开关
2. 在搜索结果中看到内容分组(当存在成人内容时)
3. 获得个性化的搜索体验
2025-09-04 22:32:31 +08:00
katelya 235358c8c2 fix: 修复import排序和格式化问题
- 修复AdultContentFilter组件的import排序
- 修复settings页面的import排序
- 清理代码格式问题
2025-09-04 21:50:55 +08:00
katelya 86ebbb2cf6 feat: 添加成人内容过滤功能
- 新增用户设置系统支持内容过滤开关
- 扩展类型定义支持成人内容标记
- 实现用户设置API端点(GET/PATCH/PUT)
- 增强搜索API支持内容分组和过滤
- 创建AdultContentFilter UI组件
- 添加用户设置页面和认证检查
- 更新配置示例和README文档
- 实现LocalStorage和Redis存储后端
- 默认启用过滤确保安全性
2025-09-04 21:11:02 +08:00
katelya 63120d418b feat: 实现真正的无限滚动加载
- 修改 PaginatedRow 组件支持动态加载更多数据
- 添加 onLoadMore 回调函数和加载状态管理
- 在首页三个版块实现真正的分页加载新内容
- 第一页时隐藏左箭头,避免无效操作
- 移除底部页码指示器,界面更简洁
- 右箭头点击时动态从豆瓣API加载新数据
2025-09-04 16:36:59 +08:00
katelya 8f23545439 feat: 优化PaginatedRow组件的翻页逻辑,确保向前翻页不超出范围并支持无限循环翻页 2025-09-04 16:10:38 +08:00
katelya 62f70a9bf5 feat: 优化PaginatedRow组件的翻页逻辑,改进按钮显示条件 2025-09-04 16:07:45 +08:00
katelya dcc6d4cef2 feat: 优化PaginatedRow组件,支持无限翻页和悬停显示导航按钮 2025-09-04 15:45:47 +08:00
katelya c5c8aa43f2 feat: 重新设计PaginatedRow组件,优化首页热门板块的切页体验
新功能:
- 实现无限循环翻页,不再局限于有限页数
- 重新设计翻页按钮,使用紫色渐变和更好的悬停效果
- 按钮位置居中对齐,放在两行内容的中间位置
- 为每个组件实例添加唯一ID,避免跨板块悬停效果冲突

 设计改进:
- 按钮使用渐变背景和阴影效果,提升视觉体验
- 优化按钮尺寸和间距,更加美观
- 改进页码指示器的动画效果
- 修复悬停状态下其他板块也高亮的问题

 Bug修复:
- 解决鼠标悬停在一个影视卡片时其他板块卡片也高亮的问题
- 修复只能显示两批内容的限制,现在支持无限循环
- 优化按钮定位,确保在各种屏幕尺寸下都能正确居中
2025-09-04 15:35:10 +08:00
katelya c755a6d466 feat: 添加分页组件PaginatedRow,优化首页内容展示逻辑 2025-09-04 14:24:13 +08:00
katelya 4b9f87f7f8 删除旧版本的发布说明文件,更新用户菜单以移除TVBox配置按钮,并在管理页面中添加TVBox配置按钮。 2025-09-04 10:56:44 +08:00
katelya db651d5a55 fix: 调整集数网格的列宽和间距,优化布局 2025-09-03 22:38:12 +08:00
katelya f121b06b91 fixed littles bug 2025-09-03 22:29:58 +08:00
katelya 475d8f0334 fix: 调整集数网格的垂直间距,优化布局 2025-09-03 22:20:21 +08:00
katelya b54d626496 fix: 调整集数网格的间距,优化布局 2025-09-03 22:13:37 +08:00
katelya 5202a4b11a fix: 调整集数网格的间距,优化布局 2025-09-03 22:07:04 +08:00
katelya af73306814 fix: 修复选集点击偏移问题,优化事件处理和布局 2025-09-03 22:01:00 +08:00
katelya f0bbcf00dc fix: 修复选集点击偏移问题,调整跳过配置面板位置以避免覆盖 2025-09-03 21:52:08 +08:00
katelya 9aeef4bc63 feat: 修复选集点击偏移问题,优化布局和事件处理 2025-09-03 21:42:00 +08:00
katelya d6e14b2d00 feat: 优化跳过控制器,新增片尾倒计时模式选择,支持剩余时间和绝对时间模式 2025-09-03 21:31:09 +08:00
katelya c4458ae23a feat: 添加 TVBox 配置按钮,支持跳转到配置页面 2025-09-03 20:17:25 +08:00
katelya 1ca36f7454 feat: Add TVBox configuration support and management interface
- Introduced a new configuration page for TVBox with JSON and Base64 format options.
- Updated API endpoints for TVBox configuration retrieval.
- Enhanced the sidebar navigation to link to the new configuration page.
- Improved error handling and user feedback for configuration copying.
- Added detailed usage instructions and feature descriptions in the documentation.
- Fixed issues related to deployment and static generation.
2025-09-03 19:54:58 +08:00
katelya 2294f1b066 feat: 添加 TVBox 配置接口,支持视频源导入及解析功能 2025-09-03 19:32:24 +08:00
katelya fa958d0987 Refactor service worker and remove test page
- Updated service worker (sw.js) to improve caching strategies and update asset revisions.
- Deleted the test page (page.tsx) as it is no longer needed.
- Refactored EpisodeSelector component to simplify logic and improve performance.
- Added a .dockerignore file to exclude unnecessary files from Docker builds.
2025-09-02 17:08:23 +08:00
katelya f545058bf8 feat: 添加 'use client' 声明到 EpisodeSelector 和 TestPage 组件 2025-09-02 16:40:48 +08:00
katelya aa03a0b932 feat: 添加剧集选择器测试页面,包含响应式布局和调试信息 2025-09-02 16:33:22 +08:00
katelya 5dacbc027d fix: 修改每页显示集数的默认值为 10,更新导航按钮样式以增强可用性 2025-09-02 16:21:18 +08:00
katelya 0b60840097 feat: 添加左右导航按钮和智能响应式布局到集数选择器组件 2025-09-02 16:05:00 +08:00
katelya dd01a91383 fix: 调整跳过控制器中元素的 z-index 以避免重叠问题 2025-09-02 15:44:28 +08:00
katelya d5726c4f07 feat: Implement intelligent skip feature with enhanced settings
- Added support for time input in minutes:seconds format for skipping segments.
- Introduced automatic skipping functionality for both opening and ending segments.
- Enhanced UI for skip settings with a floating configuration card.
- Implemented countdown timer for automatic next episode playback.
- Added batch settings for configuring multiple skip segments at once.
- Updated SkipController component to handle new skip logic and UI changes.
- Created comprehensive usage guide for the new skip feature.
2025-09-02 14:49:56 +08:00
katelya a6bcb72987 添加跳过片头片尾功能,更新相关组件和文档,支持用户自定义设置 2025-09-02 14:18:44 +08:00
katelya 348494336a 添加跳过配置功能,包括数据库和API支持,更新播放器以处理跳过片段 2025-09-02 13:49:46 +08:00
katelya 8da7d1153f feat: 优化 PageLayout 组件,调整 TopNavbar 的固定定位和注释说明 2025-09-01 22:06:20 +08:00
katelya ab4e58dc4c feat: 更新 README 和版本管理脚本,优化 PageLayout 组件布局,添加 .eslintignore 文件 2025-09-01 21:57:20 +08:00
katelya 4d4f2ab665 feat: enhance PageLayout for better responsiveness and scrolling behavior
- Updated PageLayout component to use flexbox for improved layout structure.
- Ensured the main content area is scrollable by adjusting CSS classes.
- Modified the minimum height calculations for better visual consistency across devices.
- Added comments for clarity on layout changes and their purposes.

chore: add Workbox service worker for improved caching and offline support

- Introduced Workbox for managing caching strategies and offline capabilities.
- Implemented various caching strategies including CacheFirst and NetworkFirst.
- Added expiration and cleanup mechanisms for cached entries.
- Enhanced precaching functionality to ensure assets are available offline.
2025-09-01 21:47:05 +08:00
katelya 4617b0199b feat: Enhance package manager detection script and improve type safety in components
- Updated `check-package-manager.js` to disable specific ESLint rules for better readability.
- Refactored `page.tsx` in the login module to remove unnecessary type assertions and improve state management.
- Modified `page.tsx` in the home module to enhance error handling, improve layout with grid system, and limit displayed items.
- Adjusted `PageLayout.tsx` to implement responsive layout changes for the play page.
- Improved `ThemeToggle.tsx` to ensure proper dependency tracking in useEffect.
- Enhanced `VideoCard.tsx` with better type definitions for favorites.
- Updated `db.client.ts` to rename legacy cache prefix for future migration.
- Added runtime configuration types in `types.ts` and extended global Window interface.
- Introduced a new Workbox service worker file for improved caching strategies.
2025-09-01 21:23:45 +08:00
Katelya ea12d9ffae Update UserMenu.tsx 2025-08-31 15:38:54 +08:00
katelya 446c2f003e update 2025-08-29 13:53:41 +08:00
katelya f239211864 Update 2025-08-27 14:07:03 +08:00