π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
feat(CollectionMapDialog):remove-edit-feature
Aswin Asok53575a95223e
diff --git a/web/apps/photos/src/components/Collections/CollectionMapDialog.tsx b/web/apps/photos/src/components/Collections/CollectionMapDialog.tsxindex 7c161cebbc..1a4525bb54 100644--- a/web/apps/photos/src/components/Collections/CollectionMapDialog.tsx+++ b/web/apps/photos/src/components/Collections/CollectionMapDialog.tsx@@ -1183,7 +1183,6 @@ function CollectionSidebar({onMarkTempDeleted={onMarkTempDeleted}onAddFileToCollection={onAddFileToCollection}onRemoteFilesPull={onRemoteFilesPull}- enableEditImage={false}fileNormalCollectionIDs={fileNormalCollectionIDs}collectionNameByID={collectionNameByID}onSelectCollection={onSelectCollection}diff --git a/web/apps/photos/src/components/FileListWithViewer.tsx b/web/apps/photos/src/components/FileListWithViewer.tsxindex 3a10a9609d..e31f6484d2 100644--- a/web/apps/photos/src/components/FileListWithViewer.tsx+++ b/web/apps/photos/src/components/FileListWithViewer.tsx@@ -1,4 +1,5 @@import { styled } from "@mui/material";+import { useTheme } from "@mui/material/styles";import { isSameDay } from "ente-base/date";import { formattedDate } from "ente-base/i18n-date";import type { AddSaveGroup } from "ente-gallery/components/utils/save-groups";@@ -15,7 +16,6 @@ import { PseudoCollectionID } from "ente-new/photos/services/collection-summary"import { t } from "i18next";import { useCallback, useMemo, useState } from "react";import AutoSizer from "react-virtualized-auto-sizer";-import { useTheme } from "@mui/material/styles";import { uploadManager } from "services/upload-manager";import {FileList,@@ -29,10 +29,6 @@ export type FileListWithViewerProps = {*/files: EnteFile[];enableDownload?: boolean;- /**- * Whether the edit image action should be available in the viewer.- */- enableEditImage?: boolean;/*** Called when the component wants to mark the given files as deleted in the* the in-memory, unsynced, state maintained by the top level gallery.@@ -113,7 +109,6 @@ export const FileListWithViewer: React.FC<FileListWithViewerProps> = ({user,files,enableDownload,- enableEditImage = true,disableGrouping,enableSelect,selected,@@ -253,9 +248,7 @@ export const FileListWithViewer: React.FC<FileListWithViewerProps> = ({onTriggerRemotePull={handleTriggerRemotePull}onDownload={handleDownload}onDelete={handleDelete}- onSaveEditedImageCopy={- enableEditImage ? handleSaveEditedImageCopy : undefined- }+ onSaveEditedImageCopy={handleSaveEditedImageCopy}onAddFileToCollection={onAddFileToCollection}activeCollectionID={activeCollectionID}/>