π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix
Manav Rathi67028a072cf7
diff --git a/web/packages/new/photos/components/WhatsNew.tsx b/web/packages/new/photos/components/WhatsNew.tsxindex 2d455aef22..9a98ee5e48 100644--- a/web/packages/new/photos/components/WhatsNew.tsx+++ b/web/packages/new/photos/components/WhatsNew.tsx@@ -30,8 +30,8 @@ export const WhatsNew: React.FC<WhatsNewProps> = ({ open, onClose }) => {const fullScreen = useMediaQuery("(max-width: 428px)");useEffect(() => {- void didShowWhatsNew();- }, []);+ if (open) void didShowWhatsNew();+ }, [open]);return (<Dialog@@ -42,25 +42,7 @@ export const WhatsNew: React.FC<WhatsNewProps> = ({ open, onClose }) => {<DialogTitle>{"What's new"}</DialogTitle><DialogContent><DialogContentText>- <StyledUL>- <li>- <Typography>- <Typography color="primary">- Support for Passkeys- </Typography>- Passkeys can now be used as a second factor- authentication mechanism.- </Typography>- </li>- <li>- <Typography color="primary">Window size</Typography>- <Typography>- {- "The app's window will remember its size and position."- }- </Typography>- </li>- </StyledUL>+ <ChangelogContent /></DialogContentText></DialogContent><DialogActions>@@ -87,6 +69,31 @@ const SlideTransition = React.forwardRef(function Transition(return <Slide direction="up" ref={ref} {...props} />;});+const ChangelogContent: React.FC = () => {+ // NOTE: Remember to update changelogVersion when changing the content+ // below.++ return (+ <StyledUL>+ <li>+ <Typography>+ <Typography color="primary">+ Support for Passkeys+ </Typography>+ Passkeys can now be used as a second factor authentication+ mechanism.+ </Typography>+ </li>+ <li>+ <Typography color="primary">Window size</Typography>+ <Typography>+ {"The app's window will remember its size and position."}+ </Typography>+ </li>+ </StyledUL>+ );+};+const StyledUL = styled("ul")`padding-inline: 1rem;