π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Messes with the animation of the "Copied" snackbar in auth
Manav Rathi383b7542c869
diff --git a/web/apps/photos/src/components/PhotoViewer/index.tsx b/web/apps/photos/src/components/PhotoViewer/index.tsxindex 9095b202b0..4117c92609 100644--- a/web/apps/photos/src/components/PhotoViewer/index.tsx+++ b/web/apps/photos/src/components/PhotoViewer/index.tsx@@ -1035,6 +1035,7 @@ const ConversionFailedNotification: React.FC<<Snackbaropen={open}anchorOrigin={{ vertical: "bottom", horizontal: "right" }}+ sx={(theme) => ({ boxShadow: theme.vars.palette.boxShadow.menu })}><Paper sx={{ width: "320px" }}><Buttondiff --git a/web/apps/photos/src/components/Upload/UploadProgress.tsx b/web/apps/photos/src/components/Upload/UploadProgress.tsxindex 0624d8c5c4..b96d00cb34 100644--- a/web/apps/photos/src/components/Upload/UploadProgress.tsx+++ b/web/apps/photos/src/components/Upload/UploadProgress.tsx@@ -148,7 +148,11 @@ const UploadProgressContext = createContext<UploadProgressContextT>({});const MinimizedUploadProgress: React.FC = () => (- <Snackbar open anchorOrigin={{ horizontal: "right", vertical: "bottom" }}>+ <Snackbar+ open+ anchorOrigin={{ horizontal: "right", vertical: "bottom" }}+ sx={(theme) => ({ boxShadow: theme.vars.palette.boxShadow.menu })}+ ><Paper sx={{ width: "min(360px, 100svw)" }}><UploadProgressHeader /></Paper>diff --git a/web/packages/base/components/utils/theme.ts b/web/packages/base/components/utils/theme.tsindex 1971b905fd..13e59b3d64 100644--- a/web/packages/base/components/utils/theme.ts+++ b/web/packages/base/components/utils/theme.ts@@ -804,7 +804,6 @@ const components: Components = {// Set a default border radius for all snackbar's (e.g.// notification popups).borderRadius: "8px",- boxShadow: "var(--mui-palette-boxShadow-menu)",},},},diff --git a/web/packages/new/photos/components/Notification.tsx b/web/packages/new/photos/components/Notification.tsxindex 1e1bfa097b..450b9ba9ac 100644--- a/web/packages/new/photos/components/Notification.tsx+++ b/web/packages/new/photos/components/Notification.tsx@@ -141,14 +141,15 @@ export const Notification: React.FC<NotificationProps> = ({vertical: vertical ?? "bottom",}}sx={[- {+ (theme) => ({width: "min(320px, 100vw)",// If the `color` of the button is a translucent one, e.g.// "secondary", then the notification becomes opaque, which// is not what we want. So give the entire snackbar a solid// background color.backgroundColor: "background.default",- },+ boxShadow: theme.vars.palette.boxShadow.menu,+ }),...(sx ? (isSxArray(sx) ? sx : [sx]) : []),]}>