diff --git a/web/apps/accounts/src/pages/_app.tsx b/web/apps/accounts/src/pages/_app.tsx index 31ceecf32d..a9a64937cc 100644 --- a/web/apps/accounts/src/pages/_app.tsx +++ b/web/apps/accounts/src/pages/_app.tsx @@ -1,5 +1,6 @@ import { staticAppTitle } from "@/base/app"; import { CustomHead } from "@/base/components/Head"; +import { ActivityIndicator } from "@/base/components/mui/ActivityIndicator"; import { AppNavbar } from "@/base/components/Navbar"; import { setupI18n } from "@/base/i18n"; import { disableDiskLogs } from "@/base/log"; @@ -7,7 +8,6 @@ import { logUnhandledErrorsAndRejections } from "@/base/log-web"; import { Overlay } from "@ente/shared/components/Container"; import DialogBoxV2 from "@ente/shared/components/DialogBoxV2"; import type { DialogBoxAttributesV2 } from "@ente/shared/components/DialogBoxV2/types"; -import EnteSpinner from "@ente/shared/components/EnteSpinner"; import { getTheme } from "@ente/shared/themes"; import { THEME_COLOR } from "@ente/shared/themes/constants"; import { CssBaseline } from "@mui/material"; @@ -71,7 +71,7 @@ const App: React.FC = ({ Component, pageProps }) => { backgroundColor: theme.colors.background.base, })} > - + )} {showNavbar && } diff --git a/web/apps/accounts/src/pages/passkeys/index.tsx b/web/apps/accounts/src/pages/passkeys/index.tsx index b1f54403fc..504e79dec9 100644 --- a/web/apps/accounts/src/pages/passkeys/index.tsx +++ b/web/apps/accounts/src/pages/passkeys/index.tsx @@ -5,7 +5,6 @@ import log from "@/base/log"; import { ensure } from "@/utils/ensure"; import { CenteredFlex } from "@ente/shared/components/Container"; import FormPaper from "@ente/shared/components/Form/FormPaper"; -import InfoItem from "@ente/shared/components/Info/InfoItem"; import { EnteMenuItem } from "@ente/shared/components/Menu/EnteMenuItem"; import SingleInputForm from "@ente/shared/components/SingleInputForm"; import { formatDateTimeFull } from "@ente/shared/time/format"; @@ -303,15 +302,9 @@ const ManagePasskeyDrawer: React.FC = ({ title={t("manage_passkey")} onRootClose={onClose} /> - } - title={t("CREATED_AT")} - caption={formatDateTimeFull( - passkey.createdAt / 1000, - )} - loading={false} - hideEditOption - /> + + {formatDateTimeFull(passkey.createdAt / 1000)} + { @@ -348,6 +341,18 @@ const ManagePasskeyDrawer: React.FC = ({ ); }; +const CreatedAtEntry: React.FC = ({ children }) => ( + + + + {t("CREATED_AT")} + + {children} + + + +); + interface RenamePasskeyDialogProps { /** If `true`, then the dialog is shown. */ open: boolean; diff --git a/web/apps/accounts/src/pages/passkeys/verify.tsx b/web/apps/accounts/src/pages/passkeys/verify.tsx index a533d0f645..196682be28 100644 --- a/web/apps/accounts/src/pages/passkeys/verify.tsx +++ b/web/apps/accounts/src/pages/passkeys/verify.tsx @@ -1,10 +1,10 @@ +import { ActivityIndicator } from "@/base/components/mui/ActivityIndicator"; import { FocusVisibleButton } from "@/base/components/mui/FocusVisibleButton"; import log from "@/base/log"; import type { TwoFactorAuthorizationResponse } from "@/base/types/credentials"; import { ensure } from "@/utils/ensure"; import { nullToUndefined } from "@/utils/transform"; import { VerticallyCentered } from "@ente/shared/components/Container"; -import EnteSpinner from "@ente/shared/components/EnteSpinner"; import InfoIcon from "@mui/icons-material/Info"; import KeyIcon from "@mui/icons-material/Key"; import { Paper, Typography, styled } from "@mui/material"; @@ -272,7 +272,7 @@ const redirectToURL = (url: URL) => { const Loading: React.FC = () => { return ( - + ); }; diff --git a/web/apps/auth/public/images/auth/192.png b/web/apps/auth/public/images/auth/192.png deleted file mode 100644 index 7931c4e4e9..0000000000 Binary files a/web/apps/auth/public/images/auth/192.png and /dev/null differ diff --git a/web/apps/auth/public/images/auth/256.png b/web/apps/auth/public/images/auth/256.png deleted file mode 100644 index a58c577f9d..0000000000 Binary files a/web/apps/auth/public/images/auth/256.png and /dev/null differ diff --git a/web/apps/auth/public/images/auth/512.png b/web/apps/auth/public/images/auth/512.png deleted file mode 100644 index 446b463274..0000000000 Binary files a/web/apps/auth/public/images/auth/512.png and /dev/null differ diff --git a/web/apps/auth/public/manifest.json b/web/apps/auth/public/manifest.json deleted file mode 100644 index 1190f96815..0000000000 --- a/web/apps/auth/public/manifest.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "short_name": "ente Auth", - "name": "ente Auth | encrypted 2FA app", - "icons": [ - { - "src": "/images/auth/192.png", - "type": "image/png", - "sizes": "192x192" - }, - { - "src": "/images/auth/256.png", - "type": "image/png", - "sizes": "256x256" - }, - { - "src": "/images/auth/512.png", - "type": "image/png", - "sizes": "512x512" - } - ], - "start_url": "/", - "background_color": "#191919", - "display": "standalone", - "scope": "/", - "theme_color": "#111", - "description": "Open-source 2FA app with end-to-end encrypted backups", - "prefer_related_applications": true, - "related_applications": [ - { - "platform": "play", - "url": "https://play.google.com/store/apps/details?id=io.ente.auth", - "id": "io.ente.photos" - }, - { - "platform": "itunes", - "url": "https://apps.apple.com/in/app/ente-photos/id6444121398" - } - ] -} \ No newline at end of file diff --git a/web/apps/auth/public/offline.html b/web/apps/auth/public/offline.html deleted file mode 100644 index 50d7ed6257..0000000000 --- a/web/apps/auth/public/offline.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - ente Auth - - - - - -
-

seems like you are offline :(

- please check your internet connection -
- - diff --git a/web/apps/auth/src/pages/_app.tsx b/web/apps/auth/src/pages/_app.tsx index 415264fcdb..8474047c72 100644 --- a/web/apps/auth/src/pages/_app.tsx +++ b/web/apps/auth/src/pages/_app.tsx @@ -2,6 +2,7 @@ import { accountLogout } from "@/accounts/services/logout"; import type { AccountsContextT } from "@/accounts/types/context"; import { clientPackageName, staticAppTitle } from "@/base/app"; import { CustomHead } from "@/base/components/Head"; +import { ActivityIndicator } from "@/base/components/mui/ActivityIndicator"; import { AppNavbar } from "@/base/components/Navbar"; import { setupI18n } from "@/base/i18n"; import { @@ -12,7 +13,6 @@ import { ensure } from "@/utils/ensure"; import { Overlay } from "@ente/shared/components/Container"; import DialogBoxV2 from "@ente/shared/components/DialogBoxV2"; import type { DialogBoxAttributesV2 } from "@ente/shared/components/DialogBoxV2/types"; -import EnteSpinner from "@ente/shared/components/EnteSpinner"; import { MessageContainer } from "@ente/shared/components/MessageContainer"; import { useLocalState } from "@ente/shared/hooks/useLocalState"; import HTTPService from "@ente/shared/network/HTTPService"; @@ -183,7 +183,7 @@ const App: React.FC = ({ Component, pageProps }) => { backgroundColor: theme.colors.background.base, })} > - + )} {isI18nReady && ( diff --git a/web/apps/auth/src/pages/auth.tsx b/web/apps/auth/src/pages/auth.tsx index 1360ee1cec..b080fd4ab8 100644 --- a/web/apps/auth/src/pages/auth.tsx +++ b/web/apps/auth/src/pages/auth.tsx @@ -1,12 +1,12 @@ import { stashRedirect } from "@/accounts/services/redirect"; +import { EnteLogo } from "@/base/components/EnteLogo"; +import { ActivityIndicator } from "@/base/components/mui/ActivityIndicator"; import { NavbarBase } from "@/base/components/Navbar"; import { ensure } from "@/utils/ensure"; import { HorizontalFlex, VerticallyCentered, } from "@ente/shared/components/Container"; -import { EnteLogo } from "@ente/shared/components/EnteLogo"; -import EnteSpinner from "@ente/shared/components/EnteSpinner"; import { sessionExpiredDialogAttributes } from "@ente/shared/components/LoginComponents"; import OverflowMenu from "@ente/shared/components/OverflowMenu/menu"; import { OverflowMenuOption } from "@ente/shared/components/OverflowMenu/option"; @@ -68,7 +68,7 @@ const Page: React.FC = () => { if (!hasFetched) { return ( - + ); } diff --git a/web/apps/auth/src/pages/share.tsx b/web/apps/auth/src/pages/share.tsx index b023acaed6..97d32e415d 100644 --- a/web/apps/auth/src/pages/share.tsx +++ b/web/apps/auth/src/pages/share.tsx @@ -1,5 +1,5 @@ +import { EnteLogo } from "@/base/components/EnteLogo"; import { decryptMetadataJSON_New } from "@/base/crypto"; -import { EnteLogo } from "@ente/shared/components/EnteLogo"; import React, { useEffect, useMemo, useState } from "react"; interface SharedCode { diff --git a/web/apps/cast/src/pages/index.tsx b/web/apps/cast/src/pages/index.tsx index 2a49e3d43f..c3782be674 100644 --- a/web/apps/cast/src/pages/index.tsx +++ b/web/apps/cast/src/pages/index.tsx @@ -1,5 +1,5 @@ +import { ActivityIndicator } from "@/base/components/mui/ActivityIndicator"; import log from "@/base/log"; -import EnteSpinner from "@ente/shared/components/EnteSpinner"; import { styled } from "@mui/material"; import { PairingCode } from "components/PairingCode"; import { useRouter } from "next/router"; @@ -102,7 +102,7 @@ const Container = styled("div")` const Spinner: React.FC = () => ( - + ); diff --git a/web/apps/photos/public/images/ente/192.png b/web/apps/photos/public/images/ente/192.png deleted file mode 100644 index 28ec8a021c..0000000000 Binary files a/web/apps/photos/public/images/ente/192.png and /dev/null differ diff --git a/web/apps/photos/public/images/ente/256.png b/web/apps/photos/public/images/ente/256.png deleted file mode 100644 index 4e3b2a6921..0000000000 Binary files a/web/apps/photos/public/images/ente/256.png and /dev/null differ diff --git a/web/apps/photos/public/images/ente/512.png b/web/apps/photos/public/images/ente/512.png deleted file mode 100644 index dd45f4cd55..0000000000 Binary files a/web/apps/photos/public/images/ente/512.png and /dev/null differ diff --git a/web/apps/photos/public/offline.html b/web/apps/photos/public/offline.html deleted file mode 100644 index dc8577af8f..0000000000 --- a/web/apps/photos/public/offline.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - Ente Photos - - - - - -
-

seems like you are offline :(

- please check your internet connection -
- - diff --git a/web/apps/photos/src/components/Collections/AlbumCastDialog.tsx b/web/apps/photos/src/components/Collections/AlbumCastDialog.tsx index f09544a4e5..18253c351d 100644 --- a/web/apps/photos/src/components/Collections/AlbumCastDialog.tsx +++ b/web/apps/photos/src/components/Collections/AlbumCastDialog.tsx @@ -1,9 +1,9 @@ +import { ActivityIndicator } from "@/base/components/mui/ActivityIndicator"; import { boxSeal } from "@/base/crypto/libsodium"; import log from "@/base/log"; import type { Collection } from "@/media/collection"; import { loadCast } from "@/new/photos/utils/chromecast-sender"; import DialogBoxV2 from "@ente/shared/components/DialogBoxV2"; -import EnteSpinner from "@ente/shared/components/EnteSpinner"; import SingleInputForm, { type SingleInputFormProps, } from "@ente/shared/components/SingleInputForm"; @@ -167,7 +167,7 @@ export const AlbumCastDialog: React.FC = ({ {view == "auto" && (
- +
{t("choose_device_from_browser")}