π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Move to its final place
Manav Rathiebfd8909a947
diff --git a/web/packages/new/photos/components/MLSettings.tsx b/web/packages/new/photos/components/MLSettings.tsxindex 29658df882..3f38856e0e 100644--- a/web/packages/new/photos/components/MLSettings.tsx+++ b/web/packages/new/photos/components/MLSettings.tsx@@ -170,53 +170,6 @@ export const MLSettings: React.FC<MLSettingsProps> = ({});};- // TODO-ML:- // const [indexingStatus, setIndexingStatus] = useState<CLIPIndexingStatus>({- // indexed: 0,- // pending: 0,- // });-- // useEffect(() => {- // clipService.setOnUpdateHandler(setIndexingStatus);- // clipService.getIndexingStatus().then((st) => setIndexingStatus(st));- // return () => clipService.setOnUpdateHandler(undefined);- // }, []);- /* TODO-ML: isElectron() && (- <Box>- <MenuSectionTitle- title={t("MAGIC_SEARCH_STATUS")}- />- <Stack py={"12px"} px={"12px"} spacing={"24px"}>- <VerticallyCenteredFlex- justifyContent="space-between"- alignItems={"center"}- >- <Typography>- {t("INDEXED_ITEMS")}- </Typography>- <Typography>- {formatNumber(- indexingStatus.indexed,- )}- </Typography>- </VerticallyCenteredFlex>- <VerticallyCenteredFlex- justifyContent="space-between"- alignItems={"center"}- >- <Typography>- {t("PENDING_ITEMS")}- </Typography>- <Typography>- {formatNumber(- indexingStatus.pending,- )}- </Typography>- </VerticallyCenteredFlex>- </Stack>- </Box>- )*/-const components: Record<Status, React.ReactNode> = {loading: <Loading />,notEligible: <ComingSoon />,@@ -441,6 +394,53 @@ function ManageMLSearch({handleDisableFaceSearch,onRootClose,}) {+ // TODO-ML:+ // const [indexingStatus, setIndexingStatus] = useState<CLIPIndexingStatus>({+ // indexed: 0,+ // pending: 0,+ // });++ // useEffect(() => {+ // clipService.setOnUpdateHandler(setIndexingStatus);+ // clipService.getIndexingStatus().then((st) => setIndexingStatus(st));+ // return () => clipService.setOnUpdateHandler(undefined);+ // }, []);+ /* TODO-ML: isElectron() && (+ <Box>+ <MenuSectionTitle+ title={t("MAGIC_SEARCH_STATUS")}+ />+ <Stack py={"12px"} px={"12px"} spacing={"24px"}>+ <VerticallyCenteredFlex+ justifyContent="space-between"+ alignItems={"center"}+ >+ <Typography>+ {t("INDEXED_ITEMS")}+ </Typography>+ <Typography>+ {formatNumber(+ indexingStatus.indexed,+ )}+ </Typography>+ </VerticallyCenteredFlex>+ <VerticallyCenteredFlex+ justifyContent="space-between"+ alignItems={"center"}+ >+ <Typography>+ {t("PENDING_ITEMS")}+ </Typography>+ <Typography>+ {formatNumber(+ indexingStatus.pending,+ )}+ </Typography>+ </VerticallyCenteredFlex>+ </Stack>+ </Box>+ )*/+return (<Stack spacing={"4px"} py={"12px"}><Titlebar