Skip to content

armgit / ente

Public Imported from GitHub
0

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

[photos][web] Remove added album overview comments

AswinAsokcfc174695d97
diff --git a/web/apps/photos/src/components/gallery/AlbumsOverview.tsx b/web/apps/photos/src/components/gallery/AlbumsOverview.tsx
index a6c3646f6a..e25f747b18 100644
--- a/web/apps/photos/src/components/gallery/AlbumsOverview.tsx
+++ b/web/apps/photos/src/components/gallery/AlbumsOverview.tsx
@@ -26,7 +26,6 @@ interface AlbumsOverviewProps {
onCreateAlbum: () => void;
}
-// Uses the People overview's virtualized rows with the ZIP's fixed album tiles.
export const AlbumsOverview = ({
albums,
title,
@@ -54,7 +53,6 @@ export const AlbumsOverview = ({
const tileWidth = compact ? 104 : 140;
const columnGap = compact ? 12 : 22;
const rowGap = compact ? 16 : 24;
- // Cover + label gap + name + metadata gap + count.
const cardHeight = tileWidth + 8 + 20 + 2 + 16;
const displayTitle =
filter == "shared"
@@ -126,7 +124,6 @@ export const AlbumsOverview = ({
>
<AutoSizer>
{({ width, height }) => {
- // Account for the actual scrollbar without wasting a column on narrow windows.
const columns = Math.max(
1,
Math.floor(
diff --git a/web/apps/photos/src/utils/album-filters.ts b/web/apps/photos/src/utils/album-filters.ts
index cb9ce29c2c..96065bf754 100644
--- a/web/apps/photos/src/utils/album-filters.ts
+++ b/web/apps/photos/src/utils/album-filters.ts
@@ -80,7 +80,6 @@ export const visibleAlbumFilters = (collectionSummaries: CollectionSummary[]) =>
return collectionSummaries.some((cs) => matchesAlbumFilter(cs, value));
});
-// The sidebar and overview must display exactly the same album membership.
export const filterAlbumSummaries = (
summaries: CollectionSummary[],
filter: AlbumFilter,