feature/bookinfo-related-books (#1201)
* feature: add translation full content * feature: add translation full content * feature: add translation full content * feature: add translation full content * feature: add translation full content * feature:use chunk files replace chunk cache db * feature:use chunk files replace chunk cache db * feature:use chunk files replace chunk cache db * feature: add translation config navigation and refactor translation settings * feature: 体验优化 * feature: fixed error prompt * Fix Gson deserialization error for LLM translation classes under R8 obfuscation * Fix PMD error * feature: pre-translation * feature: pre-translation * 优化 * 优化 * 增加书籍详情页关联书籍推荐功能 * 修复关联书籍"更多"按钮URL模板变量未解析的问题 * 修复发现按钮部分不执行JS的问题 * 优化书籍详情封面长按逻辑 * 阅读界面自定义图标问题 * R8反混淆问题 * 主题保存时保存图片等资源 * 在首页、发现页等长按时,提供了一个查看简短书籍信息的界面与右上角书籍信息角标。现在书籍信息角标在封面设置中显示 * 现在可配置主页图标 * 主页模块配置被遮挡的问题 * 一些优化 * fix: address code review findings (null safety, error propagation, performance) - TranslateChapterUseCase: wrap execute() in try-catch to prevent task stuck in Translating state; propagate actual translation error instead of generic "Translation incomplete"; defensive null check on pairs - DictionaryRepositoryImpl: safe call on pairs for Gson null-bypass - LlmTranslateRepositoryImpl: safe calls on json.sentences and json.choices to prevent NPE from unexpected API responses - ContentChunker: normalize \r\n to \n before splitting paragraphs to handle Windows-formatted text files - BookInfoViewModel: parallelize related books loading with async/awaitAll - CoilBookCover: add finalPath as remember key to reset state on reuse - ThemeImportExport: fallback to filesDir when getExternalFilesDir is null --------- Co-authored-by: duanhl <duanhl7749@gmail.com>
This commit is contained in:
Vendored
+12
-1
@@ -63,7 +63,18 @@
|
||||
-keep class **.data.entities.**{*;}
|
||||
# Gson反序列化用的数据传输类
|
||||
-keep class io.legado.app.model.translation.**{*;}
|
||||
-keep class io.legado.app.data.entities.TranslationCache{*;}
|
||||
-keep class io.legado.app.domain.model.DictPair{*;}
|
||||
-keep class io.legado.app.domain.model.BookDictionary{*;}
|
||||
-keep class io.legado.app.domain.model.TextChunk{*;}
|
||||
-keep class io.legado.app.domain.model.ModuleDef{*;}
|
||||
-keep class io.legado.app.domain.model.ModuleItem{*;}
|
||||
-keep class io.legado.app.domain.model.CustomSetItem{*;}
|
||||
-keep class io.legado.app.data.repository.GoogleTranslateResponse{*;}
|
||||
-keep class io.legado.app.data.repository.GoogleSentence{*;}
|
||||
-keep class io.legado.app.data.repository.GoogleSpell{*;}
|
||||
-keep class io.legado.app.data.repository.OpenAIResponse{*;}
|
||||
-keep class io.legado.app.data.repository.OpenAIChoice{*;}
|
||||
-keep class io.legado.app.data.repository.OpenAIMessage{*;}
|
||||
# hutool-core hutool-crypto
|
||||
-keep class
|
||||
!cn.hutool.core.util.RuntimeUtil,
|
||||
|
||||
Reference in New Issue
Block a user