Repository navigation
feat: 阅读设置中的翻译设置移至独立页面 - #41
Merged
Merged
Conversation
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.
解决的问题 / Problem
阅读器的「阅读设置」抽屉内直接嵌入了完整的本书智能翻译配置(显示模式、服务、模型、术语表等),内容较长且与抽屉的轻量设置定位不符,在手机上需要大量滚动。
改动后的行为 / Resulting behavior
/book/:id/translation/settings,集中展示本书智能翻译的覆盖项、阅读文本、术语表开关与「恢复全局默认」。BookTranslationSettings,并保留「翻译管理」入口;返回键优先回到上一页(从阅读器进入时回到阅读页)。docs/smart-translation.md与前端技能参考,补充中英文文案。验证 / Validation
pnpm exec tsc --noEmit通过pnpm run i18n:check通过pnpm build通过数据与兼容性 / Data and compatibility
不涉及。翻译配置的读取与保存逻辑不变,仅调整入口与展示位置。
提交前检查 / Checklist