Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob] Jump to date when clicking on album from fileInfo

Neeraj Gupta619a5a1d2af6
diff --git a/mobile/apps/photos/lib/ui/viewer/file_details/albums_item_widget.dart b/mobile/apps/photos/lib/ui/viewer/file_details/albums_item_widget.dart
index 113bd18b68..1678b8ebab 100644
--- a/mobile/apps/photos/lib/ui/viewer/file_details/albums_item_widget.dart
+++ b/mobile/apps/photos/lib/ui/viewer/file_details/albums_item_widget.dart
@@ -97,6 +97,7 @@ class AlbumsItemWidget extends StatelessWidget {
context,
CollectionPage(
CollectionWithThumbnail(c, null),
+ fileToJumpTo: file,
),
);
},
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/collection_page.dart b/mobile/apps/photos/lib/ui/viewer/gallery/collection_page.dart
index de851120ec..8b8497b95f 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/collection_page.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/collection_page.dart
@@ -32,12 +32,14 @@ class CollectionPage extends StatelessWidget {
final String tagPrefix;
final bool? hasVerifiedLock;
final bool isFromCollectPhotos;
+ final EnteFile? fileToJumpTo;
CollectionPage(
this.c, {
this.tagPrefix = "collection",
this.hasVerifiedLock = false,
this.isFromCollectPhotos = false,
+ this.fileToJumpTo,
super.key,
});
@@ -114,6 +116,7 @@ class CollectionPage extends StatelessWidget {
footer: isFromCollectPhotos
? const SizedBox(height: 20)
: const SizedBox(height: 212),
+ fileToJumpTo: fileToJumpTo,
);
return GalleryFilesState(
diff --git a/mobile/apps/photos/scripts/internal_changes.txt b/mobile/apps/photos/scripts/internal_changes.txt
index 227c1f8785..63b1ec8041 100644
--- a/mobile/apps/photos/scripts/internal_changes.txt
+++ b/mobile/apps/photos/scripts/internal_changes.txt
@@ -1,6 +1,7 @@
+- Neeraj: Jump to date when clicking on album from file info [QOL]
- Neeraj: Add camera make/model search and filter by model [feature](https://github.com/ente-io/ente/discussions/5588)
- Neeraj: Fixed order for [pinned albums](https://github.com/ente-io/ente/discussions/5979)
-- Neeraj: Show recent move/add to collections on top (in memory)
+- Neeraj: Show recent move/add to collections on top (in memory) [QOL]
- Prateek: (i) Stop streaming if not 75% processed for upload and thermal change
- Prateek(i): Stop streaming immediately on log-out
- Prateek: (i) Add "Start with latest backups" (last 7 days onwards)