Skip to content

armgit / ente

Public Imported from GitHub
0

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

Count

Manav Rathi8e3506827116
diff --git a/web/packages/new/photos/components/PeopleList.tsx b/web/packages/new/photos/components/PeopleList.tsx
index d72af38787..5493fc7339 100644
--- a/web/packages/new/photos/components/PeopleList.tsx
+++ b/web/packages/new/photos/components/PeopleList.tsx
@@ -225,8 +225,7 @@ export const SuggestionFaceList: React.FC<SuggestionFaceListProps> = ({
const SuggestionFaceList_ = styled("div")`
display: flex;
flex-wrap: wrap;
- gap: 2px;
- border: 1px solid tomato;
+ gap: 6px;
`;
const SuggestionFace = styled("div")`
diff --git a/web/packages/new/photos/components/gallery/PeopleHeader.tsx b/web/packages/new/photos/components/gallery/PeopleHeader.tsx
index 2f04adc692..edc8d02646 100644
--- a/web/packages/new/photos/components/gallery/PeopleHeader.tsx
+++ b/web/packages/new/photos/components/gallery/PeopleHeader.tsx
@@ -510,18 +510,25 @@ const SuggestionsList: React.FC<SuggestionsListProps> = ({
markedSuggestionIDs,
onMarkSuggestion,
}) => (
- <List disablePadding sx={{ width: "100%" }}>
+ <List dense disablePadding sx={{ width: "100%" }}>
{suggestions.map((suggestion) => (
<ListItem
sx={{
paddingInline: 0,
+ paddingBlockEnd: "24px",
+
justifyContent: "space-between",
}}
key={suggestion.id}
>
- <Stack>
+ <Stack sx={{ gap: "10px" }}>
+ <Typography variant="small" color="text.muted">
+ {/* Use the face count as as stand-in for the photo count */}
+ {t("photos_count", {
+ count: suggestion.cluster.faces.length,
+ })}
+ </Typography>
<SuggestionFaceList faces={suggestion.previewFaces} />
- <Typography>{`${suggestion.previewFaces.length} faces ntaoheu naoehtu aosnehu asoenuh aoenuht`}</Typography>
</Stack>
<ToggleButtonGroup
value={markedSuggestionIDs.get(suggestion.id)}