Merged
Conversation
|
@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. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…across components
… 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)
…oved error handling
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.