💚 End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Redesign onboarding empty states
r4khul4bf99f21e764
diff --git a/mobile/apps/photos/assets/2.0x/received.png b/mobile/apps/photos/assets/2.0x/received.pngnew file mode 100644index 0000000000..fe91e643ccBinary files /dev/null and b/mobile/apps/photos/assets/2.0x/received.png differdiff --git a/mobile/apps/photos/assets/3.0x/received.png b/mobile/apps/photos/assets/3.0x/received.pngnew file mode 100644index 0000000000..1d270151b4Binary files /dev/null and b/mobile/apps/photos/assets/3.0x/received.png differdiff --git a/mobile/apps/photos/assets/received.png b/mobile/apps/photos/assets/received.pngnew file mode 100644index 0000000000..71103f8147Binary files /dev/null and b/mobile/apps/photos/assets/received.png differdiff --git a/mobile/apps/photos/changes/onboarding-empty-states.md b/mobile/apps/photos/changes/onboarding-empty-states.mdnew file mode 100644index 0000000000..9730804a71--- /dev/null+++ b/mobile/apps/photos/changes/onboarding-empty-states.md@@ -0,0 +1 @@+- Redesigned the empty Feed and Albums screens with simpler copy and a new illustration for received albums.diff --git a/mobile/apps/photos/lib/ui/collections/device/device_folders_vertical_grid_view.dart b/mobile/apps/photos/lib/ui/collections/device/device_folders_vertical_grid_view.dartindex 246aef50c2..5b1424278d 100644--- a/mobile/apps/photos/lib/ui/collections/device/device_folders_vertical_grid_view.dart+++ b/mobile/apps/photos/lib/ui/collections/device/device_folders_vertical_grid_view.dart@@ -168,7 +168,6 @@ class _DeviceFolderVerticalGridViewBodyState}return widget.showEmptyState? SliverFillRemaining(- hasScrollBody: false,child: OnDeviceEmptyState.permission(onFoldersSelected: () {_refreshDeviceCollections();@@ -208,11 +207,8 @@ class _DeviceFolderVerticalGridViewBodyState}return widget.showEmptyState? SliverFillRemaining(- hasScrollBody: false,child: !hasDeviceCollections- ? OnDeviceEmptyState.noFolders(- onFoldersSelected: _refreshDeviceCollections,- )+ ? const OnDeviceEmptyState.noFolders(): Padding(padding: const EdgeInsets.all(22),child: EmptyState(diff --git a/mobile/apps/photos/lib/ui/home/home_bottom_nav_bar.dart b/mobile/apps/photos/lib/ui/home/home_bottom_nav_bar.dartindex 89433cad77..48c91c3e59 100644--- a/mobile/apps/photos/lib/ui/home/home_bottom_nav_bar.dart+++ b/mobile/apps/photos/lib/ui/home/home_bottom_nav_bar.dart@@ -13,7 +13,7 @@ import "package:photos/models/selected_albums.dart";import 'package:photos/models/selected_files.dart';import 'package:photos/ui/tabs/nav_bar.dart';-const double _homeNavContainerHeight = 70;+const double homeBottomNavigationBarHeight = 70;const double _homeNavButtonPadding = 10;const double _homeNavItemSpacing = 22;@@ -126,7 +126,7 @@ class _HomeBottomNavigationBarState extends State<HomeBottomNavigationBar> {curve: Curves.easeInOut,height: filesAreSelected || albumsAreSelected? 0- : _homeNavContainerHeight,+ : homeBottomNavigationBarHeight,child: IgnorePointer(ignoring: filesAreSelected || albumsAreSelected,child: ListView(diff --git a/mobile/apps/photos/lib/ui/social/feed_screen.dart b/mobile/apps/photos/lib/ui/social/feed_screen.dartindex cff20258f9..232a2beb33 100644--- a/mobile/apps/photos/lib/ui/social/feed_screen.dart+++ b/mobile/apps/photos/lib/ui/social/feed_screen.dart@@ -15,7 +15,6 @@ import "package:photos/models/file/file.dart";import "package:photos/models/social/feed_data_provider.dart";import "package:photos/models/social/feed_item.dart";import "package:photos/models/social/social_data_provider.dart";-import "package:photos/service_locator.dart";import "package:photos/services/collections_service.dart";import 'package:photos/services/social_notification_coordinator.dart';import "package:photos/theme/ente_theme.dart";@@ -565,9 +564,7 @@ class _FeedScreenState extends State<FeedScreen> {? const Center(child: EnteLoadingWidget(size: 24)): _feedItems.isEmpty? FeedEmptyState(- localGalleryMode:- isLocalGalleryMode &&- !Configuration.instance.hasConfiguredAccount(),+ reservesBottomNavigationSpace: !widget.showBackButton,): RefreshIndicator(onRefresh: _onRefresh,diff --git a/mobile/apps/photos/lib/ui/social/widgets/feed_empty_state.dart b/mobile/apps/photos/lib/ui/social/widgets/feed_empty_state.dartindex 57de09c381..703cfc43d6 100644--- a/mobile/apps/photos/lib/ui/social/widgets/feed_empty_state.dart+++ b/mobile/apps/photos/lib/ui/social/widgets/feed_empty_state.dart@@ -1,182 +1,34 @@import "package:ente_components/ente_components.dart";import "package:ente_strings/ente_strings.dart";import "package:flutter/material.dart";-import "package:photos/ui/account/email_entry_page.dart";import "package:photos/ui/collections/collection_action_sheet.dart";-import "package:photos/ui/components/banners/banner_action_button.dart";-import "package:photos/ui/tabs/albums/empty_states/empty_state_feature_row.dart";+import "package:photos/ui/tabs/albums/empty_states/empty_state_layout.dart";class FeedEmptyState extends StatelessWidget {- const FeedEmptyState({required this.localGalleryMode, super.key});+ const FeedEmptyState({this.reservesBottomNavigationSpace = true, super.key});- final bool localGalleryMode;+ final bool reservesBottomNavigationSpace;- static const _topPadding = 32.0;- static const _sectionSpacing = 48.0;- static const _contentWidth = 343.0;- static const _featureWidth = 300.0;- static const _assetHeight = 150.0;+ static const _illustrationHeight = 122.0;@overrideWidget build(BuildContext context) {- final colors = context.componentColors;final strings = context.strings;- final bottomPadding = 64 + MediaQuery.paddingOf(context).bottom + 32;- final content = _content(context, strings);- return LayoutBuilder(- builder: (context, constraints) {- return SingleChildScrollView(- physics: const BouncingScrollPhysics(),- child: ConstrainedBox(- constraints: BoxConstraints(minHeight: constraints.maxHeight),- child: Align(- alignment: Alignment.bottomCenter,- child: Padding(- padding: EdgeInsets.fromLTRB(- 16,- _topPadding,- 16,- bottomPadding,- ),- child: Column(- mainAxisSize: MainAxisSize.min,- children: [- _FeedAssetSlot(assetPath: content.assetPath),- const SizedBox(height: _sectionSpacing),- SizedBox(- width: _contentWidth,- child: Column(- children: [- Text(- content.title,- textAlign: TextAlign.center,- style: TextStyles.display2.copyWith(- color: colors.textBase,- ),- ),- const SizedBox(height: 24),- SizedBox(- width: _featureWidth,- child: Column(- children: [- EmptyStateBulletFeatureRow(- label: content.features[0],- ),- const SizedBox(height: 12),- EmptyStateBulletFeatureRow(- label: content.features[1],- ),- const SizedBox(height: 12),- EmptyStateBulletFeatureRow(- label: content.features[2],- ),- ],- ),- ),- ],- ),- ),- const SizedBox(height: _sectionSpacing),- SizedBox(- width: content.showTag ? _featureWidth : _contentWidth,- child: BannerActionButton(- label: content.buttonLabel,- variant: BannerActionButtonVariant.primary,- showTag: content.showTag,- onTap: content.onTap,- ),- ),- ],- ),- ),- ),- ),- );- },- );- }-- _FeedEmptyStateContent _content(- BuildContext context,- StringsLocalizations strings,- ) {- if (localGalleryMode) {- return _FeedEmptyStateContent(- assetPath: "assets/shared.png",- title: strings.albumsSharedEmptyTitle,- features: [- strings.albumsSharedEmptyFeatureShareLovedOnes,- strings.albumsSharedEmptyFeatureReactAndComment,- strings.albumsOnEnteEmptyFeaturePrivacy,- ],- buttonLabel: strings.getStarted,- showTag: true,- onTap: () {- Navigator.of(context).push(- MaterialPageRoute(- builder: (_) => const EmailEntryPage(- showReferralSourceField: false,- referralSource: "Offline",- ),- ),- );- },- );- }-- return _FeedEmptyStateContent(+ return EmptyStateLayout(assetPath: "assets/feed.png",+ assetHeight: _illustrationHeight,title: strings.albumsSharedEmptyTitle,- features: [- strings.albumsSharedEmptyFeatureShareLovedOnes,- strings.albumsSharedEmptyFeatureReactAndComment,- strings.albumsOnEnteEmptyFeaturePrivacy,- ],- buttonLabel: strings.shareAnAlbum,- onTap: () {- showCollectionActionSheet(+ description: strings.albumsSharedEmptyDescription,+ reservesBottomNavigationSpace: reservesBottomNavigationSpace,+ action: ButtonComponent(+ label: strings.shareAnAlbum,+ shouldSurfaceExecutionStates: false,+ onTap: () => showCollectionActionSheet(context,actionType: CollectionActionType.shareCollection,- );- },- );- }-}--class _FeedEmptyStateContent {- const _FeedEmptyStateContent({- required this.assetPath,- required this.title,- required this.features,- required this.buttonLabel,- required this.onTap,- this.showTag = false,- });-- final String? assetPath;- final String title;- final List<String> features;- final String buttonLabel;- final VoidCallback onTap;- final bool showTag;-}--class _FeedAssetSlot extends StatelessWidget {- const _FeedAssetSlot({required this.assetPath});-- final String? assetPath;-- @override- Widget build(BuildContext context) {- final path = assetPath;- if (path != null) {- return Image.asset(path);- }-- return const SizedBox(- width: FeedEmptyState._contentWidth,- height: FeedEmptyState._assetHeight,+ ),+ ),);}}diff --git a/mobile/apps/photos/lib/ui/tabs/albums/empty_states/empty_state_feature_row.dart b/mobile/apps/photos/lib/ui/tabs/albums/empty_states/empty_state_feature_row.dartdeleted file mode 100644index c336d911ca..0000000000--- a/mobile/apps/photos/lib/ui/tabs/albums/empty_states/empty_state_feature_row.dart+++ /dev/null@@ -1,40 +0,0 @@-import "package:ente_components/ente_components.dart";-import "package:flutter/widgets.dart";--class EmptyStateBulletFeatureRow extends StatelessWidget {- const EmptyStateBulletFeatureRow({required this.label, super.key});-- final String label;-- @override- Widget build(BuildContext context) {- final colors = context.componentColors;-- return Row(- crossAxisAlignment: CrossAxisAlignment.start,- children: [- SizedBox(- width: 5,- height: 20,- child: Align(- alignment: Alignment.center,- child: DecoratedBox(- decoration: BoxDecoration(- color: colors.primary,- shape: BoxShape.circle,- ),- child: const SizedBox.square(dimension: 4),- ),- ),- ),- const SizedBox(width: 12),- Expanded(- child: Text(- label,- style: TextStyles.body.copyWith(color: colors.textLight),- ),- ),- ],- );- }-}diff --git a/mobile/apps/photos/lib/ui/tabs/albums/empty_states/empty_state_layout.dart b/mobile/apps/photos/lib/ui/tabs/albums/empty_states/empty_state_layout.dartnew file mode 100644index 0000000000..f7f4fc8458--- /dev/null+++ b/mobile/apps/photos/lib/ui/tabs/albums/empty_states/empty_state_layout.dart@@ -0,0 +1,94 @@+import "package:ente_components/ente_components.dart";+import "package:flutter/material.dart";+import "package:photos/ui/home/home_bottom_nav_bar.dart";++// Figma: https://www.figma.com/design/BuBNPPytxlVnqfmCUW0mgz/ENTE-VISUAL-DESIGN?node-id=25356-304869+class EmptyStateLayout extends StatelessWidget {+ const EmptyStateLayout({+ required this.assetPath,+ required this.assetHeight,+ required this.title,+ required this.description,+ this.action,+ this.descriptionWidth = 260,+ this.reservesBottomNavigationSpace = true,+ super.key,+ });++ final String assetPath;+ final double assetHeight;+ final String title;+ final String description;+ final Widget? action;+ final double descriptionWidth;+ final bool reservesBottomNavigationSpace;++ static const _contentMaxWidth = 343.0;+ static const _textToActionSpacing = 48.0;+ static const _designBottomClearance = 52.0;+ static const _navigationClearance =+ homeBottomNavigationBarHeight + Spacing.lg;++ @override+ Widget build(BuildContext context) {+ final colors = context.componentColors;+ final bottomSafeArea = MediaQuery.paddingOf(context).bottom;+ // Balances the nav clearance so the block centers where Figma places it.+ final padding = reservesBottomNavigationSpace+ ? EdgeInsets.fromLTRB(+ Spacing.lg,+ _navigationClearance - _designBottomClearance,+ Spacing.lg,+ bottomSafeArea + _navigationClearance,+ )+ : EdgeInsets.fromLTRB(Spacing.lg, 0, Spacing.lg, bottomSafeArea);++ return LayoutBuilder(+ builder: (context, constraints) {+ return SingleChildScrollView(+ physics: const BouncingScrollPhysics(),+ child: ConstrainedBox(+ constraints: BoxConstraints(minHeight: constraints.maxHeight),+ child: Padding(+ padding: padding,+ child: Center(+ child: ConstrainedBox(+ constraints: const BoxConstraints(maxWidth: _contentMaxWidth),+ child: Column(+ mainAxisSize: MainAxisSize.min,+ children: [+ Image.asset(assetPath, height: assetHeight),+ const SizedBox(height: Spacing.xl),+ Text(+ title,+ textAlign: TextAlign.center,+ style: TextStyles.display2.copyWith(+ color: colors.textBase,+ ),+ ),+ const SizedBox(height: Spacing.sm),+ SizedBox(+ width: descriptionWidth,+ child: Text(+ description,+ textAlign: TextAlign.center,+ style: TextStyles.body.copyWith(+ color: colors.textLight,+ ),+ ),+ ),+ if (action != null) ...[+ const SizedBox(height: _textToActionSpacing),+ action!,+ ],+ ],+ ),+ ),+ ),+ ),+ ),+ );+ },+ );+ }+}diff --git a/mobile/apps/photos/lib/ui/tabs/albums/empty_states/on_device_empty_state.dart b/mobile/apps/photos/lib/ui/tabs/albums/empty_states/on_device_empty_state.dartindex ba50d1dbfa..395bf7c79f 100644--- a/mobile/apps/photos/lib/ui/tabs/albums/empty_states/on_device_empty_state.dart+++ b/mobile/apps/photos/lib/ui/tabs/albums/empty_states/on_device_empty_state.dart@@ -2,128 +2,47 @@ import "package:ente_components/ente_components.dart";import "package:ente_strings/ente_strings.dart";import "package:flutter/material.dart";import "package:photos/ui/common/backup_flow_helper.dart";-import "package:photos/ui/tabs/albums/empty_states/empty_state_feature_row.dart";+import "package:photos/ui/tabs/albums/empty_states/empty_state_layout.dart";class OnDeviceEmptyState extends StatelessWidget {const OnDeviceEmptyState.permission({this.onFoldersSelected, super.key}): _mode = _OnDeviceEmptyStateMode.permission;- const OnDeviceEmptyState.noFolders({this.onFoldersSelected, super.key})- : _mode = _OnDeviceEmptyStateMode.noFolders;+ const OnDeviceEmptyState.noFolders({super.key})+ : _mode = _OnDeviceEmptyStateMode.noFolders,+ onFoldersSelected = null;- static const _permissionTopPadding = 12.0;- static const _permissionSectionSpacing = 48.0;-- static const _contentWidth = 343.0;- static const _featureWidth = 300.0;+ static const _permissionIllustrationHeight = 130.3;+ static const _noFoldersIllustrationHeight = 142.3;+ static const _noFoldersDescriptionWidth = 299.0;final _OnDeviceEmptyStateMode _mode;final VoidCallback? onFoldersSelected;@overrideWidget build(BuildContext context) {- if (_mode == _OnDeviceEmptyStateMode.permission) {- return _buildPermissionState(context);- }- return _buildNoFoldersState(context);- }-- Widget _buildPermissionState(BuildContext context) {- final colors = context.componentColors;final strings = context.strings;- final bottomPadding = 64 + MediaQuery.paddingOf(context).bottom + 32;- final features = [- strings.albumsOnDevicePermissionFeatureAllowAccessFaceRecognition,- strings.albumsOnDevicePermissionFeatureLocalProcessing,- strings.albumsOnDevicePermissionFeatureControlUploads,- ];- return Align(- alignment: Alignment.bottomCenter,- child: Padding(- padding: EdgeInsets.fromLTRB(- 16,- _permissionTopPadding,- 16,- bottomPadding,- ),- child: Column(- mainAxisSize: MainAxisSize.min,- children: [- SizedBox(- width: _contentWidth,- child: Column(- mainAxisSize: MainAxisSize.min,- children: [- Image.asset("assets/on_device.png"),- const SizedBox(height: _permissionSectionSpacing),- Text(- strings.allowAccessToYourPhotos,- textAlign: TextAlign.center,- style: TextStyles.display2.copyWith(color: colors.textBase),- ),- const SizedBox(height: 24),- SizedBox(- width: _featureWidth,- child: Column(- children: [- EmptyStateBulletFeatureRow(label: features[0]),- const SizedBox(height: 12),- EmptyStateBulletFeatureRow(label: features[1]),- const SizedBox(height: 12),- EmptyStateBulletFeatureRow(label: features[2]),- ],- ),- ),- ],- ),- ),- const SizedBox(height: _permissionSectionSpacing),- ButtonComponent(- label: strings.albumsOnDevicePermissionCta,- shouldSurfaceExecutionStates: false,- onTap: () => _selectFolders(context),- ),- ],+ return switch (_mode) {+ _OnDeviceEmptyStateMode.permission => EmptyStateLayout(+ assetPath: "assets/on_device.png",+ assetHeight: _permissionIllustrationHeight,+ title: strings.allowAccessToYourPhotos,+ description: strings.albumsOnDevicePermissionDescription,+ action: ButtonComponent(+ label: strings.albumsOnDevicePermissionCta,+ shouldSurfaceExecutionStates: false,+ onTap: () => _selectFolders(context),),),- );- }-- Widget _buildNoFoldersState(BuildContext context) {- final colors = context.componentColors;- final strings = context.strings;- final bottomPadding = 64 + MediaQuery.paddingOf(context).bottom + 32;-- return Padding(- padding: EdgeInsets.fromLTRB(16, 0, 16, bottomPadding),- child: Center(- child: SizedBox(- width: _contentWidth,- child: Column(- mainAxisSize: MainAxisSize.min,- children: [- Image.asset("assets/on_device_empty.png", fit: BoxFit.contain),- const SizedBox(height: _permissionSectionSpacing),- SizedBox(- width: _contentWidth,- child: Text(- strings.noAlbumsOnThisDevice,- textAlign: TextAlign.center,- style: TextStyles.display2.copyWith(color: colors.textBase),- ),- ),- const SizedBox(height: 8),- Text(- strings.startSnappingYourPhotosWillShowUpHere,- textAlign: TextAlign.center,- style: TextStyles.mini.copyWith(color: colors.textLight),- ),- ],- ),- ),+ _OnDeviceEmptyStateMode.noFolders => EmptyStateLayout(+ assetPath: "assets/on_device_empty.png",+ assetHeight: _noFoldersIllustrationHeight,+ title: strings.noAlbumsOnThisDevice,+ description: strings.startSnappingYourPhotosWillShowUpHere,+ descriptionWidth: _noFoldersDescriptionWidth,),- );+ };}Future<void> _selectFolders(BuildContext context) async {diff --git a/mobile/apps/photos/lib/ui/tabs/albums/empty_states/on_ente_empty_state.dart b/mobile/apps/photos/lib/ui/tabs/albums/empty_states/on_ente_empty_state.dartindex 7a574bbaef..aa76403846 100644--- a/mobile/apps/photos/lib/ui/tabs/albums/empty_states/on_ente_empty_state.dart+++ b/mobile/apps/photos/lib/ui/tabs/albums/empty_states/on_ente_empty_state.dart@@ -2,71 +2,26 @@ import "package:ente_components/ente_components.dart";import "package:ente_strings/ente_strings.dart";import "package:flutter/material.dart";import "package:photos/ui/common/backup_flow_helper.dart";-import "package:photos/ui/tabs/albums/empty_states/empty_state_feature_row.dart";+import "package:photos/ui/tabs/albums/empty_states/empty_state_layout.dart";class OnEnteEmptyState extends StatelessWidget {const OnEnteEmptyState({super.key});- static const _topPadding = 32.0;- static const _sectionSpacing = 48.0;- static const _contentWidth = 343.0;- static const _featureWidth = 300.0;+ static const _illustrationHeight = 112.7;@overrideWidget build(BuildContext context) {- final colors = context.componentColors;final strings = context.strings;- final bottomPadding = 64 + MediaQuery.paddingOf(context).bottom + 32;- final features = [- strings.albumsOnEnteEmptyFeatureAccessAnyDevice,- strings.albumsOnEnteEmptyFeatureShareLovedOnes,- strings.albumsOnEnteEmptyFeaturePrivacy,- ];- return Align(- alignment: Alignment.bottomCenter,- child: Padding(- padding: EdgeInsets.fromLTRB(16, _topPadding, 16, bottomPadding),- child: Column(- mainAxisSize: MainAxisSize.min,- children: [- Image.asset("assets/on_ente.png"),- const SizedBox(height: _sectionSpacing),- SizedBox(- width: _contentWidth,- child: Column(- children: [- Text(- strings.albumsOnEnteEmptyTitle,- textAlign: TextAlign.center,- style: TextStyles.display2.copyWith(color: colors.textBase),- ),- const SizedBox(height: 24),- SizedBox(- width: _featureWidth,- child: Column(- children: [- EmptyStateBulletFeatureRow(label: features[0]),- const SizedBox(height: 12),- EmptyStateBulletFeatureRow(label: features[1]),- const SizedBox(height: 12),- EmptyStateBulletFeatureRow(label: features[2]),- ],- ),- ),- ],- ),- ),- const SizedBox(height: _sectionSpacing),- ButtonComponent(- label: strings.albumsOnEnteEmptyCta,- shouldSurfaceExecutionStates: false,- onTap: () async {- await handleFolderSelectionBackupFlow(context);- },- ),- ],- ),+ return EmptyStateLayout(+ assetPath: "assets/on_ente.png",+ assetHeight: _illustrationHeight,+ title: strings.albumsOnEnteEmptyTitle,+ description: strings.albumsOnEnteEmptyDescription,+ action: ButtonComponent(+ label: strings.albumsOnEnteEmptyCta,+ shouldSurfaceExecutionStates: false,+ onTap: () => handleFolderSelectionBackupFlow(context),),);}diff --git a/mobile/apps/photos/lib/ui/tabs/albums/empty_states/received_empty_state.dart b/mobile/apps/photos/lib/ui/tabs/albums/empty_states/received_empty_state.dartindex fe4d7e031b..773a8cfe6d 100644--- a/mobile/apps/photos/lib/ui/tabs/albums/empty_states/received_empty_state.dart+++ b/mobile/apps/photos/lib/ui/tabs/albums/empty_states/received_empty_state.dart@@ -1,64 +1,29 @@import "package:ente_components/ente_components.dart";import "package:ente_strings/ente_strings.dart";import "package:flutter/material.dart";-import "package:photos/ui/tabs/albums/empty_states/empty_state_feature_row.dart";+import "package:photos/ui/collections/collection_action_sheet.dart";+import "package:photos/ui/tabs/albums/empty_states/empty_state_layout.dart";class ReceivedEmptyState extends StatelessWidget {const ReceivedEmptyState({super.key});- static const _topPadding = 32.0;- static const _sectionSpacing = 48.0;- static const _contentWidth = 343.0;- static const _featureWidth = 300.0;+ static const _illustrationHeight = 158.0;@overrideWidget build(BuildContext context) {- final colors = context.componentColors;final strings = context.strings;- final bottomPadding = 64 + MediaQuery.paddingOf(context).bottom + 32;- final features = [- strings.albumsReceivedEmptyFeatureSharedByOthers,- strings.albumsReceivedEmptyFeatureAcceptInvites,- strings.albumsReceivedEmptyFeatureSaveToLibrary,- ];- return Align(- alignment: Alignment.bottomCenter,- child: Padding(- padding: EdgeInsets.fromLTRB(16, _topPadding, 16, bottomPadding),- child: Column(- mainAxisSize: MainAxisSize.min,- children: [- SizedBox(- width: _contentWidth,- child: Column(- mainAxisSize: MainAxisSize.min,- children: [- Image.asset("assets/shared.png", fit: BoxFit.contain),- const SizedBox(height: _sectionSpacing),- Text(- strings.albumsReceivedEmptyTitle,- textAlign: TextAlign.center,- style: TextStyles.display2.copyWith(color: colors.textBase),- ),- const SizedBox(height: 24),- SizedBox(- width: _featureWidth,- child: Column(- children: [- EmptyStateBulletFeatureRow(label: features[0]),- const SizedBox(height: 12),- EmptyStateBulletFeatureRow(label: features[1]),- const SizedBox(height: 12),- EmptyStateBulletFeatureRow(label: features[2]),- ],- ),- ),- ],- ),- ),- const SizedBox(height: 120),- ],+ return EmptyStateLayout(+ assetPath: "assets/received.png",+ assetHeight: _illustrationHeight,+ title: strings.albumsReceivedEmptyTitle,+ description: strings.albumsReceivedEmptyDescription,+ action: ButtonComponent(+ label: strings.shareAnAlbum,+ shouldSurfaceExecutionStates: false,+ onTap: () => showCollectionActionSheet(+ context,+ actionType: CollectionActionType.shareCollection,),),);diff --git a/mobile/apps/photos/lib/ui/tabs/albums/empty_states/shared_empty_state.dart b/mobile/apps/photos/lib/ui/tabs/albums/empty_states/shared_empty_state.dartindex 3622a5886a..9cf28bdf49 100644--- a/mobile/apps/photos/lib/ui/tabs/albums/empty_states/shared_empty_state.dart+++ b/mobile/apps/photos/lib/ui/tabs/albums/empty_states/shared_empty_state.dart@@ -2,73 +2,28 @@ import "package:ente_components/ente_components.dart";import "package:ente_strings/ente_strings.dart";import "package:flutter/material.dart";import "package:photos/ui/collections/collection_action_sheet.dart";-import "package:photos/ui/tabs/albums/empty_states/empty_state_feature_row.dart";+import "package:photos/ui/tabs/albums/empty_states/empty_state_layout.dart";class SharedEmptyState extends StatelessWidget {const SharedEmptyState({super.key});- static const _topPadding = 32.0;- static const _sectionSpacing = 48.0;- static const _contentToButtonSpacing = 56.0;- static const _contentWidth = 343.0;- static const _featureWidth = 300.0;+ static const _illustrationHeight = 111.0;@overrideWidget build(BuildContext context) {- final colors = context.componentColors;final strings = context.strings;- final bottomPadding = 64 + MediaQuery.paddingOf(context).bottom + 32;- final features = [- strings.albumsSharedEmptyFeatureShareLovedOnes,- strings.albumsSharedEmptyFeatureReactAndComment,- strings.albumsOnEnteEmptyFeaturePrivacy,- ];- return Align(- alignment: Alignment.bottomCenter,- child: Padding(- padding: EdgeInsets.fromLTRB(16, _topPadding, 16, bottomPadding),- child: Column(- mainAxisSize: MainAxisSize.min,- children: [- SizedBox(- width: _contentWidth,- child: Column(- mainAxisSize: MainAxisSize.min,- children: [- Image.asset("assets/shared.png", fit: BoxFit.contain),- const SizedBox(height: _sectionSpacing),- Text(- strings.albumsSharedEmptyTitle,- textAlign: TextAlign.center,- style: TextStyles.display2.copyWith(color: colors.textBase),- ),- const SizedBox(height: 24),- SizedBox(- width: _featureWidth,- child: Column(- children: [- EmptyStateBulletFeatureRow(label: features[0]),- const SizedBox(height: 12),- EmptyStateBulletFeatureRow(label: features[1]),- const SizedBox(height: 12),- EmptyStateBulletFeatureRow(label: features[2]),- ],- ),- ),- ],- ),- ),- const SizedBox(height: _contentToButtonSpacing),- ButtonComponent(- label: strings.shareAnAlbum,- shouldSurfaceExecutionStates: false,- onTap: () => showCollectionActionSheet(- context,- actionType: CollectionActionType.shareCollection,- ),- ),- ],+ return EmptyStateLayout(+ assetPath: "assets/shared.png",+ assetHeight: _illustrationHeight,+ title: strings.albumsSharedEmptyTitle,+ description: strings.albumsSharedEmptyDescription,+ action: ButtonComponent(+ label: strings.shareAnAlbum,+ shouldSurfaceExecutionStates: false,+ onTap: () => showCollectionActionSheet(+ context,+ actionType: CollectionActionType.shareCollection,),),);diff --git a/mobile/apps/photos/lib/ui/tabs/albums_tab.dart b/mobile/apps/photos/lib/ui/tabs/albums_tab.dartindex 4e7ca7e1aa..8da57d4a3d 100644--- a/mobile/apps/photos/lib/ui/tabs/albums_tab.dart+++ b/mobile/apps/photos/lib/ui/tabs/albums_tab.dart@@ -402,7 +402,7 @@ class _AlbumsTabState extends State<AlbumsTab>Widget? leadingSliver,}) {if (collections.isEmpty && _searchQuery.trim().isEmpty) {- return SliverFillRemaining(hasScrollBody: false, child: emptyState);+ return SliverFillRemaining(child: emptyState);}final filteredCollections = _filterCollectionsByQuery(collections);diff --git a/mobile/apps/photos/test/ui/tabs/albums/empty_states_test.dart b/mobile/apps/photos/test/ui/tabs/albums/empty_states_test.dartnew file mode 100644index 0000000000..7078fe9809--- /dev/null+++ b/mobile/apps/photos/test/ui/tabs/albums/empty_states_test.dart@@ -0,0 +1,204 @@+import "package:ente_components/ente_components.dart";+import "package:ente_strings/ente_strings.dart";+import "package:flutter/material.dart";+import "package:flutter_test/flutter_test.dart";+import "package:photos/ente_theme_data.dart";+import "package:photos/ui/home/home_bottom_nav_bar.dart";+import "package:photos/ui/social/widgets/feed_empty_state.dart";+import "package:photos/ui/tabs/albums/empty_states/empty_state_layout.dart";+import "package:photos/ui/tabs/albums/empty_states/on_device_empty_state.dart";+import "package:photos/ui/tabs/albums/empty_states/on_ente_empty_state.dart";+import "package:photos/ui/tabs/albums/empty_states/received_empty_state.dart";+import "package:photos/ui/tabs/albums/empty_states/shared_empty_state.dart";++const _screenSize = Size(402, 874);+const _bottomSafeArea = 34.0;++void main() {+ final cases = <(String, Widget, String, String, String, String?)>[+ (+ "Ente",+ const OnEnteEmptyState(),+ "assets/on_ente.png",+ "Back up your memories",+ "Access them on any device and share them with loved ones.",+ "Select albums to backup",+ ),+ (+ "Device without permission",+ const OnDeviceEmptyState.permission(),+ "assets/on_device.png",+ "Allow access to your photos",+ "Your photos get organized with face recognition, right on your device.",+ "Allow access",+ ),+ (+ "Device without albums",+ const OnDeviceEmptyState.noFolders(),+ "assets/on_device_empty.png",+ "No albums on this device",+ "Start snapping, your photos will show up here.",+ null,+ ),+ (+ "Shared",+ const SharedEmptyState(),+ "assets/shared.png",+ "Share your memories",+ "Loved ones can view, react and add comments, without an account.",+ "Share an album",+ ),+ (+ "Received",+ const ReceivedEmptyState(),+ "assets/received.png",+ "Memories shared with you",+ "Albums shared with you appear here, ready to view and save.",+ "Share an album",+ ),+ (+ "Feed",+ const FeedEmptyState(),+ "assets/feed.png",+ "Share your memories",+ "Loved ones can view, react and add comments, without an account.",+ "Share an album",+ ),+ ];++ for (final (name, state, asset, title, description, action) in cases) {+ testWidgets("$name empty state shows its illustration, copy and action", (+ tester,+ ) async {+ await _pumpInHost(tester, state);++ expect(_assetImage(asset), findsOneWidget);+ expect(find.text(title), findsOneWidget);+ expect(find.text(description), findsOneWidget);+ if (action == null) {+ expect(find.byType(ButtonComponent), findsNothing);+ } else {+ expect(find.widgetWithText(ButtonComponent, action), findsOneWidget);+ }+ });+ }++ testWidgets("centers content in the space above the bottom navigation", (+ tester,+ ) async {+ await _pumpInHost(tester, const ReceivedEmptyState());++ final content = tester.getRect(_layoutColumn());+ expect(+ content.center.dy,+ moreOrLessEquals((_screenSize.height - _bottomSafeArea - 52) / 2),+ );+ expect(content.center.dx, moreOrLessEquals(_screenSize.width / 2));+ });++ testWidgets("centers content in the full height without navigation", (+ tester,+ ) async {+ await _pump(+ tester,+ const FeedEmptyState(reservesBottomNavigationSpace: false),+ );++ expect(+ tester.getRect(_layoutColumn()).center.dy,+ moreOrLessEquals((_screenSize.height - _bottomSafeArea) / 2),+ );+ });++ for (final (name, state, size, textScale) in <(String, Widget, Size, double)>[+ ("Received", const ReceivedEmptyState(), const Size(402, 480), 2),+ ("Received", const ReceivedEmptyState(), const Size(375, 500), 2),+ ("Ente", const OnEnteEmptyState(), const Size(402, 400), 1.5),+ ("Feed", const FeedEmptyState(), const Size(320, 480), 2),+ ]) {+ testWidgets(+ "$name empty state at ${size.width.toInt()}x${size.height.toInt()} "+ "with ${textScale}x text scrolls its action clear of the nav bar",+ (tester) async {+ await _pumpInHost(+ tester,+ state,+ size: size,+ textScaler: TextScaler.linear(textScale),+ );++ expect(tester.takeException(), isNull);+ await tester.drag(+ find.byType(SingleChildScrollView),+ const Offset(0, -2000),+ );+ await tester.pumpAndSettle();+ final action = find.byType(ButtonComponent);+ expect(action.hitTestable(), findsOneWidget);+ expect(+ tester.getRect(action).bottom,+ lessThanOrEqualTo(+ size.height - _bottomSafeArea - homeBottomNavigationBarHeight,+ ),+ );+ },+ );+ }+}++Finder _assetImage(String path) => find.byWidgetPredicate(+ (widget) =>+ widget is Image &&+ widget.image is AssetImage &&+ (widget.image as AssetImage).assetName == path,+);++Finder _layoutColumn() => find+ .descendant(+ of: find.byType(EmptyStateLayout),+ matching: find.byType(Column),+ )+ .first;++Future<void> _pumpInHost(+ WidgetTester tester,+ Widget state, {+ Size size = _screenSize,+ TextScaler textScaler = TextScaler.noScaling,+}) {+ return _pump(+ tester,+ state is! FeedEmptyState+ ? CustomScrollView(slivers: [SliverFillRemaining(child: state)])+ : state,+ size: size,+ textScaler: textScaler,+ );+}++Future<void> _pump(+ WidgetTester tester,+ Widget child, {+ Size size = _screenSize,+ TextScaler textScaler = TextScaler.noScaling,+}) async {+ tester.view.physicalSize = size * tester.view.devicePixelRatio;+ addTearDown(tester.view.resetPhysicalSize);++ await tester.pumpWidget(+ MaterialApp(+ theme: lightThemeData,+ localizationsDelegates: StringsLocalizations.localizationsDelegates,+ supportedLocales: StringsLocalizations.supportedLocales,+ home: MediaQuery(+ data: MediaQueryData(+ size: size,+ padding: const EdgeInsets.only(bottom: _bottomSafeArea),+ textScaler: textScaler,+ ),+ child: Scaffold(body: child),+ ),+ ),+ );+ await tester.pumpAndSettle();+}diff --git a/mobile/packages/strings/lib/l10n/arb/strings_ar.arb b/mobile/packages/strings/lib/l10n/arb/strings_ar.arbindex 8cd588b6e2..8d2ea99302 100644--- a/mobile/packages/strings/lib/l10n/arb/strings_ar.arb+++ b/mobile/packages/strings/lib/l10n/arb/strings_ar.arb@@ -82,8 +82,6 @@"after1Year": "بعد سنة","albumName": "اسم الألبوم","albums": "الألبومات",- "albumsOnDevicePermissionFeatureControlUploads": "أنت تتحكم في ما يتم رفعه",- "albumsOnEnteEmptyFeaturePrivacy": "خصوصية كاملة مع التشفير التام بين الطرفين","albumsOnEnteEmptyTitle": "النسخ الاحتياطي لذكرياتك","albumTitle": "عنوان الألبوم","albumUpdated": "تم تحديث الألبوم",diff --git a/mobile/packages/strings/lib/l10n/arb/strings_bg.arb b/mobile/packages/strings/lib/l10n/arb/strings_bg.arbindex 5a618e8152..5cd265ac40 100644--- a/mobile/packages/strings/lib/l10n/arb/strings_bg.arb+++ b/mobile/packages/strings/lib/l10n/arb/strings_bg.arb@@ -180,20 +180,9 @@}},"albumsOnDevicePermissionCta": "Allow access",- "albumsOnDevicePermissionFeatureAllowAccessFaceRecognition": "Allow Ente to access and organize your photos with face recognition",- "albumsOnDevicePermissionFeatureControlUploads": "You're in control of what gets uploaded",- "albumsOnDevicePermissionFeatureLocalProcessing": "All processing happens on your device","albumsOnEnteEmptyCta": "Select albums to backup",- "albumsOnEnteEmptyFeatureAccessAnyDevice": "Access them on any device",- "albumsOnEnteEmptyFeaturePrivacy": "Full privacy with end-to-end encryption",- "albumsOnEnteEmptyFeatureShareLovedOnes": "Споделете с любими хора - те могат да добавят реакция и съобщение без профил","albumsOnEnteEmptyTitle": "Back up your memories",- "albumsReceivedEmptyFeatureAcceptInvites": "Accept invites to view photos and videos",- "albumsReceivedEmptyFeatureSaveToLibrary": "Save shared memories to your own library",- "albumsReceivedEmptyFeatureSharedByOthers": "Albums shared by others will appear here","albumsReceivedEmptyTitle": "View memories shared\n with you",- "albumsSharedEmptyFeatureReactAndComment": "Те могат да видят, добавят реакция и коментар без профил",- "albumsSharedEmptyFeatureShareLovedOnes": "Share your photos and videos with loved ones","albumsSharedEmptyTitle": "Share your memories","albumsWidgetDesc": "Select the albums you want to see on your home screen.","albumTitle": "Album title",diff --git a/mobile/packages/strings/lib/l10n/arb/strings_de.arb b/mobile/packages/strings/lib/l10n/arb/strings_de.arbindex 7e96c07d66..5bfe5133c0 100644--- a/mobile/packages/strings/lib/l10n/arb/strings_de.arb+++ b/mobile/packages/strings/lib/l10n/arb/strings_de.arb@@ -197,20 +197,9 @@}},"albumsOnDevicePermissionCta": "Zugriff erlauben",- "albumsOnDevicePermissionFeatureAllowAccessFaceRecognition": "Erlaube Ente den Zugriff und die Organisation deiner Fotos mit Gesichtserkennung",- "albumsOnDevicePermissionFeatureControlUploads": "Du hast die Kontrolle darüber, was hochgeladen wird",- "albumsOnDevicePermissionFeatureLocalProcessing": "Die gesamte Verarbeitung erfolgt auf deinem Gerät","albumsOnEnteEmptyCta": "Alben zum Sichern auswählen",- "albumsOnEnteEmptyFeatureAccessAnyDevice": "Greife auf sie von jedem Gerät aus zu",- "albumsOnEnteEmptyFeaturePrivacy": "Vollständige Privatsphäre mit Ende-zu-Ende-Verschlüsselung",- "albumsOnEnteEmptyFeatureShareLovedOnes": "Teile sie mit deinen Liebsten - sie können darauf reagieren und darüber chatten, ohne ein Konto","albumsOnEnteEmptyTitle": "Sichere deine Erinnerungen",- "albumsReceivedEmptyFeatureAcceptInvites": "Einladungen annehmen, um Fotos und Videos anzusehen",- "albumsReceivedEmptyFeatureSaveToLibrary": "Speichere geteilte Erinnerungen in deiner eigenen Bibliothek",- "albumsReceivedEmptyFeatureSharedByOthers": "Von anderen geteilte Alben werden hier erscheinen","albumsReceivedEmptyTitle": "Zeige geteilte\n Erinnerungen mit dir",- "albumsSharedEmptyFeatureReactAndComment": "Sie können ohne Konto anzeigen, reagieren und Kommentare hinzufügen",- "albumsSharedEmptyFeatureShareLovedOnes": "Teile deine Fotos und Videos mit deinen Lieben","albumsSharedEmptyTitle": "Teile deine Erinnerungen","albumsWidgetDesc": "Wähle die Alben, die du auf der Startseite sehen möchtest.","albumTitle": "Albumtitel",diff --git a/mobile/packages/strings/lib/l10n/arb/strings_en.arb b/mobile/packages/strings/lib/l10n/arb/strings_en.arbindex ee1a529ff0..ac13021f75 100644--- a/mobile/packages/strings/lib/l10n/arb/strings_en.arb+++ b/mobile/packages/strings/lib/l10n/arb/strings_en.arb@@ -209,20 +209,25 @@}},"albumsOnDevicePermissionCta": "Allow access",- "albumsOnDevicePermissionFeatureAllowAccessFaceRecognition": "Allow Ente to access and organize your photos with face recognition",- "albumsOnDevicePermissionFeatureControlUploads": "You're in control of what gets uploaded",- "albumsOnDevicePermissionFeatureLocalProcessing": "All processing happens on your device",+ "albumsOnDevicePermissionDescription": "Your photos get organized with face recognition, right on your device.",+ "@albumsOnDevicePermissionDescription": {+ "description": "Body of the on-device albums empty state shown before photo access is granted"+ },"albumsOnEnteEmptyCta": "Select albums to backup",- "albumsOnEnteEmptyFeatureAccessAnyDevice": "Access them on any device",- "albumsOnEnteEmptyFeaturePrivacy": "Full privacy with end-to-end encryption",- "albumsOnEnteEmptyFeatureShareLovedOnes": "Share them with loved ones - they can react and chat, without an account",+ "albumsOnEnteEmptyDescription": "Access them on any device and share them with loved ones.",+ "@albumsOnEnteEmptyDescription": {+ "description": "Body of the Ente albums empty state, under the title 'Back up your memories'"+ },"albumsOnEnteEmptyTitle": "Back up your memories",- "albumsReceivedEmptyFeatureAcceptInvites": "Accept invites to view photos and videos",- "albumsReceivedEmptyFeatureSaveToLibrary": "Save shared memories to your own library",- "albumsReceivedEmptyFeatureSharedByOthers": "Albums shared by others will appear here",- "albumsReceivedEmptyTitle": "View memories shared\n with you",- "albumsSharedEmptyFeatureReactAndComment": "They can view, react and add comments, without an account",- "albumsSharedEmptyFeatureShareLovedOnes": "Share your photos and videos with loved ones",+ "albumsReceivedEmptyDescription": "Albums shared with you appear here, ready to view and save.",+ "@albumsReceivedEmptyDescription": {+ "description": "Body of the received albums empty state"+ },+ "albumsReceivedEmptyTitle": "Memories shared with you",+ "albumsSharedEmptyDescription": "Loved ones can view, react and add comments, without an account.",+ "@albumsSharedEmptyDescription": {+ "description": "Body of the shared albums and feed empty states, under the title 'Share your memories'"+ },"albumsSharedEmptyTitle": "Share your memories","albumsWidgetDesc": "Select the albums you want to see on your home screen.","albumTitle": "Album title",@@ -2753,7 +2758,7 @@},"nightLights": "Neon nights","no": "No",- "noAlbumsOnThisDevice": "No albums\non this device",+ "noAlbumsOnThisDevice": "No albums on this device","noAppToOpenFileDownloadInstead": "No app is available to preview this file. You can download it and open it with another app.","@noAppToOpenFileDownloadInstead": {"description": "Message shown when Android cannot find an app to open or preview a file"@@ -4268,7 +4273,7 @@}}},- "startSnappingYourPhotosWillShowUpHere": "Start snapping, your photos will show up here",+ "startSnappingYourPhotosWillShowUpHere": "Start snapping, your photos will show up here.","startWithAddingPhotosOrFamiliarFaces": "Start with adding\nphotos or familiar faces","startWithLatestPhotos": "Start with latest photos","status": "Status",diff --git a/mobile/packages/strings/lib/l10n/arb/strings_es.arb b/mobile/packages/strings/lib/l10n/arb/strings_es.arbindex 436e0f75af..e2651ca614 100644--- a/mobile/packages/strings/lib/l10n/arb/strings_es.arb+++ b/mobile/packages/strings/lib/l10n/arb/strings_es.arb@@ -154,19 +154,9 @@}},"albumsOnDevicePermissionCta": "Permitir acceso",- "albumsOnDevicePermissionFeatureAllowAccessFaceRecognition": "Permitir a Ente acceder y organizar tus fotos con reconocimiento facial",- "albumsOnDevicePermissionFeatureControlUploads": "Tienes el control de lo que se carga",- "albumsOnDevicePermissionFeatureLocalProcessing": "Todo el procesamiento se realiza en tu dispositivo","albumsOnEnteEmptyCta": "Selecciona los álbumes que respaldar en Ente",- "albumsOnEnteEmptyFeatureAccessAnyDevice": "Acceder a ellos en cualquier dispositivo",- "albumsOnEnteEmptyFeaturePrivacy": "Privacidad completa con cifrado de extremo a extremo",- "albumsOnEnteEmptyFeatureShareLovedOnes": "Compártelos con seres queridos - pueden reaccionar y chatear sin una cuenta","albumsOnEnteEmptyTitle": "Respalda tus recuerdos",- "albumsReceivedEmptyFeatureAcceptInvites": "Aceptar invitaciones para ver fotos y vídeos",- "albumsReceivedEmptyFeatureSaveToLibrary": "Guardar recuerdos compartidos en tu propia biblioteca",- "albumsReceivedEmptyFeatureSharedByOthers": "Los álbumes compartidos por otros aparecerán aquí","albumsReceivedEmptyTitle": "Ver recuerdos compartidos\n contigo",- "albumsSharedEmptyFeatureReactAndComment": "Pueden ver, reaccionar y añadir comentarios sin una cuenta","albumsWidgetDesc": "Selecciona los álbumes que quieres ver en tu pantalla de inicio.","albumTitle": "Título del álbum","albumUpdated": "Álbum actualizado",diff --git a/mobile/packages/strings/lib/l10n/arb/strings_et.arb b/mobile/packages/strings/lib/l10n/arb/strings_et.arbindex 86ae1542c4..4f09285ef3 100644--- a/mobile/packages/strings/lib/l10n/arb/strings_et.arb+++ b/mobile/packages/strings/lib/l10n/arb/strings_et.arb@@ -64,7 +64,6 @@},"albumsOnDevicePermissionCta": "Luba ligipääs","albumsOnEnteEmptyTitle": "Tee oma mälestustest varukoopia",- "albumsReceivedEmptyFeatureAcceptInvites": "Nõustu kutsetega fotode ja videote vaatamiseks","albumUpdated": "Albumit on uuendatud","algorithm": "Algoritm","all": "Kõik",diff --git a/mobile/packages/strings/lib/l10n/arb/strings_fr.arb b/mobile/packages/strings/lib/l10n/arb/strings_fr.arbindex e6234d7a6f..01f6c1b6c9 100644--- a/mobile/packages/strings/lib/l10n/arb/strings_fr.arb+++ b/mobile/packages/strings/lib/l10n/arb/strings_fr.arb@@ -179,20 +179,9 @@}},"albumsOnDevicePermissionCta": "Autoriser l'accès",- "albumsOnDevicePermissionFeatureAllowAccessFaceRecognition": "Autoriser Ente à accéder et organiser vos photos avec reconnaissance faciale",- "albumsOnDevicePermissionFeatureControlUploads": "Vous contrôlez ce qui est envoyé",- "albumsOnDevicePermissionFeatureLocalProcessing": "Tous les traitements ont lieu sur votre appareil","albumsOnEnteEmptyCta": "Sélectionner les albums à sauvegarder",- "albumsOnEnteEmptyFeatureAccessAnyDevice": "Accédez-y sur n'importe quel appareil",- "albumsOnEnteEmptyFeaturePrivacy": "Confidentialité totale avec chiffrement de bout en bout",- "albumsOnEnteEmptyFeatureShareLovedOnes": "Partagez-les avec vos proches - ils peuvent réagir et discuter, sans compte","albumsOnEnteEmptyTitle": "Sauvegardez vos souvenirs",- "albumsReceivedEmptyFeatureAcceptInvites": "Acceptez des invitations pour voir des photos et des vidéos",- "albumsReceivedEmptyFeatureSaveToLibrary": "Enregistrez des souvenirs partagés dans votre propre bibliothèque",- "albumsReceivedEmptyFeatureSharedByOthers": "Les albums partagés par les autres apparaîtront ici","albumsReceivedEmptyTitle": "Voir les souvenirs partagés\n avec vous",- "albumsSharedEmptyFeatureReactAndComment": "Ils peuvent voir, réagir et ajouter des commentaires, sans compte",- "albumsSharedEmptyFeatureShareLovedOnes": "Partagez vos photos et vidéos avec vos proches","albumsSharedEmptyTitle": "Partagez vos souvenirs","albumsWidgetDesc": "Sélectionnez les albums que vous souhaitez voir sur votre écran d'accueil.","albumTitle": "Titre de l'album",diff --git a/mobile/packages/strings/lib/l10n/arb/strings_hu.arb b/mobile/packages/strings/lib/l10n/arb/strings_hu.arbindex f7ee8a8edd..0e2bad0d7e 100644--- a/mobile/packages/strings/lib/l10n/arb/strings_hu.arb+++ b/mobile/packages/strings/lib/l10n/arb/strings_hu.arb@@ -32,10 +32,7 @@"after1Day": "1 nap múlva","albumLayout": "Albumelrendezés","albums": "Album",- "albumsOnEnteEmptyFeatureAccessAnyDevice": "Férj hozzá bármilyen eszközön",- "albumsOnEnteEmptyFeaturePrivacy": "Teljes biztonság végpontok közötti titkosítással","albumsOnEnteEmptyTitle": "Mentsd el az emlékeid",- "albumsReceivedEmptyFeatureSharedByOthers": "A mások által megosztott albumok itt fognak megjelenni","albumsSharedEmptyTitle": "Emlékeid megosztása","albumUpdated": "Album módosítva","algorithm": "Algoritmus",diff --git a/mobile/packages/strings/lib/l10n/arb/strings_it.arb b/mobile/packages/strings/lib/l10n/arb/strings_it.arbindex 67a1b677ae..2e75503a66 100644--- a/mobile/packages/strings/lib/l10n/arb/strings_it.arb+++ b/mobile/packages/strings/lib/l10n/arb/strings_it.arb@@ -197,20 +197,9 @@}},"albumsOnDevicePermissionCta": "Consenti l'accesso",- "albumsOnDevicePermissionFeatureAllowAccessFaceRecognition": "Consenti a Ente di accedere e organizzare le tue foto con riconoscimento facciale",- "albumsOnDevicePermissionFeatureControlUploads": "Sei in controllo di ciò che viene caricato",- "albumsOnDevicePermissionFeatureLocalProcessing": "Tutta l'elaborazione avviene sul tuo dispositivo","albumsOnEnteEmptyCta": "Seleziona album da eseguire il backup",- "albumsOnEnteEmptyFeatureAccessAnyDevice": "Accedili su qualsiasi dispositivo",- "albumsOnEnteEmptyFeaturePrivacy": "Privacy completa con crittografia end-to-end",- "albumsOnEnteEmptyFeatureShareLovedOnes": "Condividere con i propri cari - possono reagire e chattare, senza un account","albumsOnEnteEmptyTitle": "Esegui il backup dei tuoi ricordi",- "albumsReceivedEmptyFeatureAcceptInvites": "Accetta inviti a visualizzare foto e video",- "albumsReceivedEmptyFeatureSaveToLibrary": "Salva memorie condivise nella tua libreria",- "albumsReceivedEmptyFeatureSharedByOthers": "Gli album condivisi da altri appariranno qui","albumsReceivedEmptyTitle": "Visualizza i ricordi condivisi\n con te",- "albumsSharedEmptyFeatureReactAndComment": "Possono visualizzare, reagire e aggiungere commenti, senza un account",- "albumsSharedEmptyFeatureShareLovedOnes": "Condividi le tue foto e video con i tuoi cari","albumsSharedEmptyTitle": "Condividi i tuoi ricordi","albumsWidgetDesc": "Seleziona gli album che desideri vedere nella schermata principale.","albumTitle": "Titolo album",diff --git a/mobile/packages/strings/lib/l10n/arb/strings_nl.arb b/mobile/packages/strings/lib/l10n/arb/strings_nl.arbindex 979f935cbd..63b49dc576 100644--- a/mobile/packages/strings/lib/l10n/arb/strings_nl.arb+++ b/mobile/packages/strings/lib/l10n/arb/strings_nl.arb@@ -101,7 +101,6 @@"after1Week": "Na 1 week","after1Year": "Na 1 jaar","albumLayout": "Albumweergave",- "albumsOnDevicePermissionFeatureAllowAccessFaceRecognition": "Geef Ente toegang tot je foto's om ze met gezichtsherkenning te ordenen","albumTitle": "Albumtitel","albumUpdated": "Album bijgewerkt","algorithm": "Algoritme",diff --git a/mobile/packages/strings/lib/l10n/arb/strings_pt_BR.arb b/mobile/packages/strings/lib/l10n/arb/strings_pt_BR.arbindex 253bd039c6..922e3a361c 100644--- a/mobile/packages/strings/lib/l10n/arb/strings_pt_BR.arb+++ b/mobile/packages/strings/lib/l10n/arb/strings_pt_BR.arb@@ -184,20 +184,9 @@}},"albumsOnDevicePermissionCta": "Permitir",- "albumsOnDevicePermissionFeatureAllowAccessFaceRecognition": "Permitir que Ente acesse e organize suas fotos com reconhecimento facial",- "albumsOnDevicePermissionFeatureControlUploads": "Você está em controle do que é enviado",- "albumsOnDevicePermissionFeatureLocalProcessing": "Todo processamento ocorre em seu dispositivo","albumsOnEnteEmptyCta": "Selecione os álbuns para backup",- "albumsOnEnteEmptyFeatureAccessAnyDevice": "Acesse-as em qualquer dispositivo",- "albumsOnEnteEmptyFeaturePrivacy": "Privacidade total com criptografia ponta a ponta",- "albumsOnEnteEmptyFeatureShareLovedOnes": "Compartilhe-as com entes queridos - eles podem comentar e reagir, sem uma conta","albumsOnEnteEmptyTitle": "Fazer backup de suas memórias",- "albumsReceivedEmptyFeatureAcceptInvites": "Aceite convites para ver fotos e vídeos",- "albumsReceivedEmptyFeatureSaveToLibrary": "Salve memórias compartilhadas na sua própria biblioteca",- "albumsReceivedEmptyFeatureSharedByOthers": "Os álbuns compartilhados por outros aparecerão aqui","albumsReceivedEmptyTitle": "Veja memórias compartilhadas\n com você",- "albumsSharedEmptyFeatureReactAndComment": "Eles poderão ver, reagir e comentar, mesmo sem uma conta",- "albumsSharedEmptyFeatureShareLovedOnes": "Compartilhe suas fotos e vídeos com entes queridos","albumsSharedEmptyTitle": "Compartilhe suas memórias","albumsWidgetDesc": "Selecione os álbuns que deseja ver na tela inicial.","albumTitle": "Título do álbum",diff --git a/mobile/packages/strings/lib/l10n/arb/strings_ru.arb b/mobile/packages/strings/lib/l10n/arb/strings_ru.arbindex bf66993222..546bb1ad66 100644--- a/mobile/packages/strings/lib/l10n/arb/strings_ru.arb+++ b/mobile/packages/strings/lib/l10n/arb/strings_ru.arb@@ -197,20 +197,9 @@}},"albumsOnDevicePermissionCta": "Разрешить доступ",- "albumsOnDevicePermissionFeatureAllowAccessFaceRecognition": "Разрешите Ente доступ к вашим фото для их организации с помощью распознавания лиц",- "albumsOnDevicePermissionFeatureControlUploads": "Вы сами контролируете, что загружается",- "albumsOnDevicePermissionFeatureLocalProcessing": "Вся обработка происходит на вашем устройстве","albumsOnEnteEmptyCta": "Выберите альбомы для резервного копирования",- "albumsOnEnteEmptyFeatureAccessAnyDevice": "Обращайтесь к ним любого устройства",- "albumsOnEnteEmptyFeaturePrivacy": "Полная конфиденциальность со сквозным шифрованием",- "albumsOnEnteEmptyFeatureShareLovedOnes": "Делитесь ими с близкими - они могут реагировать и общаться, без учетной записи","albumsOnEnteEmptyTitle": "Сохраняйте воспоминания",- "albumsReceivedEmptyFeatureAcceptInvites": "Принимайте приглашения для просмотра фото и видео",- "albumsReceivedEmptyFeatureSaveToLibrary": "Сохраняйте общие воспоминания в свою библиотеку",- "albumsReceivedEmptyFeatureSharedByOthers": "Здесь появятся альбомы, которыми поделились с Вами","albumsReceivedEmptyTitle": "Просматривайте воспоминания, которыми с вами поделились",- "albumsSharedEmptyFeatureReactAndComment": "Они могут просматривать, реагировать и добавлять комментарии, без учетной записи",- "albumsSharedEmptyFeatureShareLovedOnes": "Делитесь своими фотографиями и видео с близкими","albumsSharedEmptyTitle": "Делитесь воспоминаниями","albumsWidgetDesc": "Выберите альбомы, которые хотите видеть на главном экране.","albumTitle": "Название альбома",diff --git a/mobile/packages/strings/lib/l10n/arb/strings_sv.arb b/mobile/packages/strings/lib/l10n/arb/strings_sv.arbindex 18b14380f7..2661b2c725 100644--- a/mobile/packages/strings/lib/l10n/arb/strings_sv.arb+++ b/mobile/packages/strings/lib/l10n/arb/strings_sv.arb@@ -193,20 +193,9 @@}},"albumsOnDevicePermissionCta": "Tillåt åtkomst",- "albumsOnDevicePermissionFeatureAllowAccessFaceRecognition": "Tillåt Ente att komma åt och organisera dina foton med ansiktsigenkänning",- "albumsOnDevicePermissionFeatureControlUploads": "Du bestämmer vad som laddas upp",- "albumsOnDevicePermissionFeatureLocalProcessing": "All bearbetning sker på din enhet","albumsOnEnteEmptyCta": "Välj album att säkerhetskopiera",- "albumsOnEnteEmptyFeatureAccessAnyDevice": "Få åtkomst till dem från vilken enhet som helst",- "albumsOnEnteEmptyFeaturePrivacy": "Fullständig integritet med totalsträckskryptering",- "albumsOnEnteEmptyFeatureShareLovedOnes": "Dela dem med personer du tycker om – de kan reagera och chatta utan konto","albumsOnEnteEmptyTitle": "Säkerhetskopiera dina minnen",- "albumsReceivedEmptyFeatureAcceptInvites": "Acceptera inbjudningar för att visa foton och videor",- "albumsReceivedEmptyFeatureSaveToLibrary": "Spara delade minnen i ditt eget bibliotek",- "albumsReceivedEmptyFeatureSharedByOthers": "Album som andra har delat visas här","albumsReceivedEmptyTitle": "Visa minnen som har delats\nmed dig",- "albumsSharedEmptyFeatureReactAndComment": "De kan se, reagera och lägga till kommentarer utan ett konto",- "albumsSharedEmptyFeatureShareLovedOnes": "Dela dina foton och videor med nära och kära","albumsSharedEmptyTitle": "Dela dina minnen","albumsWidgetDesc": "Markera de album du vill ska synas på startskärmen.","albumTitle": "Albumtitel",diff --git a/mobile/packages/strings/lib/l10n/arb/strings_vi.arb b/mobile/packages/strings/lib/l10n/arb/strings_vi.arbindex dee5a30b7f..3b1c8bb6c0 100644--- a/mobile/packages/strings/lib/l10n/arb/strings_vi.arb+++ b/mobile/packages/strings/lib/l10n/arb/strings_vi.arb@@ -197,20 +197,9 @@}},"albumsOnDevicePermissionCta": "Cho phép truy cập",- "albumsOnDevicePermissionFeatureAllowAccessFaceRecognition": "Cho phép Ente truy cập và sắp xếp ảnh của bạn bằng nhận dạng khuôn mặt",- "albumsOnDevicePermissionFeatureControlUploads": "Bạn có quyền kiểm soát những gì được tải lên",- "albumsOnDevicePermissionFeatureLocalProcessing": "Tất cả quá trình xử lý diễn ra trên thiết bị của bạn","albumsOnEnteEmptyCta": "Chọn album để sao lưu",- "albumsOnEnteEmptyFeatureAccessAnyDevice": "Truy cập chúng từ mọi thiết bị",- "albumsOnEnteEmptyFeaturePrivacy": "Riêng tư hoàn toàn với mã hóa đầu cuối",- "albumsOnEnteEmptyFeatureShareLovedOnes": "Chia sẻ chúng với những người thân yêu - họ có thể thích và nhận xét mà không cần có tài khoản","albumsOnEnteEmptyTitle": "Sao lưu những kỷ niệm của bạn",- "albumsReceivedEmptyFeatureAcceptInvites": "Chấp nhận lời mời để xem ảnh và video",- "albumsReceivedEmptyFeatureSaveToLibrary": "Lưu những kỷ niệm đã chia sẻ vào thư viện của bạn",- "albumsReceivedEmptyFeatureSharedByOthers": "Ảnh được chia sẻ từ người khác sẽ xuất hiện ở đây","albumsReceivedEmptyTitle": "Xem những kỷ niệm đã chia sẻ\n với bạn",- "albumsSharedEmptyFeatureReactAndComment": "Họ có thể xem, thích và nhận xét mà không cần có tài khoản",- "albumsSharedEmptyFeatureShareLovedOnes": "Chia sẻ chúng với những người thân yêu","albumsSharedEmptyTitle": "Chia sẻ kỷ niệm của bạn","albumsWidgetDesc": "Chọn những album bạn muốn thấy trên màn hình chính của mình.","albumTitle": "Tiêu đề album",diff --git a/mobile/packages/strings/lib/l10n/arb/strings_zh_TW.arb b/mobile/packages/strings/lib/l10n/arb/strings_zh_TW.arbindex 1ed639896b..6c9cec92a8 100644--- a/mobile/packages/strings/lib/l10n/arb/strings_zh_TW.arb+++ b/mobile/packages/strings/lib/l10n/arb/strings_zh_TW.arb@@ -159,20 +159,9 @@}},"albumsOnDevicePermissionCta": "開啟權限",- "albumsOnDevicePermissionFeatureAllowAccessFaceRecognition": "允許 Ente 存取並透過臉部辨識整理您的照片",- "albumsOnDevicePermissionFeatureControlUploads": "您可掌控要上傳的內容",- "albumsOnDevicePermissionFeatureLocalProcessing": "所有處理都在您的裝置上進行","albumsOnEnteEmptyCta": "選擇要備份的相簿",- "albumsOnEnteEmptyFeatureAccessAnyDevice": "在任何裝置上存取它們",- "albumsOnEnteEmptyFeaturePrivacy": "端對端加密,完整保護隱私",- "albumsOnEnteEmptyFeatureShareLovedOnes": "與摯愛分享——他們無需帳號也能互動和聊天","albumsOnEnteEmptyTitle": "備份您的回憶",- "albumsReceivedEmptyFeatureAcceptInvites": "接受邀請便可觀看照片跟影片",- "albumsReceivedEmptyFeatureSaveToLibrary": "將與您分享的回憶存到自己的收藏",- "albumsReceivedEmptyFeatureSharedByOthers": "別人與您分享的相簿會出現在這裡","albumsReceivedEmptyTitle": "檢視收到的分享回憶\n 與您分享",- "albumsSharedEmptyFeatureReactAndComment": "他們無需帳號也能查看、互動和留言",- "albumsSharedEmptyFeatureShareLovedOnes": "與摯愛分享您的照片與影片","albumsSharedEmptyTitle": "分享您的回憶","albumsWidgetDesc": "選擇您想在主畫面上看到的相簿。","albumTitle": "相簿標題",