π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
style(photos):remove-search-ducky-and-initial-prompt
Aswin Asok0bafcfe43cc3
diff --git a/web/apps/photos/src/components/SearchBar.tsx b/web/apps/photos/src/components/SearchBar.tsxindex 31b41f4ca3..a414efe1f5 100644--- a/web/apps/photos/src/components/SearchBar.tsx+++ b/web/apps/photos/src/components/SearchBar.tsx@@ -496,7 +496,7 @@ function SearchGroupHeading(props: GroupHeadingProps<SearchOption, false>) {);}-function SearchEmptyState({ initial = false }: { initial?: boolean }) {+function SearchEmptyState() {return (<Stacksx={{@@ -506,20 +506,12 @@ function SearchEmptyState({ initial = false }: { initial?: boolean }) {py: "20px",}}>- <Box- component="img"- src="/images/auth-ducky.svg"- alt=""- sx={{ width: 130, height: 100, objectFit: "contain" }}- /><Typography variant="h3" sx={{ color: "text.base" }}>- {t(initial ? "search_start_typing" : "search_no_matches")}+ {t("search_no_matches")}+ </Typography>+ <Typography variant="small" sx={{ color: "text.muted" }}>+ {t("search_try_another")}</Typography>- {!initial && (- <Typography variant="small" sx={{ color: "text.muted" }}>- {t("search_try_another")}- </Typography>- )}</Stack>);}@@ -720,7 +712,7 @@ const EmptyState: React.FC<const hasPeople = people && people.length > 0;if (!hasPeople && !label) {- return <SearchEmptyState initial />;+ return null;}return (diff --git a/web/packages/base/locales/en-US/translation.json b/web/packages/base/locales/en-US/translation.jsonindex 9fd70afdcb..2e7dc482e9 100644--- a/web/packages/base/locales/en-US/translation.json+++ b/web/packages/base/locales/en-US/translation.json@@ -479,7 +479,6 @@"search_results": "Search results","search_places": "Places","search_no_matches": "No matches found!",- "search_start_typing": "Type something to start searching","search_navigate_hint": "β β to navigate Β· Enter to open","search_try_another": "Try another name, date or description.","no_results": "No results found",