Skip to content

Dev#32

Merged
capykyo merged 32 commits intocapykyo:devfrom
ubdmf:dev
Nov 17, 2025
Merged

Dev#32
capykyo merged 32 commits intocapykyo:devfrom
ubdmf:dev

Conversation

@ubdmf
Copy link
Contributor

@ubdmf ubdmf commented Nov 13, 2025

No description provided.

capykyo and others added 30 commits February 24, 2025 12:19
… and ClearBookshelf components with dialog confirmations
…ing rendering, book management, and error handling scenarios
…uding GlobalSettingsButton, BookForm, ClearBookshelf, ApiKeyManager, ModelManager, and RestTimeManager for enhanced user guidance
… and ClearBookshelf components with dialog confirmations
…ing rendering, book management, and error handling scenarios
…uding GlobalSettingsButton, BookForm, ClearBookshelf, ApiKeyManager, ModelManager, and RestTimeManager for enhanced user guidance
…nagement to settings

- Add getServerSideProps to first-visit-test.tsx to restrict access to dev environment only
- Add storage management card to SettingsPage with clearStorage and checkStorage functions
- Implement two-step confirmation for clearing storage to prevent accidental data loss
- Display storage status including bookInfo, apiKey, settings, aiModel, and restTime
- Use Toast notifications for user feedback
- 创建配置系统架构(configs/目录)
- 定义核心类型(SiteConfig接口)
- 实现基础解析器抽象类(BaseParser)
- 实现quanben.io解析器和配置
- 创建解析器工厂系统(identifySite, getParser, getSupportedSites)
- 重构bookInfo和fetchArticle API端点使用解析器系统
- 添加URL验证和规范化工具函数
- 编写完整的单元测试(22个测试用例)
- 添加详细的README文档说明如何添加新网站
- 修复类型错误(添加getConfig()公共方法)
- 更新quanben.io配置,使用真实浏览器User-Agent和完整请求头
- 添加Referer头模拟网站内部跳转
- 改进错误处理,针对403和404错误提供友好提示
- 优化ControlPanel布局,调整BentoCard大小使其更协调
- 优化description文字阴影,提升对比度和清晰度
- 修复主题切换文字显示问题(light/day)
- Adjusted usePagination hook to update currentPage when initialPage changes, ensuring correct chapter display based on URL parameters.
- Modified ArticlePage to utilize the updated pagination logic for better synchronization with router query parameters.
…onents

- Updated Client class to allow instantiation with a custom API Key.
- Modified aiReader and fetchAiContent API endpoints to utilize client-provided API Key in production.
- Adjusted AiReadingPage and useAIReading hook to retrieve API Key from localStorage and pass it to API calls.
- Improved error handling for missing API Key in both production and development environments.
- Added a flag in AiReadingPage to track if an error has been received from the server, preventing overwriting of error messages.
- Enhanced aiReader API to validate required parameters and return specific error messages for missing parameters and empty article content.
- Improved error message handling during fetch operations to provide clearer feedback to the client.
- Resolved conflicts in GlobalSettingsButton, controlpanel, and first-visit-test
- Kept dev branch versions with improved functionality:
  * GlobalSettingsButton: onSelect with preventDefault, theme === 'light'
  * controlpanel: Updated book management description
  * first-visit-test: Added dev environment restriction
…licts

- Introduced a comprehensive guide on Git workflow, focusing on avoiding merge conflicts.
- Included sections on common conflict scenarios, solutions, and best practices for regular synchronization and feature branching.
- Provided detailed instructions for using Git Flow and simplified versions suitable for smaller projects.
- Emphasized the importance of frequent syncing, small commits, and effective team collaboration strategies.
… and ClearBookshelf components with dialog confirmations
…ing rendering, book management, and error handling scenarios
…licts

- Introduced a comprehensive guide on Git workflow, focusing on avoiding merge conflicts.
- Included sections on common conflict scenarios, solutions, and best practices for regular synchronization and feature branching.
- Provided detailed instructions for using Git Flow and simplified versions suitable for smaller projects.
- Emphasized the importance of frequent syncing, small commits, and effective team collaboration strategies.
- Adjusted the ReadingDuration component to enhance readability by wrapping the displayed reading time in a styled span.
- Updated the ArticlePage layout to use a flex column for better alignment and spacing between EstimatedReadingTime and ReadingTime components.
…sual feedback

- Added support for vertical swipe detection and improved horizontal swipe handling in SwipeContainer.
- Introduced visual feedback during swiping, including opacity and shadow effects based on swipe distance.
- Updated ArticlePage to include an AI reading mode button within the SwipeContainer, enhancing user navigation options.
- Introduced Slider and Switch components to enhance UI interactivity.
- Updated package.json and pnpm-lock.yaml to include @radix-ui/react-slider and @radix-ui/react-switch dependencies.
- Enhanced SettingsContext to ensure default values are set for missing fields in user settings.
@vercel
Copy link

vercel bot commented Nov 13, 2025

@ubdmf is attempting to deploy a commit to the kyoappskyo's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Nov 13, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
novel Ready Ready Preview Comment Nov 13, 2025 1:42pm

@capykyo capykyo merged commit e0975a4 into capykyo:dev Nov 17, 2025
3 checks passed
capykyo pushed a commit that referenced this pull request Nov 17, 2025
- 新增策略 C:解决 Fork 仓库 PR 冲突(以远程为准)
- 包含完整的操作步骤和实际案例(PR #32)
- 说明使用 -X theirs 参数的原因和适用场景
- 提供合并策略对比和注意事项
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants