feat(app): P0 batch 3 — offline detection with engine pause/resume + UI banner
P0-4 离线感知: - connectivity_plus → NetworkAvailability(online/offline/unknown) - engine_scope 三重绑定:有账号+有网 → start;任一失去 → stop(在途不中断) - 网络恢复 → start + onNetworkRestored(waitingNetwork 即时重试) - HomePage 顶部离线黄条(wifi_off + i18n 双语) P0-5 更正:EXIF 方向已由服务端 sharp .rotate() 自动转正——v2 分析误报 397/397 全绿、analyze 0 Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -428,5 +428,6 @@
|
||||
"posterSaved": "Poster saved to gallery",
|
||||
"posterSaveFailed": "Failed to save poster",
|
||||
"close": "Close",
|
||||
"albumUploadDisabled": "Upload is disabled for this album"
|
||||
"albumUploadDisabled": "Upload is disabled for this album",
|
||||
"networkOfflineBanner": "No network. Photos will upload automatically when reconnected."
|
||||
}
|
||||
|
||||
@@ -2023,6 +2023,12 @@ abstract class AppLocalizations {
|
||||
/// In zh, this message translates to:
|
||||
/// **'该相册已关闭上传,无法添加照片'**
|
||||
String get albumUploadDisabled;
|
||||
|
||||
/// No description provided for @networkOfflineBanner.
|
||||
///
|
||||
/// In zh, this message translates to:
|
||||
/// **'当前无网络连接,照片将在恢复后自动上传'**
|
||||
String get networkOfflineBanner;
|
||||
}
|
||||
|
||||
class _AppLocalizationsDelegate
|
||||
|
||||
@@ -1034,4 +1034,8 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String get albumUploadDisabled => 'Upload is disabled for this album';
|
||||
|
||||
@override
|
||||
String get networkOfflineBanner =>
|
||||
'No network. Photos will upload automatically when reconnected.';
|
||||
}
|
||||
|
||||
@@ -1001,4 +1001,7 @@ class AppLocalizationsZh extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String get albumUploadDisabled => '该相册已关闭上传,无法添加照片';
|
||||
|
||||
@override
|
||||
String get networkOfflineBanner => '当前无网络连接,照片将在恢复后自动上传';
|
||||
}
|
||||
|
||||
@@ -428,5 +428,6 @@
|
||||
"posterSaved": "海报已保存到相册",
|
||||
"posterSaveFailed": "海报保存失败",
|
||||
"close": "关闭",
|
||||
"albumUploadDisabled": "该相册已关闭上传,无法添加照片"
|
||||
"albumUploadDisabled": "该相册已关闭上传,无法添加照片",
|
||||
"networkOfflineBanner": "当前无网络连接,照片将在恢复后自动上传"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user