π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Rename
Manav Rathi61763ed16f3e
diff --git a/web/apps/photos/src/components/Collections/AllCollections/content.tsx b/web/apps/photos/src/components/Collections/AllCollections/content.tsxindex 27a7bc733c..05876f1ad1 100644--- a/web/apps/photos/src/components/Collections/AllCollections/content.tsx+++ b/web/apps/photos/src/components/Collections/AllCollections/content.tsx@@ -1,5 +1,5 @@import {- AllCollectionTile,+ CollectionTile,ItemCard,LargeTileTextOverlay,} from "@/new/photos/components/ItemCards";@@ -166,7 +166,7 @@ const AllCollectionCard: React.FC<AllCollectionCardProps> = ({isScrolling,}) => (<ItemCard- TileComponent={AllCollectionTile}+ TileComponent={CollectionTile}coverFile={collectionSummary.coverFile}onClick={() => onCollectionClick(collectionSummary.id)}isScrolling={isScrolling}diff --git a/web/packages/new/photos/components/CollectionSelector.tsx b/web/packages/new/photos/components/CollectionSelector.tsxindex a5c7753d44..ccd510dca8 100644--- a/web/packages/new/photos/components/CollectionSelector.tsx+++ b/web/packages/new/photos/components/CollectionSelector.tsx@@ -1,6 +1,6 @@import type { Collection } from "@/media/collection";import {- AllCollectionTile,+ CollectionTile,ItemCard,ItemTileOverlay,LargeTileTextOverlay,@@ -222,7 +222,7 @@ const CollectionSelectorCard: React.FC<CollectionSelectorCardProps> = ({onCollectionClick,}) => (<ItemCard- TileComponent={AllCollectionTile}+ TileComponent={CollectionTile}coverFile={collectionSummary.coverFile}onClick={() => onCollectionClick(collectionSummary.id)}>@@ -239,7 +239,7 @@ interface AddCollectionButtonProps {const AddCollectionButton: React.FC<AddCollectionButtonProps> = ({onClick,}) => (- <ItemCard TileComponent={AllCollectionTile} onClick={onClick}>+ <ItemCard TileComponent={CollectionTile} onClick={onClick}><LargeTileTextOverlay>{t("create_albums")}</LargeTileTextOverlay><PlusOverlay>+</PlusOverlay></ItemCard>diff --git a/web/packages/new/photos/components/ItemCards.tsx b/web/packages/new/photos/components/ItemCards.tsxindex 8c73fb3ad6..f4ff88912d 100644--- a/web/packages/new/photos/components/ItemCards.tsx+++ b/web/packages/new/photos/components/ItemCards.tsx@@ -135,10 +135,10 @@ export const BarItemTile = styled(ItemTile)``;/**- * A large 150x150 TileComponent used when showing the list of all collections- * in the all collections view.+ * A large 150x150 TileComponent used when showing the list of collections in+ * the all collections view and in the collection selector.*/-export const AllCollectionTile = styled(ItemTile)`+export const CollectionTile = styled(ItemTile)`width: 150px;height: 150px;`;@@ -171,7 +171,7 @@ export const TileTextOverlay = styled(ItemTileOverlay)`/*** A variation of {@link TileTextOverlay} for use with larger tiles like the- * {@link AllCollectionTile}.+ * {@link CollectionTile}.*/export const LargeTileTextOverlay = styled(ItemTileOverlay)`padding: 8px;