Skip to content

armgit / ente

Public Imported from GitHub
0

💚 End-to-end encrypted cloud for everything.

Update startup changelog for release

ashilkn3ee44009bb9e
diff --git a/mobile/apps/photos/lib/services/update_service.dart b/mobile/apps/photos/lib/services/update_service.dart
index ac53d00d76..c1991d519b 100644
--- a/mobile/apps/photos/lib/services/update_service.dart
+++ b/mobile/apps/photos/lib/services/update_service.dart
@@ -14,7 +14,7 @@ import 'package:url_launcher/url_launcher_string.dart';
class UpdateService {
static const kUpdateAvailableShownTimeKey = "update_available_shown_time_key";
static const changeLogVersionKey = "update_change_log_key";
- static const currentChangeLogVersion = 44;
+ static const currentChangeLogVersion = 46;
LatestVersionInfo? _latestVersion;
final _logger = Logger("UpdateService");
diff --git a/mobile/apps/photos/lib/ui/notification/update/change_log_page.dart b/mobile/apps/photos/lib/ui/notification/update/change_log_page.dart
index fe429634b5..f6eb01650b 100644
--- a/mobile/apps/photos/lib/ui/notification/update/change_log_page.dart
+++ b/mobile/apps/photos/lib/ui/notification/update/change_log_page.dart
@@ -99,15 +99,14 @@ class _ChangeLogPageState extends State<ChangeLogPage> {
Widget _getChangeLog(BuildContext ctx) {
final strings = ChangeLogStrings.forLocale(Localizations.localeOf(context));
- final List<ChangeLogEntry> items = [];
- items.addAll([
+ final items = <ChangeLogEntry>[
ChangeLogEntry(
strings.title1,
description: strings.desc1,
items: [
strings.desc1Item1,
strings.desc1Item2,
- ],
+ ].where((item) => item.trim().isNotEmpty).toList(growable: false),
isFeature: true,
),
ChangeLogEntry(
@@ -120,7 +119,14 @@ class _ChangeLogPageState extends State<ChangeLogPage> {
description: strings.desc3,
isFeature: true,
),
- ]);
+ ]
+ .where(
+ (entry) =>
+ entry.title.trim().isNotEmpty ||
+ (entry.description?.trim().isNotEmpty ?? false) ||
+ entry.items.isNotEmpty,
+ )
+ .toList(growable: false);
return Container(
padding: const EdgeInsets.only(left: 16),
child: Scrollbar(
diff --git a/mobile/apps/photos/lib/ui/notification/update/change_log_strings.dart b/mobile/apps/photos/lib/ui/notification/update/change_log_strings.dart
index e060c113f4..14076791bc 100644
--- a/mobile/apps/photos/lib/ui/notification/update/change_log_strings.dart
+++ b/mobile/apps/photos/lib/ui/notification/update/change_log_strings.dart
@@ -33,17 +33,16 @@ class ChangeLogStrings {
static const Map<String, ChangeLogStrings> _translations = {
'en': ChangeLogStrings(
- title1: 'Clean up hidden',
+ title1: 'Faster search and discovery',
desc1:
- 'Two new actions are available for managing hidden files on mobile',
- desc1Item1:
- 'Clean up hidden files: Removes hidden files from any non-hidden albums they also belong to, so they only live in Hidden.',
- desc1Item2:
- 'Delete hidden files from device: Removes local copies of hidden files from your device to free up space.',
- title2: 'Hide shared albums',
- desc2: 'You can now hide albums that have been shared with you.',
- title3: 'Device album search',
- desc3: 'Now easily search within your device folders.',
+ 'Search is now even faster. We have done some improvements on our embeddings DB to make it feel instant',
+ desc1Item1: '',
+ desc1Item2: '',
+ title2: 'Shared photos in feed',
+ desc2:
+ 'Photos added to shared albums would now appear in your feed, making it easier to find recently shared photos and comment on them',
+ title3: '',
+ desc3: '',
),
'cs': ChangeLogStrings(
title1: 'Vyčistit skryté',
diff --git a/mobile/apps/photos/scripts/store_changes.txt b/mobile/apps/photos/scripts/store_changes.txt
index 91a324645d..aa171040be 100644
--- a/mobile/apps/photos/scripts/store_changes.txt
+++ b/mobile/apps/photos/scripts/store_changes.txt
@@ -1 +1,2 @@
-- Bug fixes & performance improvements
\ No newline at end of file
+- Faster search and discovery
+- Shared photos in feed