feat(app): 服务端历史行首缩略图 + 上传中心空态引导至服务端历史

- UploadSessionPhoto 解析可选 preview;历史行首有 thumb 渲染 PhotoThumbnail
 (SizedBox 定寸——Row 内裸 AspectRatio 无界约束),缺省回退中性占位
- 上传中心整体空态加「仅本机存储」说明 + 「查看服务端历史」tonal 按钮
 (与右上 History 同路由);「需关注」空态保持专属文案不加引导
- l10n 增 queueEmptyDeviceHint / queueViewServerHistory

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-09-29 12:04:06 +08:00
parent f1912998a8
commit 3728eb93d9
10 changed files with 141 additions and 18 deletions
+2
View File
@@ -230,6 +230,8 @@
"queueTimeLast7Days": "Last 7 days",
"queueTimeLast30Days": "Last 30 days",
"queueEmpty": "No upload tasks",
"queueEmptyDeviceHint": "Upload records live on this device only and are cleared on reinstall",
"queueViewServerHistory": "View server history",
"queueRetryAllFailed": "Retry all failed",
"queueAttemptCount": "{count} attempt(s)",
"@queueAttemptCount": {
@@ -1268,6 +1268,18 @@ abstract class AppLocalizations {
/// **'暂无上传任务'**
String get queueEmpty;
/// No description provided for @queueEmptyDeviceHint.
///
/// In zh, this message translates to:
/// **'上传记录仅保存在本机,卸载重装后不会保留'**
String get queueEmptyDeviceHint;
/// No description provided for @queueViewServerHistory.
///
/// In zh, this message translates to:
/// **'查看服务端历史'**
String get queueViewServerHistory;
/// No description provided for @queueRetryAllFailed.
///
/// In zh, this message translates to:
@@ -622,6 +622,13 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get queueEmpty => 'No upload tasks';
@override
String get queueEmptyDeviceHint =>
'Upload records live on this device only and are cleared on reinstall';
@override
String get queueViewServerHistory => 'View server history';
@override
String get queueRetryAllFailed => 'Retry all failed';
@@ -604,6 +604,12 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get queueEmpty => '暂无上传任务';
@override
String get queueEmptyDeviceHint => '上传记录仅保存在本机,卸载重装后不会保留';
@override
String get queueViewServerHistory => '查看服务端历史';
@override
String get queueRetryAllFailed => '一键重试全部失败';
+2
View File
@@ -230,6 +230,8 @@
"queueTimeLast7Days": "近7天",
"queueTimeLast30Days": "近30天",
"queueEmpty": "暂无上传任务",
"queueEmptyDeviceHint": "上传记录仅保存在本机,卸载重装后不会保留",
"queueViewServerHistory": "查看服务端历史",
"queueRetryAllFailed": "一键重试全部失败",
"queueAttemptCount": "已尝试 {count} 次",
"@queueAttemptCount": {