High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore: add asset debug action to all bottom sheets (#30611)
shenlong1c5770601dc5
diff --git a/mobile/lib/presentation/widgets/bottom_sheet/archive_bottom_sheet.widget.dart b/mobile/lib/presentation/widgets/bottom_sheet/archive_bottom_sheet.widget.dartindex 3e5edaa149..837397254c 100644--- a/mobile/lib/presentation/widgets/bottom_sheet/archive_bottom_sheet.widget.dart+++ b/mobile/lib/presentation/widgets/bottom_sheet/archive_bottom_sheet.widget.dart@@ -5,6 +5,7 @@ import 'package:immich_mobile/constants/enums.dart';import 'package:immich_mobile/domain/models/album/album.model.dart';import 'package:immich_mobile/presentation/actions/action.widget.dart';import 'package:immich_mobile/presentation/actions/archive.action.dart';+import 'package:immich_mobile/presentation/actions/asset_debug.action.dart';import 'package:immich_mobile/presentation/actions/delete.action.dart';import 'package:immich_mobile/presentation/actions/download.action.dart';import 'package:immich_mobile/presentation/actions/edit_datetime.action.dart';@@ -73,6 +74,7 @@ class _ArchiveBottomSheetState extends ConsumerState<ArchiveBottomSheet> {maxChildSize: 0.85,shouldCloseOnMinExtent: false,actions: const <ActionColumnButton>[+ .new(action: AssetDebugAction(source: .timeline)),.new(action: ShareAction(source: .timeline)),.new(action: ShareLinkAction(source: .timeline)),.new(action: ArchiveAction(source: .timeline)),diff --git a/mobile/lib/presentation/widgets/bottom_sheet/favorite_bottom_sheet.widget.dart b/mobile/lib/presentation/widgets/bottom_sheet/favorite_bottom_sheet.widget.dartindex 7540da4fff..3322035320 100644--- a/mobile/lib/presentation/widgets/bottom_sheet/favorite_bottom_sheet.widget.dart+++ b/mobile/lib/presentation/widgets/bottom_sheet/favorite_bottom_sheet.widget.dart@@ -5,6 +5,7 @@ import 'package:immich_mobile/domain/models/asset/base_asset.model.dart';import 'package:immich_mobile/extensions/translate_extensions.dart';import 'package:immich_mobile/presentation/actions/action.widget.dart';import 'package:immich_mobile/presentation/actions/archive.action.dart';+import 'package:immich_mobile/presentation/actions/asset_debug.action.dart';import 'package:immich_mobile/presentation/actions/delete.action.dart';import 'package:immich_mobile/presentation/actions/download.action.dart';import 'package:immich_mobile/presentation/actions/edit_datetime.action.dart';@@ -75,6 +76,7 @@ class FavoriteBottomSheet extends ConsumerWidget {maxChildSize: 0.7,shouldCloseOnMinExtent: false,actions: const <ActionColumnButton>[+ .new(action: AssetDebugAction(source: .timeline)),.new(action: ShareAction(source: .timeline)),.new(action: ShareLinkAction(source: .timeline)),.new(action: FavoriteAction(source: .timeline)),diff --git a/mobile/lib/presentation/widgets/bottom_sheet/local_album_bottom_sheet.widget.dart b/mobile/lib/presentation/widgets/bottom_sheet/local_album_bottom_sheet.widget.dartindex 478b37212e..94e708015c 100644--- a/mobile/lib/presentation/widgets/bottom_sheet/local_album_bottom_sheet.widget.dart+++ b/mobile/lib/presentation/widgets/bottom_sheet/local_album_bottom_sheet.widget.dart@@ -4,6 +4,7 @@ import 'package:hooks_riverpod/hooks_riverpod.dart';import 'package:immich_mobile/constants/enums.dart';import 'package:immich_mobile/domain/models/album/album.model.dart';import 'package:immich_mobile/presentation/actions/action.widget.dart';+import 'package:immich_mobile/presentation/actions/asset_debug.action.dart';import 'package:immich_mobile/presentation/actions/delete.action.dart';import 'package:immich_mobile/presentation/actions/share.action.dart';import 'package:immich_mobile/presentation/actions/upload.action.dart';@@ -66,6 +67,7 @@ class _LocalAlbumBottomSheetState extends ConsumerState<LocalAlbumBottomSheet> {maxChildSize: 0.85,shouldCloseOnMinExtent: false,actions: const <ActionColumnButton>[+ .new(action: AssetDebugAction(source: .timeline)),.new(action: ShareAction(source: .timeline)),.new(action: DeleteAction(source: .timeline)),.new(action: CleanupLocalAction(source: .timeline)),diff --git a/mobile/lib/presentation/widgets/bottom_sheet/locked_folder_bottom_sheet.widget.dart b/mobile/lib/presentation/widgets/bottom_sheet/locked_folder_bottom_sheet.widget.dartindex 3064ced2a4..32730b8ac4 100644--- a/mobile/lib/presentation/widgets/bottom_sheet/locked_folder_bottom_sheet.widget.dart+++ b/mobile/lib/presentation/widgets/bottom_sheet/locked_folder_bottom_sheet.widget.dart@@ -1,5 +1,6 @@import 'package:flutter/material.dart';import 'package:immich_mobile/presentation/actions/action.widget.dart';+import 'package:immich_mobile/presentation/actions/asset_debug.action.dart';import 'package:immich_mobile/presentation/actions/delete.action.dart';import 'package:immich_mobile/presentation/actions/download.action.dart';import 'package:immich_mobile/presentation/actions/lock.action.dart';@@ -16,6 +17,7 @@ class LockedFolderBottomSheet extends StatelessWidget {maxChildSize: 0.4,shouldCloseOnMinExtent: false,actions: <ActionColumnButton>[+ .new(action: AssetDebugAction(source: .timeline)),.new(action: ShareAction(source: .timeline)),.new(action: DownloadAction(source: .timeline)),.new(action: DeleteAction(source: .timeline)),diff --git a/mobile/lib/presentation/widgets/bottom_sheet/partner_detail_bottom_sheet.widget.dart b/mobile/lib/presentation/widgets/bottom_sheet/partner_detail_bottom_sheet.widget.dartindex 8a20f26c73..c764669cf6 100644--- a/mobile/lib/presentation/widgets/bottom_sheet/partner_detail_bottom_sheet.widget.dart+++ b/mobile/lib/presentation/widgets/bottom_sheet/partner_detail_bottom_sheet.widget.dart@@ -4,6 +4,7 @@ import 'package:hooks_riverpod/hooks_riverpod.dart';import 'package:immich_mobile/constants/enums.dart';import 'package:immich_mobile/domain/models/album/album.model.dart';import 'package:immich_mobile/presentation/actions/action.widget.dart';+import 'package:immich_mobile/presentation/actions/asset_debug.action.dart';import 'package:immich_mobile/presentation/actions/download.action.dart';import 'package:immich_mobile/presentation/actions/share.action.dart';import 'package:immich_mobile/presentation/widgets/album/album_selector.widget.dart';@@ -65,6 +66,7 @@ class _PartnerDetailBottomSheetState extends ConsumerState<PartnerDetailBottomShmaxChildSize: 0.85,shouldCloseOnMinExtent: false,actions: const <ActionColumnButton>[+ .new(action: AssetDebugAction(source: .timeline)),.new(action: ShareAction(source: .timeline)),.new(action: DownloadAction(source: .timeline)),],diff --git a/mobile/lib/presentation/widgets/bottom_sheet/remote_album_bottom_sheet.widget.dart b/mobile/lib/presentation/widgets/bottom_sheet/remote_album_bottom_sheet.widget.dartindex 1e51a26811..cdae658b45 100644--- a/mobile/lib/presentation/widgets/bottom_sheet/remote_album_bottom_sheet.widget.dart+++ b/mobile/lib/presentation/widgets/bottom_sheet/remote_album_bottom_sheet.widget.dart@@ -5,6 +5,7 @@ import 'package:immich_mobile/domain/models/album/album.model.dart';import 'package:immich_mobile/extensions/translate_extensions.dart';import 'package:immich_mobile/presentation/actions/action.widget.dart';import 'package:immich_mobile/presentation/actions/archive.action.dart';+import 'package:immich_mobile/presentation/actions/asset_debug.action.dart';import 'package:immich_mobile/presentation/actions/delete.action.dart';import 'package:immich_mobile/presentation/actions/download.action.dart';import 'package:immich_mobile/presentation/actions/edit_datetime.action.dart';@@ -84,6 +85,7 @@ class _RemoteAlbumBottomSheetState extends ConsumerState<RemoteAlbumBottomSheet>maxChildSize: 0.85,shouldCloseOnMinExtent: false,actions: <ActionColumnButton>[+ const .new(action: AssetDebugAction(source: .timeline)),const .new(action: ShareAction(source: .timeline)),const .new(action: ShareLinkAction(source: .timeline)),diff --git a/mobile/lib/presentation/widgets/bottom_sheet/trash_bottom_sheet.widget.dart b/mobile/lib/presentation/widgets/bottom_sheet/trash_bottom_sheet.widget.dartindex b496503dad..32e5b01a99 100644--- a/mobile/lib/presentation/widgets/bottom_sheet/trash_bottom_sheet.widget.dart+++ b/mobile/lib/presentation/widgets/bottom_sheet/trash_bottom_sheet.widget.dart@@ -1,6 +1,7 @@import 'package:flutter/material.dart';import 'package:immich_mobile/extensions/build_context_extensions.dart';import 'package:immich_mobile/presentation/actions/action.widget.dart';+import 'package:immich_mobile/presentation/actions/asset_debug.action.dart';import 'package:immich_mobile/presentation/actions/delete.action.dart';import 'package:immich_mobile/presentation/actions/restore.action.dart';@@ -19,6 +20,7 @@ class TrashBottomBar extends StatelessWidget {child: Row(mainAxisAlignment: MainAxisAlignment.spaceEvenly,children: <ActionColumnButton>[+ .new(action: AssetDebugAction(source: .timeline)),.new(action: DeleteAction(source: .timeline)),.new(action: RestoreAction(source: .timeline)),],