Commit Graph
7700 Commits
Author SHA1 Message Date
HapeLee 45c403fe79 fix: 保留书架滚动状态并避免空白闪烁 2026-07-01 01:02:56 +08:00
HapeLee b60c025473 fix: 添加预设字体粗细控制 2026-07-01 01:02:56 +08:00
HapeLee 1397b0a334 fix: 使用图片选择器并支持九宫格高亮背景 2026-07-01 01:02:56 +08:00
HapeLee 2a3cc12da5 fix: 支持封面图集与 ZIP 主题包 2026-07-01 01:02:55 +08:00
AugusChenandCursor 44b1b582c0 feat(cache): 添加漫画图片缓存功能及图片缓存进度跟踪功能 (#1610)
* feat(cache): 添加图片缓存进度跟踪功能

- 在 BookHelp 中新增 countImagesInContent 函数用于统计章节中的图片数量
- 修改 saveImages 函数支持进度回调,实现图片下载进度追踪
- 新增 countImageCachedChapters 函数用于统计已缓存的图片章节
- 在 OkHttpStreamFetcher 中实现本地图片加载逻辑,支持从缓存读取图片
- 添加 CacheChapterProgress 相关数据类用于跟踪章节下载进度
- 在 CacheDownloadStateStore 中实现章节进度更新和清除功能
- 修改 CacheBookModel 支持内容和图片分阶段下载,并报告进度
- 更新 ReadManga 中的图片缓存逻辑,在内容下载后自动缓存图片
- 在 BookCacheManageScreen 和 ViewModel 中添加进度指示器显示下载状态
- 优化缓存章节计数逻辑,区分图片书籍和其他类型书籍的缓存判断

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(cache): 修复 PR #1610 Code Review 指出的问题

- 图片缓存完成后保留正文内容,避免阅读器无限加载
- 将 ReadManga 中的磁盘 I/O 移至 IO 线程
- 使用 Mutex 保证图片下载进度回调顺序递增

* fix(cache): 修复图片缓存任务卡住与 UI 刷新性能问题

- startImageCacheTask 提前返回时清理 onDownloadSet 并同步队列状态
- 新增 hasImageFilesCached 轻量检查,进度更新时避免全量文件扫描

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 01:02:07 +08:00
HapeLee 3b65bd66b2 fix: 书签界面 2026-06-30 09:02:49 +08:00
HapeLee 92eaff19ae fix: WebDAV错误触发的崩溃 2026-06-30 09:02:33 +08:00
HapeLee 00ebcea9b7 fix: 只有模块集时正确的顶部边距 2026-06-30 09:01:53 +08:00
HapeLee 1e695d06f1 fix: 修复自定义主题切换并区分日夜配色 2026-06-30 09:00:59 +08:00
HapeLee 7182b6e0e1 fix: RecentBooksRow 中 bookUrl 为 null 时 key 重复导致崩溃 2026-06-30 02:26:05 +08:00
HapeLee c10714f2f7 修复一些问题 2026-06-30 01:53:21 +08:00
HapeLee 9f897ddd27 油画首页 2026-06-30 01:52:13 +08:00
HapeLee abbb90d06a 这扯不扯 2026-06-30 01:52:13 +08:00
fansan af5094801c feat:添加浅色、深色切换提醒功能 (#1584)
* feat:添加浅色、深色切换提醒功能

* refactor: 重构SwitchDayNightReminder为通用ActionReminder
- ReadConfigScreen 补上 主题模式切换提醒 开关
2026-06-30 01:50:52 +08:00
HapeLee a767d70d9f feat: HomeScreen 统计卡片点击导航至阅读记录/阅读总览 2026-06-29 02:40:35 +08:00
HapeLee 1f5dfbc56b fix: 字典重命名通过事务删除旧主键并插入新记录 2026-06-29 02:28:18 +08:00
HapeLee 88152e0388 fix: 双击底栏书架滚动当前分组到顶,Pager 惯性传递移至 MainScreen 2026-06-29 02:28:18 +08:00
HapeLee e6f5e87613 fix: 书签编辑移至独立 AppModalBottomSheet,修复液态玻璃亮度滑块拖动结束未保存 2026-06-29 02:28:18 +08:00
HapeLee 3d31b24ce1 fix: 系统 TTS 调速立即重播当前位置 2026-06-29 02:28:18 +08:00
HapeLee e08d01cb8c fix: 非书架书籍打开目录前添加 BookType.notShelf 2026-06-29 02:28:18 +08:00
HapeLee e59a5d198f fix: 详情页搜索等待并使用已设置的搜索范围,返回不再清空结果 2026-06-29 02:28:17 +08:00
HapeLee 5287fe6457 feat: add home dashboard and discovery modes 2026-06-29 02:28:17 +08:00
HapeLee 933bded9d8 界面优化 2026-06-29 02:28:17 +08:00
HapeLee c0b7a555ec feat: improve i18n support - extract hardcoded Chinese and fill missing translations
- Extract ~100+ hardcoded Chinese strings from 17 Compose files into string resources
- Fix zh-rHK file encoding from GBK to UTF-8
- Fill 683 missing zh-rTW translations (1361 → 2156 keys)
- Fill 686 missing zh-rHK translations (1358 → 2156 keys)
- Add 3 missing keys to zh-rCN (custom_button, is_event_listener, rule_call_back)
- All 4 locale files now have equal coverage (2156 keys)
2026-06-29 02:28:17 +08:00
HapeLee 803636df65 界面优化 2026-06-29 02:28:17 +08:00
fansan f4bb4a37bc fix:阅读界面切换深浅色后,排版问题 (#1576) 2026-06-29 02:26:30 +08:00
fansan 4f25e6d73b fix:三星Spen失效的问题,并添加上一章和下一章的操作选项 (#1583) 2026-06-29 02:26:17 +08:00
HapeLee eb0a0ff2ff fix: 修复阅读界面功能问题 2026-06-28 02:18:12 +08:00
HapeLee 3052175432 Merge remote-tracking branch 'origin/main' 2026-06-28 02:02:13 +08:00
Kudomaga 6c92c4246e Merge pull request #1575 from HapeLee/feature/highlight-tag-sorting
按醒目标签规则排序书籍详情标签
2026-06-28 02:00:20 +08:00
HapeLee 0d146b08ec fix: 按醒目标签规则排序书籍详情标签 2026-06-28 01:56:57 +08:00
HapeLee c318e259c7 feat: 完善 AI 对话界面与交互 2026-06-28 01:46:36 +08:00
HapeLee 6d8660ee5b feat: 优化AI聊天侧栏,添加搜索过滤、时间标签、圆角卡片和窄宽度 2026-06-27 10:15:21 +08:00
HapeLee 3594dc2594 Merge pull request #1571 from HapeLee/feature/ai-foundation
feat: AI底座
2026-06-27 02:33:56 +08:00
Kudomaga 9d2a979197 Merge pull request #1568 from qyo123oyq/fix/bookshelf-manual-sort
fix(bookshelf): improve manual sort drag visual feedback and selection handling
2026-06-27 02:28:24 +08:00
HapeLee 486476d23a chore: 更新数据库schema到版本92 2026-06-27 02:27:43 +08:00
HapeLee c885306550 fix: 书籍详情页添加标签高亮显示 2026-06-27 02:27:43 +08:00
HapeLee dd2190c091 refactor: 重构TXT目录规则界面为MVI架构 2026-06-27 02:27:43 +08:00
HapeLee da6c02e2ca refactor: 重构替换规则界面为MVI架构 2026-06-27 02:27:43 +08:00
HapeLee 5195d51b08 feat: 添加高亮标签规则配置入口和导航 2026-06-27 02:27:42 +08:00
HapeLee 64aeb33f91 feat: 添加标签分组规则功能,支持按书籍标签自动匹配分组 2026-06-27 02:27:42 +08:00
HapeLee 4b65d6fc71 feat: 添加连载已读/完本已读分组,基于canUpdate字段自动分类 2026-06-27 02:27:42 +08:00
HapeLee 389239ca67 fix: 合并标签分组与传统分组编辑界面,支持在分组编辑中查看和修改匹配规则 2026-06-27 02:27:42 +08:00
HapeLee 990fc78033 feat: ai底座 2026-06-27 02:16:11 +08:00
shilimesfriend 654f3095af refactor(bookshelf): use graphicsLayer lambda for drag alpha per review 2026-06-26 23:13:48 +08:00
shilimesfriend 9e6feb9f67 fix: improve manual sort drag visual feedback and selection handling 2026-06-26 17:59:48 +08:00
shilimesfriend 860e1e5dac fix: improve manual sort drag visual feedback and selection handling 2026-06-26 17:54:03 +08:00
shilimesfriend ad4c5e7339 fix: improve manual sort drag visual feedback and selection handling
- Add isDragging parameter to ReorderableItem lambda
- Apply alpha(0.5f) during drag for visual feedback
- Fix modifier chain structure for longPressDraggableHandle
- Add import for androidx.compose.ui.draw.alpha
- Ensure selection state displays correctly in edit mode
2026-06-26 17:50:56 +08:00
Kudomaga a490135163 Merge pull request #1546 from fansangg/fix/menu-style-update
fix:样式更新后,菜单内列未更新的问题
2026-06-26 00:58:51 +08:00
Kudomaga 476019b481 Merge pull request #1545 from fansangg/fix/edit-style-name
fix:修改样式名称时,bottomsheet被抬高的问题
2026-06-26 00:58:47 +08:00