Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Show encrypted album loading status

Anand Baburajan6d5cfa00a8eb
diff --git a/web/apps/albums/src/public-album/page/PublicAlbumPage.tsx b/web/apps/albums/src/public-album/page/PublicAlbumPage.tsx
index f334a6c42d..9d61fa60c7 100644
--- a/web/apps/albums/src/public-album/page/PublicAlbumPage.tsx
+++ b/web/apps/albums/src/public-album/page/PublicAlbumPage.tsx
@@ -48,6 +48,7 @@ import {
LoadingIndicator,
TranslucentLoadingOverlay,
} from "ente-base/components/loaders";
+import { ActivityIndicator } from "ente-base/components/mui/ActivityIndicator";
import { FocusVisibleButton } from "ente-base/components/mui/FocusVisibleButton";
import { NavbarBase } from "ente-base/components/Navbar";
import { useModalVisibility } from "ente-base/components/utils/modal";
@@ -700,7 +701,23 @@ export default function PublicAlbumPage() {
);
if (loading && (!publicFiles || !credentials.current)) {
- return <LoadingIndicator />;
+ return (
+ <Stack100vhCenter>
+ <Stack direction="row" sx={{ alignItems: "center", gap: 1.5 }}>
+ <ActivityIndicator size={15} />
+ <Typography
+ variant="body"
+ sx={{
+ color: "text.muted",
+ fontSize: "15px",
+ lineHeight: "15px",
+ }}
+ >
+ {t("opening_encrypted_album")}...
+ </Typography>
+ </Stack>
+ </Stack100vhCenter>
+ );
} else if (errorMessage) {
return (
<Stack100vhCenter>
diff --git a/web/packages/base/locales/en-US/translation.json b/web/packages/base/locales/en-US/translation.json
index 515d9e0da1..7e4451a885 100644
--- a/web/packages/base/locales/en-US/translation.json
+++ b/web/packages/base/locales/en-US/translation.json
@@ -33,6 +33,7 @@
"status_sent": "Sent!",
"password": "Password",
"link_password_description": "Enter password to unlock the album",
+ "opening_encrypted_album": "Opening encrypted album",
"unlock": "Unlock",
"set_password": "Set password",
"sign_in": "Sign in",