immich/mobile/lib/widgets
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
..
activities feat(mobile): use Weblate for i18n (2) (#17620) 2025-04-15 15:54:26 +00:00
album fix: Update locked folder text and improve translations (#18622) 2025-05-29 15:06:08 -05:00
asset_grid feat(mobile): add bulk download functionality (#18878) 2025-06-04 09:49:43 -05:00
asset_viewer feat: locked view mobile (#18316) 2025-05-20 13:35:22 +00:00
backup fix: Update locked folder text and improve translations (#18622) 2025-05-29 15:06:08 -05:00
common fix(mobile): notification, dialog that don't translate properly (#18827) 2025-06-01 21:03:22 -05:00
forms feat: locked view mobile (#18316) 2025-05-20 13:35:22 +00:00
map fix(mobile): empty translation placeholders (#18063) 2025-05-06 09:21:05 -04:00
memories chore: flutter 3.29.1 (#16730) 2025-03-10 21:46:36 -05:00
photo_view fix(mobile): double swipe (#18749) 2025-05-29 14:35:36 +00:00
search feat(mobile): map improvements (#17714) 2025-04-21 05:55:13 +00:00
settings feat(mobile): Improve language setting UI (#18854) 2025-06-03 09:30:39 -05:00
shared_link fix(mobile): empty translation placeholders (#18063) 2025-05-06 09:21:05 -04:00