Skip to content

armgit / ente

Public Imported from GitHub
0

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

Remove feature flag for surfacing public link

Neeraj Gupta9a1961ba64e9
diff --git a/mobile/apps/photos/lib/ui/sharing/album_participants_page.dart b/mobile/apps/photos/lib/ui/sharing/album_participants_page.dart
index 4df1e661d8..f6339fa862 100644
--- a/mobile/apps/photos/lib/ui/sharing/album_participants_page.dart
+++ b/mobile/apps/photos/lib/ui/sharing/album_participants_page.dart
@@ -77,14 +77,12 @@ class _AlbumParticipantsPageState extends State<AlbumParticipantsPage> {
final currentUserID = Configuration.instance.getUserID()!;
final role = _collection.getRole(currentUserID);
final bool adminRoleEnabled = flagService.enableAdminRole;
- final bool surfacePublicLinkEnabled = flagService.surfacePublicLink;
final bool isOwner = role == CollectionParticipantRole.owner;
final bool isAdmin = role == CollectionParticipantRole.admin;
final bool canManageParticipants = isOwner || (adminRoleEnabled && isAdmin);
final bool hasActivePublicLink = _collection.hasLink &&
!(_collection.publicURLs.firstOrNull?.isExpired ?? true);
- final bool shouldShowPublicLink =
- !isOwner && hasActivePublicLink && surfacePublicLinkEnabled;
+ final bool shouldShowPublicLink = !isOwner && hasActivePublicLink;
final colorScheme = getEnteColorScheme(context);
final int participants = 1 + _collection.getSharees().length;
final User owner = _collection.owner;
diff --git a/mobile/apps/photos/plugins/ente_feature_flag/lib/src/service.dart b/mobile/apps/photos/plugins/ente_feature_flag/lib/src/service.dart
index 418c9b0ffa..49c824d865 100644
--- a/mobile/apps/photos/plugins/ente_feature_flag/lib/src/service.dart
+++ b/mobile/apps/photos/plugins/ente_feature_flag/lib/src/service.dart
@@ -49,7 +49,6 @@ class FlagService {
}
bool get enableAdminRole => internalUser;
- bool get surfacePublicLink => internalUser;
bool get enableDeleteSuggestion => internalUser;
bool get betaUser => flags.betaUser;
diff --git a/mobile/apps/photos/scripts/internal_changes.txt b/mobile/apps/photos/scripts/internal_changes.txt
index 52831a81f1..ad1e62bc6e 100644
--- a/mobile/apps/photos/scripts/internal_changes.txt
+++ b/mobile/apps/photos/scripts/internal_changes.txt
@@ -1,10 +1,10 @@
- Fix remove from album [1](https://github.com/ente-io/ente/issues/7705)
+- Neeraj: Show public link to album participants
- Laurens: (i) Rituals redesign
- Laurens: (i) Manual people tagging
+- Prateek: Change behaviour of bottom action sheet for iOS (test every sheet)
- Prateek: Pin/Unpin for "Shared with you" albums (mobile + web)
- Ashil: New favorite icon
-- Prateek: Change behaviour of bottom action sheet for iOS (test every sheet)
- Prateek: (i) Video streaming bitrate changes & enable streaming by default
- Prateek: (i) Add "Start with latest backups" (last 7 days onwards)
- Neeraj: (i) Admin Role + Suggest Delete feature
-- Neeraj: (i) Show public link to album participants