|
|
4f6dc2f36a
|
refactor(ui): 补全开放源代码许可依赖项并优化页面组件
|
2026-07-24 13:28:48 +08:00 |
|
|
|
bff6e37908
|
fix(recorder): preserve record ID when editing photo of an existing record
|
2026-07-24 11:16:44 +08:00 |
|
|
|
8963b6162b
|
feat(date-recorder): photo journal tool with camera, editor, and album grid
新增"日期记录器"工具:相册式记录管理,支持拍照→编辑→记录信息的完整流程。
数据层:
- Room 2.8.4 首个数据库(KSP 2.3.10),DateRecord 实体含标题/备注/拍摄日期/关联日期
- DateRecordConverters 处理 kotlinx-datetime ↔ ISO 字符串
- DateRecorderRepository 封装 DAO + filesDir 照片文件管理
UI 层:
- CameraScreen: CameraX 1.5.3 应用内预览,运行时权限请求,前后摄切换
- PhotoEditorScreen: 纯 Compose 自实现旋转/裁剪/手写三 Tab 编辑器
- DateRecorderScreen: LazyVerticalGrid 相册网格 + 多选 + 6 种排序 + 批量删除
- RecordEditScreen / RecordDetailScreen: 记录信息编辑与详情查看
基础设施:
- CAMERA 权限 + FileProvider(filesDir 存储,免存储权限)
- 5 个 Activity 延续项目 Activity+Intent 滑动转场模式
- 2 个单测:排序逻辑 6 种组合 + 降采样计算
|
2026-07-17 13:21:45 +08:00 |
|
|
|
a5795b16dc
|
feat(shift): add ShiftPatternActivity, Screen, and mini calendar grid
|
2026-07-06 18:52:16 +08:00 |
|
|
|
3fcdeab702
|
feat: navigate to DogParkActivity from AboutActivity
|
2026-06-16 16:31:01 +08:00 |
|
|
|
ac48a56465
|
feat: add DogParkActivity with fade-in entry transition
|
2026-06-16 16:24:10 +08:00 |
|
|
|
9d2f67b9fb
|
feat: wire up version click easter egg in AboutScreen
|
2026-06-16 16:03:51 +08:00 |
|
|
|
85bfba241c
|
fix(splash): use dedicated raster icon asset for splash screen
|
2026-06-16 13:32:00 +08:00 |
|
|
|
fd8e1fc1cb
|
fix(splash): use raster launcher icon to avoid adaptive-icon crash
|
2026-06-16 13:25:19 +08:00 |
|
|
|
21327d572b
|
feat(splash): add custom SplashActivity with background image
|
2026-06-16 13:11:43 +08:00 |
|
|
|
8204ae15cf
|
feat(splash): use SplashScreen API with custom background
|
2026-06-16 12:27:12 +08:00 |
|
|
|
0edcc005bc
|
feat(splash): add SplashActivity with 400ms delay
|
2026-06-16 12:00:02 +08:00 |
|
|
|
bcc59ca7a0
|
refactor(benchmark): remove dead code and polish comments
|
2026-06-15 19:18:12 +08:00 |
|
|
|
ccffcfb052
|
feat(app): integrate SplashScreen and reportFullyDrawn in MainActivity
|
2026-06-15 17:17:20 +08:00 |
|
|
|
564e4e3960
|
refactor: 清理无效 ProGuard 规则、调试日志,trace 解耦 VM
P0 正确性与工程卫生修复:
- 删除 core/proguard-rules.pro 中全部无效的 -keepclassmembers 规则
(LunarCache.getOrCompute 实为实例 suspend 方法,generateMonthDays 实为
private,签名均不匹配,属 placebo);同时移除 core/build.gradle.kts
release block 内重复的 consumerProguardFiles 声明
- 将 7 处 composeTrace 调用从 CalendarViewModel 移至 Compose 层
(MenuItem.onClick / onMonthClick / BottomCard 回调),VM 不再依赖
android.os.Trace,可在纯 JVM 环境测试无需兜底
- 删除 CalendarViewModel 与 4 个 UI 文件中约 30 处 logd 调用及其辅助
变量/ SideEffect/ DisposableEffect (AnimLog.kt 工具函数保留)
- 删除 CalendarViewModel.getIsoWeekNumber 不可达的 weekNumber < 1 递归分支
- 修正 MainActivity.kt setContent 块缩进错位
- 同步 README: sketch 渲染 GIF→动画 WebP,补提 :macrobenchmark 模块;
删除 AGENTS.md 顶部过时的「README 与实际不符」注释
验证: spotlessApply UP-TO-DATE, testDebugUnitTest 全过,
assembleDebug + assembleRelease (R8) 均成功
|
2026-06-15 16:24:38 +08:00 |
|
|
|
f34e34e5ae
|
feat: 引入 YaYaTheme 并应用到所有 Activity
新增 Theme.kt 提供 Android 12+ 动态颜色支持,
为全部 5 个 Activity 的 setContent 包裹 YaYaTheme。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-06-01 13:25:27 +08:00 |
|
|
|
dead12fdf4
|
cleanup: 提取 Activity 基类、修复 Compose 状态、精简资源
A. 提取 Activity 共用代码:
- 新增 BaseActivity 基类,统一处理 enableEdgeToEdge 和 slide 转场动画
- 5 个子 Activity 从 ~212 行简化为 ~50 行,减少 150+ 行重复代码
B. 修复 Compose 状态问题:
- BottomCardArea: 移除对 selectedDate/isCollapsed 的独立 StateFlow 订阅,
统一使用 uiState 聚合流
- 替换脆弱的 SideEffect 帧计数器为显式 LaunchedEffect + delay(32)
C. 资源精简:
- 删除 mipmap-mdpi 和 mipmap-hdpi 密度(现代设备已被覆盖)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-25 15:08:00 +08:00 |
|
|
|
93c02810bf
|
feat: 工具页面添加"日期检查器"入口,支持跳转详情页
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-25 10:24:12 +08:00 |
|
|
|
e30540b2dc
|
feat: FAB 菜单添加"工具"入口,跳转空白工具页面
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-25 10:20:36 +08:00 |
|
|
|
e02459e8c9
|
build: 删除未引用的 kotlin-test 条目,移除 @Preview,uiTooling 改为 debugImplementation
- 删除 libs.versions.toml 中未被任何模块引用的 kotlin-test 孤儿条目
- 移除所有 @Preview 注解和 Preview 函数(5 个文件)
- app/core 模块的 compose-uiTooling 从 implementation 改为
debugImplementation,避免打包到 release APK
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-22 17:53:05 +08:00 |
|
|
|
2028897ce3
|
docs: 同步 AGENTS.md 文档,反映纯 Android 项目结构
- 更新所有层级 AGENTS.md 中的模块描述(:app / :core)
- 移除 KMP/iOS 相关引用,统一为纯 Android + Jetpack Compose
- 同步构建命令和测试路径
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-20 16:46:17 +08:00 |
|
|
|
f5cc4ef2e5
|
refactor: 完成纯 Android 迁移,清理旧 KMP 模块并添加 app/core 新模块
- 删除遗留的 androidApp/、shared/ 等 KMP 结构文件
- 将新的 app/、core/ 纯 Android 模块纳入版本控制
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-20 15:55:08 +08:00 |
|