immich/mobile/lib
JobiJoba 8733d1e554
feat(mobile): add bulk download functionality (#18878)
* 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
..
constants feat(mobile): Add new language to mobile (#18891) 2025-06-03 14:33:13 +00:00
domain feat(mobile): remote asset & exif sync (#18756) 2025-06-03 11:01:50 -05:00
entities fix: TimelineAsset visibility (#18395) 2025-05-20 15:53:34 +00:00
extensions feat(mobile): remote asset & exif sync (#18756) 2025-06-03 11:01:50 -05:00
infrastructure chore: add missing api properties on sync enums (#18916) 2025-06-04 08:21:34 -05:00
interfaces feat(mobile): add bulk download functionality (#18878) 2025-06-04 09:49:43 -05:00
mixins chore: flutter 3.29.1 (#16730) 2025-03-10 21:46:36 -05:00
models feat(mobile): add bulk download functionality (#18878) 2025-06-04 09:49:43 -05:00
pages fix(mobile): prevent upload intent replacement in splash screen and reset upload button when minimize app (#18914) 2025-06-04 08:30:23 -05:00
platform feat: delta sync (#18428) 2025-05-29 10:42:00 -05:00
presentation/pages/dev feat(mobile): remote asset & exif sync (#18756) 2025-06-03 11:01:50 -05:00
providers feat(mobile): add bulk download functionality (#18878) 2025-06-04 09:49:43 -05:00
repositories feat(mobile): add bulk download functionality (#18878) 2025-06-04 09:49:43 -05:00
routing feat(mobile): remote asset & exif sync (#18756) 2025-06-03 11:01:50 -05:00
services feat(mobile): add bulk download functionality (#18878) 2025-06-04 09:49:43 -05:00
theme feat: locked view mobile (#18316) 2025-05-20 13:35:22 +00:00
utils fix(mobile): t function localization (#18768) 2025-06-03 09:52:29 -05:00
widgets feat(mobile): add bulk download functionality (#18878) 2025-06-04 09:49:43 -05:00
main.dart fix(mobile): notification, dialog that don't translate properly (#18827) 2025-06-01 21:03:22 -05:00