Commit Graph

58 Commits

Author SHA1 Message Date
MagicLizi
baaaa406c7 Revert "Merge pull request #7123 from zqchris/cindy/merry-leakey"
This reverts commit 56e2fdf2aa, reversing
changes made to 206b24ccc8.

Conflict resolution:
- apps/mobile/src/session/BotGroupChatScreen.tsx: restore the pre-#7123
  timeline and offline note, and keep 5fd7c38ec1 (pending sends with
  retry/cancel, delayed offline notice, queue-aware composer) ported onto
  the pre-#7123 structure without AnimatedContentHeight or
  useMessageEntrances. Pending rows keep the stable `local:<clientId>` key
  for CompanionEntering so a confirmed send does not animate twice.
- docs/design-rules/design-inventory.md: regenerated from sources.

Signed-off-by: MagicLizi <jiali@magiclizi.com>
2026-10-26 22:20:30 +08:00
Chris
b3c1e1f13c fix(chat): coordinate continuous message layout and keyboard scrolling
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-10-25 17:07:17 +08:00
Lizi
784e8c477e Merge pull request #7046 from zqchris/cindy/swift-curie
feat(chat): connect cross-platform notifications and message responses
2026-10-25 07:53:10 +08:00
Dash
963b3f1e73 fix(mobile): 隔离构建环境并减少任务更新引发的重复渲染
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-25 10:34:57 +13:00
Chris
1be2cb1f10 feat(chat): connect cross-platform notifications and message responses
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-10-24 17:57:26 +08:00
Dash
93933624fe feat(dev): 桌面与手机共用的免登录 UI 模拟数据(--mock)
- @cindy/maker-shared/ui-mock:两端共用的演示项目与任务(桌面数据库行格式)
- Desktop:restart --mock 使用独立 ui-mock 沙箱,首次免账号进入并补齐模拟任务
- Mobile:sim:start/whoami/rebuild 支持 --mock,visual mock 改用共享数据
- 文档:docs/dev-rules/ui-mock-data.md,并在启动说明与 AGENTS 索引中链接

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-24 14:01:03 +13:00
Lizi
53705e7ece Merge pull request #6977 from makecindy/dash/android-wifi-auto-update
feat(mobile): 安卓在 Wi-Fi 自动下载更新并清理旧安装包
2026-10-23 22:12:46 +08:00
Dash
c6f8520473 fix(mobile): 区分更新卡的稍后与取消操作
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-24 01:32:18 +13:00
Dash
0fec066183 fix(mobile): 保护安装器副本并取消旧通道更新任务
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-24 01:29:14 +13:00
Dash
101b404a2a feat(mobile): 安卓在 Wi-Fi 自动下载更新并清理旧安装包
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-24 01:29:14 +13:00
Dash
75089bf711 refactor: organize session workflow boundaries and developer guidance
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-24 01:20:13 +13:00
Chris
cadbf7e13d fix(mobile): recover cold notification task entry after connection startup
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-10-21 23:31:41 +08:00
Chris Zhang
bdcd37d4c6 fix(mobile): resume interrupted Android update downloads (#6600)
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Co-authored-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-10-21 02:09:05 +08:00
Dash
200bf3e64c feat(mobile): 模拟器脚本默认优先 Cindy 模拟器,没有再用系统模拟器
mobile:sim:whoami / rebuild / open 不再固定系统(Xcode)设备目录:默认先找 Cindy
模拟器(官方 Baguette 插件的独立设备目录)中已启动的设备,未安装、插件关闭运行或
没有已启动设备时用系统模拟器;--udid 跟随设备所在目录。个人选择放在仓库外的
CINDY_MOBILE_SIMULATOR=auto|cindy|system|<设备目录绝对路径>。

非系统目录的设备用通用目标编译、simctl --set 安装启动;它们没有外部窗口,open 拒绝、
whoami --viewer 报不可用。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-19 16:43:08 +13:00
Lizi
aca5fbdead Merge pull request #6317 from makecindy/dash/mobile-cached-pending-messages
fix(mobile): 修复老任务缓存消息仍显示发送中
2026-10-17 17:34:11 +08:00
Dash
099acc4be0 fix(mobile): 优先用历史缓存结束旧消息发送等待
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-17 21:07:33 +13:00
Dash
81de6007bd fix(mobile): 原图就绪后立即更新上传中预览
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-17 20:48:28 +13:00
Dash
d50cfbc5dc Merge remote-tracking branch 'origin/main' into dash/mobile-optimistic-creation
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-17 18:41:41 +13:00
Dash
f78b8aa301 fix(mobile): preserve input entered during draft recovery
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-17 18:41:19 +13:00
Dash
99f8cc1b9e fix(mobile): 隔离留图账号并拒绝已取消上传的迟到缓存
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-17 17:14:46 +13:00
Dash
42dde81a27 fix(media): 保留手机和桌面已发送图片的离线缓存
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-17 16:55:03 +13:00
Dash
b2e6369f8e fix(mobile): 统一失败创建草稿的恢复与编辑判据
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-17 16:41:52 +13:00
Dash
43d34dc656 fix(mobile): 等待恢复草稿编辑结算并回收超限上传
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-17 16:14:41 +13:00
Dash
900593bcc6 fix(mobile): 底部活动提示保留位置,发送后不再跳动
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-17 15:56:48 +13:00
Dash
3442e5ea39 fix(mobile): 同步删除恢复草稿中的文字和附件
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-17 15:49:38 +13:00
Dash
79893e46f1 fix(mobile): 创建失败时带回已排队的后续消息
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-17 15:35:24 +13:00
Dash
6ff6a08326 fix(mobile): 补齐选择器恢复提示并同步主干附件流程
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-17 13:00:44 +13:00
Dash
91634b5552 fix(mobile): 选图后立即预览并后台读取 iCloud 照片 (#6242)
* fix(mobile): 选图确认后立即预览并后台读取 iCloud 原图

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(mobile): 本地化原生选图与原图读取错误

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

---------

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-17 07:48:57 +08:00
Dash
18d14a3826 fix(mobile): 自动恢复时保留当前输入并避开新附件输入
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-17 12:33:07 +13:00
Dash
b52bd0eff6 fix(mobile): 恢复新建任务乐观交互并清理失败恢复残留
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-17 12:10:52 +13:00
Cindy
80fe8599aa fix(mobile): 修复发件箱恢复阻挡首页缓存加载
Signed-off-by: Cindy <cindy@Cindys-Mac-mini.local>
2026-10-17 00:38:25 +13:00
Lizi
febe2e5110 Merge pull request #6199 from zqchris/android-update-sheet-redesign
feat(mobile): 安卓应用内更新改为一张卡走完全程
2026-10-16 16:05:00 +08:00
DavidShen
68d83f2a0d fix(mobile): 修复 Android 声纹录入的 ONNX 混淆闪退
Signed-off-by: DavidShen <david@xd.com>
2026-10-16 15:02:33 +08:00
zqchris
d7def78d8a feat(mobile): 安卓应用内更新改为一张卡走完全程
发现更新、授权说明、下载进度与安装在同一张内容高度的 Material 底部卡内切换,
替代系统弹窗 + 半屏可拖面板两段式;卡上展示应用图标、版本变化与更新内容。
未授权先说明、点击才进系统设置,拒绝后保留浏览器下载;强更屏按钮直接开始。

Signed-off-by: zqchris <chrisz83@gmail.com>
2026-10-16 13:25:46 +08:00
bobo
e57a79793b fix(mobile): enable Android release R8 optimization across regions (#6124)
Signed-off-by: xd-bobo <caojianbo@xd.com>
2026-10-15 21:07:49 +08:00
Dash
d51754316e fix(mobile): 保留后台刷新前已缓存的聊天历史 (#6128)
* fix(mobile): 保留后台预读前已缓存的历史消息和详情

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix: keep history read-ahead within existing cache budgets

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

---------

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-15 20:24:06 +08:00
DavidShenXD
0bbf5b39c0 fix(mobile): 修复新建任务失败后空白且无法恢复 (#6055)
* fix(mobile): restore task entry recovery after creation failures

Signed-off-by: DavidShen <david@xd.com>

* docs(design): sync mobile session recovery inventory

Signed-off-by: DavidShen <david@xd.com>

* fix(mobile): finish edit recovery after leaving the task

Signed-off-by: DavidShen <david@xd.com>

* fix(mobile): preserve recovery ownership across task remounts

Signed-off-by: DavidShen <david@xd.com>

* fix(mobile): retain mirror-confirmed sources across reconnects

Signed-off-by: DavidShen <david@xd.com>

* fix(mobile): scope recovered edit drafts to their failed tasks

Signed-off-by: DavidShen <david@xd.com>

* fix(mobile): retain durable edit recovery until form handoff

Signed-off-by: DavidShen <david@xd.com>

* fix(mobile): align recovery navigation and subscription guards

Signed-off-by: DavidShen <david@xd.com>

* fix(mobile): retire stale creation tasks on account changes

Signed-off-by: DavidShen <david@xd.com>

* fix(mobile): preserve durable edit recovery across restarts

Signed-off-by: DavidShen <david@xd.com>

* fix(mobile): persist send suspension before worktree cleanup

Signed-off-by: DavidShen <david@xd.com>

* fix(mobile): release durable draft claims when editors leave

Signed-off-by: DavidShen <david@xd.com>

* fix(mobile): retain recovery through draft resubmission

Signed-off-by: DavidShen <david@xd.com>

* fix(mobile): suppress stale return-to-edit error alerts

Signed-off-by: DavidShen <david@xd.com>

---------

Signed-off-by: DavidShen <david@xd.com>
2026-10-15 12:33:39 +08:00
bobo
7085c77678 fix(mobile): 从 Play AAB 移除安装包权限 (#5187)
* fix(mobile): exclude package install permission from Play AAB

Signed-off-by: xd-bobo <caojianbo@xd.com>

* docs(mobile): clarify Play artifact permission validation

Signed-off-by: xd-bobo <caojianbo@xd.com>

* test(mobile): remove duplicate goal route fixture bindings

Signed-off-by: xd-bobo <caojianbo@xd.com>

---------

Signed-off-by: xd-bobo <caojianbo@xd.com>
2026-10-13 20:30:49 +08:00
Dash
a0327ce33a fix(mobile): 保留已发送消息直到本地历史缓存接管
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-09 15:15:06 +13:00
Dash
d460df8c17 fix(mobile): 安卓本地库写满时清理旧消息缓存并重试发送 (#5404)
* fix(mobile): 安卓本地库写满时清理旧消息缓存并重试发送

旧版把消息缓存写在 AsyncStorage,未打开会话的旧副本会占满安卓 6 MiB 库,
导致发件箱写入 SQLITE_FULL、所有任务都无法发送(#5403)。

- 启动时丢弃剩余旧 AsyncStorage 消息条目(可从主机重建,不动文件与其他键)
- 发件箱写入遇到 SQLITE_FULL 先丢弃旧条目再重试一次,仍失败给出本地存储已满提示

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(mobile): 旧消息缓存改为迁移成文件而非直接丢弃

旧条目里的 mobile-system-* 卡片没有服务端副本,直接删除会永久丢失。
启动与写满重试改为逐条走 getItem 迁移(成功后才删旧值),与同 key 写删
共用队列,登出全清会作废排队中的迁移。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(mobile): 已有文件缓存时也清理残留的旧 AsyncStorage 副本

文件已存在时 getItem 直接返回文件,不会删除旧值;回退旧版或此前删除失败
留下的旧条目因此会一直占库。新增 migrateLegacy:已有文件时只删旧值,
否则走原迁移路径。

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

---------

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-03 15:34:11 +08:00
Chris Zhang
ac0c2a4a63 feat(ios): 伙伴推送显示头像和名字 (#5268)
* feat(ios): add teammate identity to communication notifications

Signed-off-by: zqchris <chrisz83@gmail.com>

* test(notifications): cover teammate avatars in session previews

Signed-off-by: zqchris <chrisz83@gmail.com>

* fix(notifications): load sharp through a static import

Signed-off-by: zqchris <chrisz83@gmail.com>

---------

Signed-off-by: zqchris <chrisz83@gmail.com>
2026-09-30 20:05:01 +08:00
bobo
fd73bc91fd fix(mobile): route Google Play installs away from website APK updates (#5181)
* fix(mobile): route Play installs away from website APK updates

Signed-off-by: xd-bobo <caojianbo@xd.com>

* fix(mobile): address Play update review feedback

Signed-off-by: xd-bobo <caojianbo@xd.com>

---------

Signed-off-by: xd-bobo <caojianbo@xd.com>
2026-09-28 16:33:52 +08:00
bobo
a21072bbbd fix(mobile): 恢复中国大陆版 iOS 微信登录并修正身份选择行 (#5161)
* fix(mobile): enable Mainland China WeChat sign-in

Signed-off-by: xd-bobo <caojianbo@xd.com>

* fix(mobile): keep identity row content inside native button

Signed-off-by: xd-bobo <caojianbo@xd.com>

* fix(mobile): show WeChat only on installed CN iPhones

Signed-off-by: xd-bobo <caojianbo@xd.com>

* fix(mobile): dim disabled identity row contents

Signed-off-by: xd-bobo <caojianbo@xd.com>

---------

Signed-off-by: xd-bobo <caojianbo@xd.com>
2026-09-28 11:36:59 +08:00
Dash
53c45c9218 fix(mobile): 移除分享确认的逐文件标记与部分回滚
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-27 11:07:43 +13:00
Dash
fd3713202e fix(mobile): 防止已处理分享附件在重启后恢复
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-27 10:44:53 +13:00
Dash
5ac26ed2bd fix(remote-desktop): 修复多屏 Mac 解锁并隔离手机指纹影响 (#4896)
* fix(remote-desktop): 修复多屏 Mac 自动解锁窗口识别

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* test(remote-desktop): 覆盖多窗口采集预算与对象映射

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(remote-desktop): 副屏变化时仍清理原密码框

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* fix(mobile): 排除 Mac 专用凭证源码的指纹变化

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

* test(mobile): 兼容指纹边界测试的 Windows 换行

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>

---------

Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-25 21:29:53 +08:00
bobo
e4d05c9bee fix(mobile): 修复微信回调并暂时隐藏手机登录入口 (#4943)
* fix(mobile): 避免微信登录回调进入错误页面

Signed-off-by: xd-bobo <caojianbo@xd.com>

* fix(mobile): route WeChat Universal Link verification callbacks

Signed-off-by: xd-bobo <caojianbo@xd.com>

* fix(mobile): include required WeChat URL parameter query scheme

Signed-off-by: xd-bobo <caojianbo@xd.com>

* fix(mobile): temporarily hide WeChat sign-in on phones

Signed-off-by: xd-bobo <caojianbo@xd.com>

---------

Signed-off-by: xd-bobo <caojianbo@xd.com>
2026-09-23 22:45:15 +08:00
Dash
ea8ce325bb fix(mobile): 缓存清理失败后仍尝试其余删除
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-23 15:16:22 +08:00
Dash
81c0345348 fix(mobile): 清理缓存无需写入并阻止失败清理后的账号激活
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-23 15:01:00 +08:00
Dash
2022be6b9c fix(mobile): 统一消息文件缓存并提示存储失败
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-23 14:17:42 +08:00