mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
feat: show preparing/hashing status in backup page (#22222)
* only show preparing information while hashing * pr feedback * use count * use a single query for count * use Mert's query
This commit is contained in:
parent
0bbeb20595
commit
7a0107fc79
6 changed files with 280 additions and 97 deletions
|
|
@ -89,16 +89,8 @@ class UploadService {
|
|||
return _uploadRepository.getActiveTasks(group);
|
||||
}
|
||||
|
||||
Future<int> getBackupTotalCount() {
|
||||
return _backupRepository.getTotalCount();
|
||||
}
|
||||
|
||||
Future<int> getBackupRemainderCount(String userId) {
|
||||
return _backupRepository.getRemainderCount(userId);
|
||||
}
|
||||
|
||||
Future<int> getBackupFinishedCount(String userId) {
|
||||
return _backupRepository.getBackupCount(userId);
|
||||
Future<({int total, int remainder, int processing})> getBackupCounts(String userId) {
|
||||
return _backupRepository.getAllCounts(userId);
|
||||
}
|
||||
|
||||
Future<void> manualBackup(List<LocalAsset> localAssets) async {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue