π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Tune
Manav Rathic165fad0fbc7
diff --git a/web/packages/new/photos/components/SearchBar.tsx b/web/packages/new/photos/components/SearchBar.tsxindex 6eea876114..0cb17204c0 100644--- a/web/packages/new/photos/components/SearchBar.tsx+++ b/web/packages/new/photos/components/SearchBar.tsx@@ -7,7 +7,6 @@ import { searchOptionsForString } from "@/new/photos/services/search";import type { SearchOption } from "@/new/photos/services/search/types";import { nullToUndefined } from "@/utils/transform";import CalendarIcon from "@mui/icons-material/CalendarMonth";-import ChevronRightIcon from "@mui/icons-material/ChevronRight";import CloseIcon from "@mui/icons-material/Close";import ImageIcon from "@mui/icons-material/Image";import LocationIcon from "@mui/icons-material/LocationOn";@@ -425,12 +424,7 @@ const EmptyState: React.FC<Pick<SearchBarProps, "onSelectPerson">> = ({const SearchPeopleHeader: React.FC<ButtonishProps> = ({ onClick }) => (<SearchPeopleHeaderButton {...{ onClick }}>- <Stack direction="row" color="text.muted">- <Typography color="text.base" variant="large">- {t("people")}- </Typography>- <ChevronRightIcon />- </Stack>+ <Typography color="text.muted">{t("people")}</Typography></SearchPeopleHeaderButton>);diff --git a/web/packages/new/photos/components/gallery/reducer.ts b/web/packages/new/photos/components/gallery/reducer.tsindex 4f58b07c80..09834aba7b 100644--- a/web/packages/new/photos/components/gallery/reducer.ts+++ b/web/packages/new/photos/components/gallery/reducer.ts@@ -80,8 +80,9 @@ export type GalleryView =/*** The list of people to show in the gallery bar.*- * Note that this can be different from the underlying list of people,- * and can temporarily include a person from outside that list.+ * Note that this can be different from the underlying list of+ * visiblePeople in the {@link peopleState}, and can temporarily+ * include a person from outside that list.*/visiblePeople: Person[];/**@@ -1059,10 +1060,10 @@ const derivePeopleView = (activePerson = findByID(people);if (activePerson) {// Temporarily add this person's entry to the list of people- // surfaced in the people section.+ // surfaced in the people view.visiblePeople.push(activePerson);} else {- // We don't have an "All" pseudo-album in people mode, so default to+ // We don't have an "All" pseudo-album in people view, so default to// the first person in the list (if any).activePerson = visiblePeople[0];}