Skip to content

Dev#26

Merged
capykyo merged 11 commits intocapykyo:devfrom
ubdmf:dev
Nov 9, 2025
Merged

Dev#26
capykyo merged 11 commits intocapykyo:devfrom
ubdmf:dev

Conversation

@ubdmf
Copy link
Contributor

@ubdmf ubdmf commented Nov 9, 2025

No description provided.

@vercel
Copy link

vercel bot commented Nov 9, 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 9, 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 9, 2025 0:29am

ubdmf added 11 commits November 9, 2025 20:22
… 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.
@capykyo capykyo merged commit c39ddb1 into capykyo:dev Nov 9, 2025
3 checks passed
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