immich/mobile/lib/widgets/asset_grid
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
..
asset_drag_region.dart refactor(mobile): widgets (#9291) 2024-05-06 23:04:21 -05:00
asset_grid_data_structure.dart perf(mobile): optimize date loading with batch loading (#17240) 2025-04-14 19:06:36 +00:00
control_bottom_app_bar.dart feat(mobile): add bulk download functionality (#18878) 2025-06-04 09:49:43 -05:00
delete_dialog.dart feat(mobile): use Weblate for i18n (2) (#17620) 2025-04-15 15:54:26 +00:00
disable_multi_select_button.dart feat(mobile): add support for material themes (#11560) 2024-08-06 14:20:27 +00:00
draggable_scrollbar.dart refactor(mobile): widgets (#9291) 2024-05-06 23:04:21 -05:00
draggable_scrollbar_custom.dart fix(mobile): scroll thumb is hidden behind the tab navigation bar (#12512) 2024-09-09 19:15:47 +00:00
group_divider_title.dart feat(mobile): add support for material themes (#11560) 2024-08-06 14:20:27 +00:00
immich_asset_grid.dart feat(mobile): save grid size on gesture resize (#17891) 2025-04-28 09:23:33 -05:00
immich_asset_grid_view.dart feat(mobile): Capitalize month names in asset grid (#17898) 2025-04-28 13:56:36 +00:00
multiselect_grid.dart feat(mobile): add bulk download functionality (#18878) 2025-06-04 09:49:43 -05:00
multiselect_grid_status_indicator.dart feat(album): album view sort order (#14648) 2024-12-16 16:11:48 +00:00
thumbnail_image.dart chore: flutter 3.29.1 (#16730) 2025-03-10 21:46:36 -05:00
thumbnail_placeholder.dart feat(mobile): add support for material themes (#11560) 2024-08-06 14:20:27 +00:00
upload_dialog.dart feat(mobile): use Weblate for i18n (2) (#17620) 2025-04-15 15:54:26 +00:00