Update BackupMediaSnapshot to be based on attachments in backup frames.

This commit is contained in:
Greyson Parrelli
2025-09-19 13:40:28 -04:00
committed by Jeffrey Starke
parent f39ad24cc1
commit c5753b96ff
8 changed files with 343 additions and 186 deletions

View File

@@ -43,11 +43,6 @@ fun InternalBackupStatsTab(stats: InternalBackupPlaygroundViewModel.StatsState,
label = "${stats.attachmentStats.totalUniqueMediaNames}"
)
Rows.TextRow(
text = "Total eligible for upload rows",
label = "${stats.attachmentStats.totalEligibleForUploadRows}"
)
Rows.TextRow(
text = "Total unique media names eligible for upload ⭐",
label = "${stats.attachmentStats.totalUniqueMediaNamesEligibleForUpload}"
@@ -73,6 +68,16 @@ fun InternalBackupStatsTab(stats: InternalBackupPlaygroundViewModel.StatsState,
label = "${stats.attachmentStats.pendingAttachmentUploadBytes} (~${stats.attachmentStats.pendingAttachmentUploadBytes.bytes.toUnitString()})"
)
Rows.TextRow(
text = "Last snapshot full-size count ⭐",
label = "${stats.attachmentStats.lastSnapshotFullSizeCount}"
)
Rows.TextRow(
text = "Last snapshot thumbnail count ⭐",
label = "${stats.attachmentStats.lastSnapshotThumbnailCount}"
)
Rows.TextRow(
text = "Uploaded attachment bytes ⭐",
label = "${stats.attachmentStats.uploadedAttachmentBytes} (~${stats.attachmentStats.uploadedAttachmentBytes.bytes.toUnitString()})"