Changelog (#1599)
This commit is contained in:
commit
5f3b253607
|
@ -16,7 +16,7 @@ class UpdateService {
|
||||||
static final UpdateService instance = UpdateService._privateConstructor();
|
static final UpdateService instance = UpdateService._privateConstructor();
|
||||||
static const kUpdateAvailableShownTimeKey = "update_available_shown_time_key";
|
static const kUpdateAvailableShownTimeKey = "update_available_shown_time_key";
|
||||||
static const changeLogVersionKey = "update_change_log_key";
|
static const changeLogVersionKey = "update_change_log_key";
|
||||||
static const currentChangeLogVersion = 18;
|
static const currentChangeLogVersion = 19;
|
||||||
|
|
||||||
LatestVersionInfo? _latestVersion;
|
LatestVersionInfo? _latestVersion;
|
||||||
final _logger = Logger("UpdateService");
|
final _logger = Logger("UpdateService");
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import "dart:async";
|
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import "package:photos/generated/l10n.dart";
|
import "package:photos/generated/l10n.dart";
|
||||||
import 'package:photos/services/update_service.dart';
|
import 'package:photos/services/update_service.dart';
|
||||||
|
@ -9,7 +7,6 @@ import 'package:photos/ui/components/divider_widget.dart';
|
||||||
import 'package:photos/ui/components/models/button_type.dart';
|
import 'package:photos/ui/components/models/button_type.dart';
|
||||||
import 'package:photos/ui/components/title_bar_title_widget.dart';
|
import 'package:photos/ui/components/title_bar_title_widget.dart';
|
||||||
import 'package:photos/ui/notification/update/change_log_entry.dart';
|
import 'package:photos/ui/notification/update/change_log_entry.dart';
|
||||||
import "package:url_launcher/url_launcher_string.dart";
|
|
||||||
|
|
||||||
class ChangeLogPage extends StatefulWidget {
|
class ChangeLogPage extends StatefulWidget {
|
||||||
const ChangeLogPage({
|
const ChangeLogPage({
|
||||||
|
@ -81,31 +78,31 @@ class _ChangeLogPageState extends State<ChangeLogPage> {
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 8,
|
height: 8,
|
||||||
),
|
),
|
||||||
ButtonWidget(
|
|
||||||
buttonType: ButtonType.trailingIconSecondary,
|
|
||||||
buttonSize: ButtonSize.large,
|
|
||||||
labelText: S.of(context).joinDiscord,
|
|
||||||
icon: Icons.discord_outlined,
|
|
||||||
iconColor: enteColorScheme.primary500,
|
|
||||||
onTap: () async {
|
|
||||||
unawaited(
|
|
||||||
launchUrlString(
|
|
||||||
"https://discord.com/invite/z2YVKkycX3",
|
|
||||||
mode: LaunchMode.externalApplication,
|
|
||||||
),
|
|
||||||
);
|
|
||||||
},
|
|
||||||
),
|
|
||||||
// ButtonWidget(
|
// ButtonWidget(
|
||||||
// buttonType: ButtonType.trailingIconSecondary,
|
// buttonType: ButtonType.trailingIconSecondary,
|
||||||
// buttonSize: ButtonSize.large,
|
// buttonSize: ButtonSize.large,
|
||||||
// labelText: S.of(context).rateTheApp,
|
// labelText: S.of(context).joinDiscord,
|
||||||
// icon: Icons.favorite_rounded,
|
// icon: Icons.discord_outlined,
|
||||||
// iconColor: enteColorScheme.primary500,
|
// iconColor: enteColorScheme.primary500,
|
||||||
// onTap: () async {
|
// 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),
|
const SizedBox(height: 8),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
@ -122,18 +119,16 @@ class _ChangeLogPageState extends State<ChangeLogPage> {
|
||||||
final List<ChangeLogEntry> items = [];
|
final List<ChangeLogEntry> items = [];
|
||||||
items.addAll([
|
items.addAll([
|
||||||
ChangeLogEntry(
|
ChangeLogEntry(
|
||||||
"Improved Performance for Large Galleries ✨",
|
"Cast albums to TV ✨",
|
||||||
'We\'ve made significant improvements to how quickly galleries load and'
|
"View a slideshow of your albums on any big screen! Open an album and click on the Cast button to get started.",
|
||||||
' with less stutter, especially for those with a lot of photos and videos.',
|
|
||||||
),
|
),
|
||||||
ChangeLogEntry(
|
ChangeLogEntry(
|
||||||
"Enhanced Functionality for Video Backups",
|
"Own shared photos",
|
||||||
'Even if video backups are disabled, you can now manually upload individual videos.',
|
"You can now add shared items to your favorites to any of your personal albums. Ente will create a copy that is fully owned by you and can be organized to your liking.",
|
||||||
),
|
),
|
||||||
ChangeLogEntry(
|
ChangeLogEntry(
|
||||||
"Bug Fixes",
|
"Performance improvements",
|
||||||
'Many a bugs were squashed in this release.\n'
|
"This release also brings in major changes that should improve responsiveness. If you discover room for improvement, please let us know!",
|
||||||
'\nIf you run into any, please write to team@ente.io, or let us know on Discord! 🙏',
|
|
||||||
),
|
),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue