π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix(CollectionMapDialog):passing-emailByUserID-for-indicating-shared-files
Aswin Asokf061859b71d7
diff --git a/web/apps/photos/src/components/Collections/CollectionHeader.tsx b/web/apps/photos/src/components/Collections/CollectionHeader.tsxindex 708ccd268f..bda582fa7d 100644--- a/web/apps/photos/src/components/Collections/CollectionHeader.tsx+++ b/web/apps/photos/src/components/Collections/CollectionHeader.tsx@@ -90,6 +90,7 @@ export interface CollectionHeaderProps| "onVisualFeedback"| "fileNormalCollectionIDs"| "collectionNameByID"+ | "emailByUserID"| "onSelectCollection"| "onSelectPerson"> {@@ -178,6 +179,7 @@ const CollectionHeaderOptions: React.FC<CollectionHeaderProps> = ({onVisualFeedback,fileNormalCollectionIDs,collectionNameByID,+ emailByUserID,onSelectCollection,onSelectPerson,}) => {@@ -804,6 +806,7 @@ const CollectionHeaderOptions: React.FC<CollectionHeaderProps> = ({onVisualFeedback={onVisualFeedback}fileNormalCollectionIDs={fileNormalCollectionIDs}collectionNameByID={collectionNameByID}+ emailByUserID={emailByUserID}onSelectCollection={onSelectCollection}onSelectPerson={onSelectPerson}/>diff --git a/web/apps/photos/src/components/Collections/CollectionMapDialog.tsx b/web/apps/photos/src/components/Collections/CollectionMapDialog.tsxindex 306dc46f9c..82caf7635a 100644--- a/web/apps/photos/src/components/Collections/CollectionMapDialog.tsx+++ b/web/apps/photos/src/components/Collections/CollectionMapDialog.tsx@@ -69,6 +69,7 @@ interface CollectionMapDialogProps| "onSelectCollection"| "onSelectPerson"| "mapFileSource"+ | "emailByUserID"> {collectionSummary: CollectionSummary;activeCollection: Collection | undefined;@@ -1485,6 +1486,7 @@ export const CollectionMapDialog: React.FC<CollectionMapDialogProps> = ({onSelectCollection,onSelectPerson,mapFileSource,+ emailByUserID,}) => {const { onGenericError } = useBaseContext();const mapComponents = useMapComponents();@@ -1717,6 +1719,7 @@ export const CollectionMapDialog: React.FC<CollectionMapDialogProps> = ({collectionNameByID={collectionNameByID}onSelectCollection={onSelectCollection}onSelectPerson={onSelectPerson}+ emailByUserID={emailByUserID}selected={emptySelected}setSelected={noOpSetSelected}onSetOpenFileViewer={handleSetFileViewerOpen}@@ -1759,6 +1762,7 @@ export const CollectionMapDialog: React.FC<CollectionMapDialogProps> = ({isVisiblePhotosUpdating,onClose,handleSetFileViewerOpen,+ emailByUserID,]);return (@@ -1836,6 +1840,7 @@ interface MapLayoutProps {collectionNameByID?: FileListWithViewerProps["collectionNameByID"];onSelectCollection?: FileListWithViewerProps["onSelectCollection"];onSelectPerson?: FileListWithViewerProps["onSelectPerson"];+ emailByUserID: FileListWithViewerProps["emailByUserID"];onSetOpenFileViewer?: (open: boolean) => void;selected: SelectedState;setSelected: () => void;@@ -1872,6 +1877,7 @@ function MapLayout({collectionNameByID,onSelectCollection,onSelectPerson,+ emailByUserID,onSetOpenFileViewer,selected,setSelected,@@ -1902,6 +1908,7 @@ function MapLayout({collectionNameByID={collectionNameByID}onSelectCollection={onSelectCollection}onSelectPerson={onSelectPerson}+ emailByUserID={emailByUserID}selected={selected}setSelected={setSelected}onSetOpenFileViewer={onSetOpenFileViewer}@@ -1957,6 +1964,7 @@ interface CollectionSidebarProps {collectionNameByID?: FileListWithViewerProps["collectionNameByID"];onSelectCollection?: FileListWithViewerProps["onSelectCollection"];onSelectPerson?: FileListWithViewerProps["onSelectPerson"];+ emailByUserID: FileListWithViewerProps["emailByUserID"];onSetOpenFileViewer?: (open: boolean) => void;selected: SelectedState;setSelected: () => void;@@ -1993,6 +2001,7 @@ function CollectionSidebar({collectionNameByID,onSelectCollection,onSelectPerson,+ emailByUserID,onSetOpenFileViewer,selected,setSelected,@@ -2133,6 +2142,7 @@ function CollectionSidebar({collectionNameByID={collectionNameByID}onSelectCollection={onSelectCollection}onSelectPerson={onSelectPerson}+ emailByUserID={emailByUserID}enableImageEditing={false}enableDownload={true}activeCollectionID={collectionSummary.id}diff --git a/web/apps/photos/src/components/Collections/GalleryBarAndListHeader.tsx b/web/apps/photos/src/components/Collections/GalleryBarAndListHeader.tsxindex 9dd11c943e..2938677758 100644--- a/web/apps/photos/src/components/Collections/GalleryBarAndListHeader.tsx+++ b/web/apps/photos/src/components/Collections/GalleryBarAndListHeader.tsx@@ -229,6 +229,7 @@ export const GalleryBarAndListHeader: React.FC<onVisualFeedback,fileNormalCollectionIDs,collectionNameByID,+ emailByUserID,onSelectCollection,onSelectPerson,}}@@ -279,6 +280,7 @@ export const GalleryBarAndListHeader: React.FC<onVisualFeedback,fileNormalCollectionIDs,collectionNameByID,+ emailByUserID,onSelectCollection,onSelectPerson,canSetAlbumCover,diff --git a/web/apps/photos/src/components/FileListWithViewer.tsx b/web/apps/photos/src/components/FileListWithViewer.tsxindex 4de73a2b07..431a012e8a 100644--- a/web/apps/photos/src/components/FileListWithViewer.tsx+++ b/web/apps/photos/src/components/FileListWithViewer.tsx@@ -427,6 +427,7 @@ export const FileListWithViewer: React.FC<FileListWithViewerProps> = ({onVisualFeedback,fileNormalCollectionIDs,collectionNameByID,+ emailByUserID,onSelectCollection,onSelectPerson,}}