update change logs

This commit is contained in:
ashilkn 2024-02-07 11:31:52 +05:30
parent e75dc395cd
commit c74409d3a4
16 changed files with 79 additions and 22 deletions

View file

@ -1,5 +1,17 @@
# CHANGELOG
## v0.8.54
### Added
* #### Map View ✨
You can now view the location where a photo was clicked. Open a photo and tap the Info button to view its place on the map!
* #### Bug Fixes
Many a bugs were squashed in this release. If you run into any, please write to team@ente.io, or let us know on Discord! 🙏
## v0.7.118

View file

@ -8357,6 +8357,16 @@ class S {
args: [],
);
}
/// `Join Discord`
String get joinDiscord {
return Intl.message(
'Join Discord',
name: 'joinDiscord',
desc: '',
args: [],
);
}
}
class AppLocalizationDelegate extends LocalizationsDelegate<S> {

View file

@ -10,5 +10,6 @@
"selectALocation": "Select a location",
"selectALocationFirst": "Select a location first",
"changeLocationOfSelectedItems": "Change location of selected items?",
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente"
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord"
}

View file

@ -1178,5 +1178,6 @@
"selectALocationFirst": "Wähle zuerst einen Standort",
"changeLocationOfSelectedItems": "Standort der gewählten Elemente ändern?",
"editsToLocationWillOnlyBeSeenWithinEnte": "Änderungen des Standorts werden nur in ente sichtbar sein",
"cleanUncategorized": "Unkategorisiert leeren"
"cleanUncategorized": "Unkategorisiert leeren",
"joinDiscord": "Join Discord"
}

View file

@ -1192,5 +1192,6 @@
"pair": "Pair",
"deviceNotFound": "Device not found",
"castInstruction": "Visit cast.ente.io on the device you want to pair.\n\nEnter the code below to play the album on your TV.",
"deviceCodeHint": "Enter the code"
}
"deviceCodeHint": "Enter the code",
"joinDiscord": "Join Discord"
}

View file

@ -973,5 +973,6 @@
"selectALocation": "Select a location",
"selectALocationFirst": "Select a location first",
"changeLocationOfSelectedItems": "Change location of selected items?",
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente"
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord"
}

View file

@ -1154,5 +1154,6 @@
"selectALocation": "Select a location",
"selectALocationFirst": "Select a location first",
"changeLocationOfSelectedItems": "Change location of selected items?",
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente"
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord"
}

View file

@ -1116,5 +1116,6 @@
"selectALocation": "Select a location",
"selectALocationFirst": "Select a location first",
"changeLocationOfSelectedItems": "Change location of selected items?",
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente"
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord"
}

View file

@ -10,5 +10,6 @@
"selectALocation": "Select a location",
"selectALocationFirst": "Select a location first",
"changeLocationOfSelectedItems": "Change location of selected items?",
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente"
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord"
}

View file

@ -1192,5 +1192,6 @@
"pair": "Koppelen",
"deviceNotFound": "Apparaat niet gevonden",
"castInstruction": "Bezoek cast.ente.io op het apparaat dat u wilt koppelen.\n\nVoer de code hieronder in om het album op uw TV af te spelen.",
"deviceCodeHint": "Voer de code in"
"deviceCodeHint": "Voer de code in",
"joinDiscord": "Join Discord"
}

View file

@ -24,5 +24,6 @@
"selectALocation": "Select a location",
"selectALocationFirst": "Select a location first",
"changeLocationOfSelectedItems": "Change location of selected items?",
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente"
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord"
}

View file

@ -111,5 +111,6 @@
"selectALocation": "Select a location",
"selectALocationFirst": "Select a location first",
"changeLocationOfSelectedItems": "Change location of selected items?",
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente"
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord"
}

View file

@ -277,5 +277,6 @@
"selectALocation": "Select a location",
"selectALocationFirst": "Select a location first",
"changeLocationOfSelectedItems": "Change location of selected items?",
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente"
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord"
}

View file

@ -1192,5 +1192,6 @@
"pair": "配对",
"deviceNotFound": "未发现设备",
"castInstruction": "在您要配对的设备上访问 cast.ente.io。\n输入下面的代码即可在电视上播放相册。",
"deviceCodeHint": "输入代码"
"deviceCodeHint": "输入代码",
"joinDiscord": "Join Discord"
}

View file

@ -16,7 +16,7 @@ class UpdateService {
static final UpdateService instance = UpdateService._privateConstructor();
static const kUpdateAvailableShownTimeKey = "update_available_shown_time_key";
static const changeLogVersionKey = "update_change_log_key";
static const currentChangeLogVersion = 13;
static const currentChangeLogVersion = 14;
LatestVersionInfo? _latestVersion;
final _logger = Logger("UpdateService");

View file

@ -1,3 +1,5 @@
import "dart:async";
import 'package:flutter/material.dart';
import "package:photos/generated/l10n.dart";
import 'package:photos/services/update_service.dart';
@ -7,6 +9,7 @@ import 'package:photos/ui/components/divider_widget.dart';
import 'package:photos/ui/components/models/button_type.dart';
import 'package:photos/ui/components/title_bar_title_widget.dart';
import 'package:photos/ui/notification/update/change_log_entry.dart';
import "package:url_launcher/url_launcher_string.dart";
class ChangeLogPage extends StatefulWidget {
const ChangeLogPage({
@ -81,13 +84,28 @@ class _ChangeLogPageState extends State<ChangeLogPage> {
ButtonWidget(
buttonType: ButtonType.trailingIconSecondary,
buttonSize: ButtonSize.large,
labelText: S.of(context).rateTheApp,
icon: Icons.favorite_rounded,
labelText: S.of(context).joinDiscord,
icon: Icons.discord_outlined,
iconColor: enteColorScheme.primary500,
onTap: () async {
await UpdateService.instance.launchReviewUrl();
unawaited(
launchUrlString(
"https://discord.com/invite/z2YVKkycX3",
mode: LaunchMode.externalApplication,
),
);
},
),
// ButtonWidget(
// buttonType: ButtonType.trailingIconSecondary,
// buttonSize: ButtonSize.large,
// labelText: S.of(context).rateTheApp,
// icon: Icons.favorite_rounded,
// iconColor: enteColorScheme.primary500,
// onTap: () async {
// await UpdateService.instance.launchReviewUrl();
// },
// ),
const SizedBox(height: 8),
],
),
@ -102,13 +120,18 @@ class _ChangeLogPageState extends State<ChangeLogPage> {
Widget _getChangeLog() {
final scrollController = ScrollController();
final List<ChangeLogEntry> items = [];
items.add(
items.addAll([
ChangeLogEntry(
"Explore with the new Search Tab",
'Introducing a dedicated search tab with distinct sections for effortless discovery.\n'
'\nYou can now discover items that come under different Locations, Moments, Contacts, Photo descriptions, Albums and File types with ease.\n',
"Map View",
'You can now view the location where a photo was clicked.\n'
'\nOpen a photo and tap the Info button to view its place on the map!',
),
);
ChangeLogEntry(
"Bug Fixes",
'Many a bugs were squashed in this release.\n'
'\nIf you run into any, please write to team@ente.io, or let us know on Discord! 🙏',
),
]);
return Container(
padding: const EdgeInsets.only(left: 16),