Skip to content

重构信箱阅读与设备管理,支持系统主题和未读筛选 - #28

Merged
Disdjj merged 12 commits into
mainfrom
gossamer-salmon
Sep 5, 2026
Merged

重构信箱阅读与设备管理,支持系统主题和未读筛选#28
Disdjj merged 12 commits into
mainfrom
gossamer-salmon

Conversation

@Disdjj

@Disdjj Disdjj commented Sep 5, 2026

Copy link
Copy Markdown
Member

将主导航收敛为「信箱 / 设备」。信箱保留为首页,提供固定搜索与筛选工具栏、独立阅读页和批量操作面板;设备总览分别进入连接配置、授权与安全、能力、运行详情及活动记录。界面随系统切换浅深主题。

能力变化

  • 新增本机信箱未读筛选,在数据库 LIMIT 前过滤,避免较早未读消息被近期已读消息挤出。
  • 活动记录移入设备管理,使用独立页面并提供返回入口。
  • 重组连接配置与授权设置,保留紧急停用、远程确认、清除二次确认、凭证遮蔽和实际 capability probe。
  • 未新增远程工具、依赖或数据库 schema migration。

权限变化与平台差异

  • 无系统权限或原生能力配置变化。
  • Android / iOS 共用主题与页面结构;既有后台运行和权限的平台差异不变。
  • 本次验证覆盖 Android Preview;iOS 构建、双端完整真机矩阵及相机/音频/后台能力验收未执行。

验证证据

  • Node 22.23.1 / pnpm 11.21.0:pnpm verify 通过,87 个测试套件、440 个测试。
  • 覆盖主题切换与对比度、未读查询、操作面板、设备入口、授权与权限拒绝边界。
  • React Native Web 浅深主题样例预览和设备→活动记录→设备往返检查通过;样例不替代原生导航验收。
  • Temurin Java 17.0.20 / Android SDK 36:pnpm build:android:preview clean prebuild 与 assembleRelease 成功。
  • APK 为 ai.tokenroll.toolbridgemobile.preview,版本 0.0.14 / versionCode 14;内部测试签名验证通过,并确认内置 assets/index.android.bundle 与 Preview JS 配置。
  • 已通过 adb install -r 在 Android 16 / arm64-v8a 真机覆盖安装,安装返回 Success;显式启动 MainActivity 返回 Status: okLaunchState: COLD
  • 真机 UIAutomator 检查未完成:读取界面树返回 could not get idle state,不计为自动化导航验收通过。删除旧的 Android UI smoke 脚本及 pnpm 命令入口,清理 README/llmdoc 的脚本引用;辅助技术和真机验收要求继续保留。
  • APK 对应代码提交 f5032d7,SHA-256:df8f39f3a33f96b8171ee239c4555679b933d1c7dd5944cda9a6fa3ef04777fe

回滚方式

回滚本 PR 的变更并重新构建、覆盖安装兼容版本的 App。没有数据库 schema migration,回滚无需清除消息、设置或凭证。

文档更新

同步 README 与 llmdoc 的导航、未读过滤、系统主题、确认与权限边界、集成入口和 DOD 条目,移除已删除 smoke 脚本的命令和路径引用。

Refresh every screen with shared light/dark semantic colors, clearer message and device layouts, and readable confirmation controls. Preserve runtime policy and platform permissions; keep pending interactions when system appearance changes.
Keep the inbox as the landing page, move local actions into sheets, and split connection and authorization into dedicated routes. Query unread messages before limiting results so older unread items remain discoverable. Preserve remote confirmation, permission probes, and credential storage boundaries.
Keep only inbox and device tabs for frequent access. Open audit history from device management as a detail route with a back action, and preserve audit clearing behavior.
Remove the legacy UiAutomator script and its pnpm entry point; retain normal verification and device acceptance requirements.
@Disdjj
Disdjj merged commit 2e0bc5b into main Sep 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant