Skip to content

armgit / ente

Public Imported from GitHub
0

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

Move

Manav Rathi653bab956a45
diff --git a/web/apps/photos/src/components/Upload/Uploader.tsx b/web/apps/photos/src/components/Upload/Uploader.tsx
index f67ccc4954..2b0619b695 100644
--- a/web/apps/photos/src/components/Upload/Uploader.tsx
+++ b/web/apps/photos/src/components/Upload/Uploader.tsx
@@ -3,6 +3,7 @@ import log from "@/base/log";
import type { CollectionMapping, Electron, ZipItem } from "@/base/types/ipc";
import type { Collection } from "@/media/collection";
import type { EnteFile } from "@/media/file";
+import UserNameInputDialog from "@/new/albums/components/UploaderNameInput";
import { CollectionMappingChoiceDialog } from "@/new/photos/components/CollectionMappingChoiceDialog";
import type { CollectionSelectorAttributes } from "@/new/photos/components/CollectionSelector";
import { downloadAppDialogAttributes } from "@/new/photos/components/utils/download";
@@ -20,7 +21,6 @@ import { ensure } from "@/utils/ensure";
import { CustomError } from "@ente/shared/error";
import DiscFullIcon from "@mui/icons-material/DiscFull";
import InfoOutlined from "@mui/icons-material/InfoRounded";
-import UserNameInputDialog from "components/UserNameInputDialog";
import { t } from "i18next";
import isElectron from "is-electron";
import { GalleryContext } from "pages/gallery";
diff --git a/web/apps/photos/src/components/UserNameInputDialog.tsx b/web/packages/new/albums/components/UploaderNameInput.tsx
similarity index 97%
rename from web/apps/photos/src/components/UserNameInputDialog.tsx
rename to web/packages/new/albums/components/UploaderNameInput.tsx
index 8cbbb14717..b7a6d41db7 100644
--- a/web/apps/photos/src/components/UserNameInputDialog.tsx
+++ b/web/packages/new/albums/components/UploaderNameInput.tsx
@@ -9,7 +9,7 @@ import {
} from "@mui/material";
import { t } from "i18next";
-export default function UserNameInputDialog({
+export default function UploaderNameInputDialog({
open,
onClose,
onNameSubmit,