feat(app): 选图拦截 v2——硬封锁+仅本机判定,治点选卡顿与连点强穿
问题(用户反馈):v1 服务器单项预检(2s 帽)弱网下把每次点选的勾选卡 0.5~2s(selectPredicate await 期间 selectAsset 不执行);配合「二次点击 强制选择」活口,重复照片被连点强制选中,拦截形同虚设。 - 判定仅查本机 TaskStore(毫秒级)——服务器查重退至入队统一弹窗+409 兜底 - 硬封锁:本机命中每次点击均拒选(_forced 放行集移除),文案不再引导再点 - 判定缓存升级 in-flight Future 共享(putIfAbsent):同一照片连点只判一次 (清偿 9-29 评审登记 Minor 遗留) - 构造去 client/serverCheckTimeout;iOS title 空放行(跨设备判定在入队弹窗) - 已接受限制(用户拍板 A):后台已删照片重传同文件被本机历史永拦 Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -351,7 +351,7 @@
|
||||
}
|
||||
},
|
||||
"uploadPickNone": "No photos selected",
|
||||
"pickerDuplicateBlocked": "Already uploaded to this album — tap again to select anyway",
|
||||
"pickerDuplicateBlocked": "This photo has already been uploaded to this album",
|
||||
"albumManagePhotos": "Manage photos",
|
||||
"albumTakeFirstPhoto": "Take the first photo",
|
||||
"albumUploadDisabledHint": "Uploads are off for this album. New photos cannot be added right now",
|
||||
|
||||
@@ -1703,7 +1703,7 @@ abstract class AppLocalizations {
|
||||
/// No description provided for @pickerDuplicateBlocked.
|
||||
///
|
||||
/// In zh, this message translates to:
|
||||
/// **'这张已上传到该相册——再点一次可强制选择'**
|
||||
/// **'这张已上传到该相册,无法重复选择'**
|
||||
String get pickerDuplicateBlocked;
|
||||
|
||||
/// No description provided for @albumManagePhotos.
|
||||
|
||||
@@ -865,7 +865,7 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String get pickerDuplicateBlocked =>
|
||||
'Already uploaded to this album — tap again to select anyway';
|
||||
'This photo has already been uploaded to this album';
|
||||
|
||||
@override
|
||||
String get albumManagePhotos => 'Manage photos';
|
||||
|
||||
@@ -835,7 +835,7 @@ class AppLocalizationsZh extends AppLocalizations {
|
||||
String get uploadPickNone => '未选择照片';
|
||||
|
||||
@override
|
||||
String get pickerDuplicateBlocked => '这张已上传到该相册——再点一次可强制选择';
|
||||
String get pickerDuplicateBlocked => '这张已上传到该相册,无法重复选择';
|
||||
|
||||
@override
|
||||
String get albumManagePhotos => '管理照片';
|
||||
|
||||
@@ -351,7 +351,7 @@
|
||||
}
|
||||
},
|
||||
"uploadPickNone": "未选择照片",
|
||||
"pickerDuplicateBlocked": "这张已上传到该相册——再点一次可强制选择",
|
||||
"pickerDuplicateBlocked": "这张已上传到该相册,无法重复选择",
|
||||
"albumManagePhotos": "管理照片",
|
||||
"albumTakeFirstPhoto": "拍摄第一张照片",
|
||||
"albumUploadDisabledHint": "相册已关闭上传,暂不能新增照片",
|
||||
|
||||
Reference in New Issue
Block a user