π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Rename
Manav Rathia2b9126c88c5
diff --git a/web/packages/base/components/mui/Container.tsx b/web/packages/base/components/mui/Container.tsxindex abaa0e2dce..78e8657f1b 100644--- a/web/packages/base/components/mui/Container.tsx+++ b/web/packages/base/components/mui/Container.tsx@@ -18,7 +18,7 @@ export const SpaceBetweenFlex = styled("div")`* A flex child that fills the entire flex direction, and shows its children* after centering them both vertically and horizontally.*/-export const CenteredBox = styled("div")`+export const CenteredFill = styled("div")`flex: 1;display: flex;justify-content: center;diff --git a/web/packages/new/photos/components/gallery/PeopleHeader.tsx b/web/packages/new/photos/components/gallery/PeopleHeader.tsxindex 8ef463d306..63ae4f2ca9 100644--- a/web/packages/new/photos/components/gallery/PeopleHeader.tsx+++ b/web/packages/new/photos/components/gallery/PeopleHeader.tsx@@ -1,6 +1,9 @@import { ActivityErrorIndicator } from "@/base/components/ErrorIndicator";import { ActivityIndicator } from "@/base/components/mui/ActivityIndicator";-import { CenteredBox, SpaceBetweenFlex } from "@/base/components/mui/Container";+import {+ CenteredFill,+ SpaceBetweenFlex,+} from "@/base/components/mui/Container";import { FocusVisibleButton } from "@/base/components/mui/FocusVisibleButton";import { LoadingButton } from "@/base/components/mui/LoadingButton";import {@@ -691,15 +694,15 @@ const SuggestionsDialog: React.FC<SuggestionsDialogProps> = ({sx={{ display: "flex", "&&&": { pt: 0 } }}>{state.activity == "fetching" ? (- <CenteredBox>+ <CenteredFill><ActivityIndicator>{t("people_suggestions_finding")}</ActivityIndicator>- </CenteredBox>+ </CenteredFill>) : state.fetchFailed ? (- <CenteredBox>+ <CenteredFill><ActivityErrorIndicator />- </CenteredBox>+ </CenteredFill>) : state.showChoices ? (<SuggestionOrChoiceListitems={state.choices}@@ -707,14 +710,14 @@ const SuggestionsDialog: React.FC<SuggestionsDialogProps> = ({onUpdateItem={handleUpdateItem}/>) : state.suggestions.length == 0 ? (- <CenteredBox>+ <CenteredFill><Typographycolor="text.muted"sx={{ textAlign: "center" }}>t{"people_suggestions_empty"}</Typography>- </CenteredBox>+ </CenteredFill>) : (<SuggestionOrChoiceListitems={state.suggestions}diff --git a/web/packages/new/photos/components/gallery/index.tsx b/web/packages/new/photos/components/gallery/index.tsxindex b487dd512e..37b31a3b54 100644--- a/web/packages/new/photos/components/gallery/index.tsx+++ b/web/packages/new/photos/components/gallery/index.tsx@@ -7,7 +7,7 @@* there.*/-import { CenteredBox } from "@/base/components/mui/Container";+import { CenteredFill } from "@/base/components/mui/Container";import type { SearchOption } from "@/new/photos/services/search/types";import { Paper, Stack, Typography } from "@mui/material";import { t } from "i18next";@@ -70,7 +70,7 @@ export const PeopleEmptyState: React.FC = () => {export const PeopleEmptyStateMessage: React.FC<React.PropsWithChildren> = ({children,}) => (- <CenteredBox>+ <CenteredFill><Typographycolor="text.muted"sx={{@@ -83,7 +83,7 @@ export const PeopleEmptyStateMessage: React.FC<React.PropsWithChildren> = ({>{children}</Typography>- </CenteredBox>+ </CenteredFill>);export const PeopleEmptyStateDisabled: React.FC = () => {