π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[web][memories] Update layout and loading indicators in memories app (#9888)
Anand00074ed1d0eb
diff --cc web/apps/memories/src/components/PublicMemoryMedia.tsxindex 1a3ed0f703,bc28d1dd0c..a377ec631e--- a/web/apps/memories/src/components/PublicMemoryMedia.tsx+++ b/web/apps/memories/src/components/PublicMemoryMedia.tsx@@@ -16,11 -16,10 +15,11 @@@ importuseRef,useState,} from "react";+import type { PublicMemoryShareFrameCrop } from "../services/public-memory";import { computeMediaCropStyle } from "../utils/lane";- const DEFAULT_MEDIA_MAX_WIDTH_CSS = "min(1264px, calc(100vw - 48px))";- const DEFAULT_MEDIA_MAX_HEIGHT_CSS = "calc(min(100vh, 100dvh) - 220px)";+ const DEFAULT_MEDIA_MAX_WIDTH_CSS = "min(1360px, calc(100vw - 32px))";+ const DEFAULT_MEDIA_MAX_HEIGHT_CSS = "calc(100dvh - 184px)";const buildMediaStyle = ({cropRect,diff --cc web/apps/memories/src/services/public-memory-page.tsindex 4eab802f27,aff279c9ca..6d8ec5840c--- a/web/apps/memories/src/services/public-memory-page.ts+++ b/web/apps/memories/src/services/public-memory-page.ts@@@ -1,12 -1,6 +1,11 @@@import { isHTTPErrorWithStatus } from "ente-base/http";import log from "ente-base/log";- import { memoriesAppOrigin } from "ente-base/origins";import type { EnteFile } from "ente-media/file";+import { alignLaneFilesWithMetadata } from "../utils/lane";+import {+ extractAccessTokenFromURL,+ extractMemoryShareKeyFromURL,+} from "../utils/public-memory-url";import {decryptMemoryShareMetadata,getPublicMemoryFiles,