π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Rename
Manav Rathi82fc08aac488
diff --git a/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx b/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsxindex d46c69ffd7..815988a674 100644--- a/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx+++ b/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx@@ -17,8 +17,8 @@ import {} from "@/media/file-metadata";import { FileType } from "@/media/file-type";import {- AnnotatedFacePeopleList,- UnclusteredFaceList,+ FileOtherFaceList,+ FilePeopleList,} from "@/new/photos/components/PeopleList";import { PhotoDateTimePicker } from "@/new/photos/components/PhotoDateTimePicker";import { fileInfoDrawerZIndex } from "@/new/photos/components/utils/z-index";@@ -307,12 +307,12 @@ export const FileInfo: React.FC<FileInfoProps> = ({{isMLEnabled() && annotatedFaces && (<>- <AnnotatedFacePeopleList+ <FilePeopleListfile={file}annotatedFaceIDs={annotatedFaces.annotatedFaceIDs}onSelectFace={handleSelectFace}/>- <UnclusteredFaceList+ <FileOtherFaceListfile={file}faceIDs={annotatedFaces.otherFaceIDs}/>diff --git a/web/packages/new/photos/components/PeopleList.tsx b/web/packages/new/photos/components/PeopleList.tsxindex 5493fc7339..620db2e211 100644--- a/web/packages/new/photos/components/PeopleList.tsx+++ b/web/packages/new/photos/components/PeopleList.tsx@@ -67,7 +67,7 @@ const SearchPersonButton = styled(UnstyledButton)(`,);-export interface AnnotatedFacePeopleListProps {+export interface FilePeopleListProps {/*** The {@link EnteFile} whose information we are showing.*/@@ -86,9 +86,11 @@ export interface AnnotatedFacePeopleListProps {* Show the list of faces in the given file that are associated with a specific* person.*/-export const AnnotatedFacePeopleList: React.FC<- AnnotatedFacePeopleListProps-> = ({ file, annotatedFaceIDs, onSelectFace }) => {+export const FilePeopleList: React.FC<FilePeopleListProps> = ({+ file,+ annotatedFaceIDs,+ onSelectFace,+}) => {if (annotatedFaceIDs.length == 0) return <></>;return (@@ -140,7 +142,7 @@ const AnnotatedFaceButton = styled(UnstyledButton)(`,);-export interface UnclusteredFaceListProps {+export interface FileOtherFaceListProps {/*** The {@link EnteFile} whose information we are showing.*/@@ -155,7 +157,7 @@ export interface UnclusteredFaceListProps {* Show the list of faces in the given file that are not associated with a* specific person.*/-export const UnclusteredFaceList: React.FC<UnclusteredFaceListProps> = ({+export const FileOtherFaceList: React.FC<FileOtherFaceListProps> = ({file,faceIDs,}) => {@@ -169,19 +171,19 @@ export const UnclusteredFaceList: React.FC<UnclusteredFaceListProps> = ({</Typography><FileFaceList>{faceIDs.map((faceID) => (- <UnclusteredFace key={faceID}>+ <FileOtherFace key={faceID}><FaceCropImageViewplaceholderDimension={112}{...{ file, faceID }}/>- </UnclusteredFace>+ </FileOtherFace>))}</FileFaceList></>);};-const UnclusteredFace = styled("div")`+const FileOtherFace = styled("div")`width: 112px;height: 112px;margin: 5px;