feat(android): 列表刷新搜索、底栏图标、全屏阅读与内联图片
CI / backend (push) Waiting to run

任务/工单/知识列表补搜索与刷新(任务搜索改为停手 350ms 再请求);底栏五个入口配官方 Material 图标;知识正文改为整屏阅读页,不再用弹窗挤在 320dp 里;正文图片走 Markwon 渲染,相对地址补后端域名、附件链换 access token,超过 12MB 或加载失败不拖垮整篇正文。版本 0.5.0。
This commit is contained in:
Steven
2026-11-10 16:34:01 +08:00
parent d58cf7922e
commit 4cb054d32f
8 changed files with 642 additions and 263 deletions
+6 -2
View File
@@ -27,8 +27,8 @@ android {
minSdk = 26
targetSdk = 35
// 版本号是 OTA 的唯一判据:后端只比对 version_code,改这里才算"有新版本"
versionCode = 4
versionName = "0.4.0"
versionCode = 5
versionName = "0.5.0"
buildConfigField("String", "API_BASE", "\"$apiBase\"")
}
@@ -112,6 +112,10 @@ dependencies {
// 表格与删除线:Web 端正文支持,安卓不能把 | 管道符原样吐给读者
implementation("io.noties.markwon:ext-tables:4.6.2")
implementation("io.noties.markwon:ext-strikethrough:4.6.2")
// 正文图片:微信公众号转存后图片是正文里的 markdown 图,不能只当末尾附件
implementation("io.noties.markwon:image:4.6.2")
// 底部导航图标用官方 Material 图标集,不自己画五个 ImageVector
implementation("androidx.compose.material:material-icons-core")
implementation("io.coil-kt:coil-compose:2.7.0")
debugImplementation("androidx.compose.ui:ui-tooling")
}