immich/mobile/lib/interfaces
JobiJoba 8733d1e554
feat(mobile): add bulk download functionality ()
* feat(mobile): add bulk download functionality and update UI messages

- Added `downloadAll` method to `IDownloadRepository` and its implementation in `DownloadRepository` to handle multiple asset downloads.
- Implemented `downloadAllAsset` in `DownloadStateNotifier` to trigger bulk downloads.
- Updated `DownloadService` to create download tasks for all selected assets.
- Enhanced UI with new download success and failure messages in `en.json`.
- Added download button to `ControlBottomAppBar` and integrated download functionality in `MultiselectGrid`.

* translations use i18n method t()

* Update mobile/lib/services/download.service.dart

Co-authored-by: shenlong <139912620+shenlong-tanwen@users.noreply.github.com>

* fix(mobile): update download logic in DownloadService

- Changed the download method to utilize downloadAll for handling multiple tasks.
- Simplified remoteId check by removing unnecessary condition.

* sort i18n keys

* remove the download signature from interface and logic as we use the downloadAll now

---------

Co-authored-by: shenlong <139912620+shenlong-tanwen@users.noreply.github.com>
2025-06-04 09:49:43 -05:00
..
activity_api.interface.dart refactor(mobile): more repositories () 2024-09-24 08:24:48 +02:00
album.interface.dart refactor: user entity () 2025-03-12 08:56:56 -05:00
album_api.interface.dart feat(album): album view sort order () 2024-12-16 16:11:48 +00:00
album_media.interface.dart refactor(mobile): encapsulate most access to photomanager in repository () 2024-09-18 17:15:52 +02:00
asset.interface.dart fix(mobile): recently added -> taken () 2025-04-23 12:38:25 +01:00
asset_api.interface.dart feat: locked view mobile () 2025-05-20 13:35:22 +00:00
asset_media.interface.dart fix(mobile): incorrect filename is retrieved during upload () 2024-09-27 22:28:31 +07:00
auth.interface.dart feat(mobile): Auto switching server URLs () 2024-12-05 09:11:48 -06:00
auth_api.interface.dart feat: locked view mobile () 2025-05-20 13:35:22 +00:00
backup_album.interface.dart refactor(mobile): backup provider () 2025-02-27 09:56:23 -06:00
biometric.interface.dart feat: locked view mobile () 2025-05-20 13:35:22 +00:00
database.interface.dart refactor(mobile): DB repository for asset, backup, sync service () 2024-09-30 21:37:30 +07:00
download.interface.dart feat(mobile): add bulk download functionality () 2025-06-04 09:49:43 -05:00
etag.interface.dart refactor(mobile): remove int user id () 2025-03-18 11:05:37 -05:00
file_media.interface.dart fix(mobile): Fix minor issues with downloading assets () 2024-10-20 12:56:02 -05:00
folder_api.interface.dart feat(mobile): Folder View for mobile () 2025-03-06 17:27:43 +00:00
local_files_manager.interface.dart fix(mobile): auto trash using MANAGE_MEDIA () 2025-04-24 19:09:50 -05:00
network.interface.dart feat(mobile): Auto switching server URLs () 2024-12-05 09:11:48 -06:00
partner.interface.dart refactor: user entity () 2025-03-12 08:56:56 -05:00
partner_api.interface.dart refactor: user entity () 2025-03-12 08:56:56 -05:00
person_api.interface.dart fix(mobile): search page issues () 2025-01-31 03:12:57 +00:00
secure_storage.interface.dart feat: locked view mobile () 2025-05-20 13:35:22 +00:00
share_handler.interface.dart feat(mobile): share to mechanism () 2025-01-16 21:20:44 -06:00
timeline.interface.dart fix(mobile): Showing videos of partner in search page quick links () 2025-06-02 09:35:18 -05:00
upload.interface.dart feat(mobile): share to mechanism () 2025-01-16 21:20:44 -06:00