π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Trim exports
Manav Rathi546e40c1ff7e
diff --git a/web/apps/photos/src/components/SearchBar.tsx b/web/apps/photos/src/components/SearchBar.tsxindex 218375cac8..74b6fe8ad2 100644--- a/web/apps/photos/src/components/SearchBar.tsx+++ b/web/apps/photos/src/components/SearchBar.tsx@@ -69,11 +69,11 @@ interface SearchBarProps {setIsInSearchMode: (v: boolean) => void;}-export default function SearchBar({+export const SearchBar: React.FC<SearchBarProps> = ({setIsInSearchMode,isInSearchMode,...props-}: SearchBarProps) {+}) => {const showSearchInput = () => setIsInSearchMode(true);return (@@ -89,7 +89,7 @@ export default function SearchBar({/></SearchBarWrapper>);-}+};const SearchBarWrapper = styled(FlexWrapper)`padding: 0 24px;@@ -113,7 +113,7 @@ const createComponents = memoize((Option, ValueContainer, Menu, Input) => ({Input,}));-export const SearchInput: React.FC<SearchInputProps> = (props) => {+const SearchInput: React.FC<SearchInputProps> = (props) => {const selectRef = useRef(null);const [value, setValue] = useState<SearchOption>(null);const appContext = useContext(AppContext);@@ -368,7 +368,7 @@ const getIconByType = (type: SuggestionType) => {}};-export const MenuWithPeople = (props) => {+const MenuWithPeople = (props) => {// log.info("props.selectProps.options: ", selectRef);const peopleSuggestions = props.selectProps.options.filter((o) => o.type === SuggestionType.PERSON,diff --git a/web/apps/photos/src/components/pages/gallery/Navbar.tsx b/web/apps/photos/src/components/pages/gallery/Navbar.tsxindex 729a536351..0148a831e7 100644--- a/web/apps/photos/src/components/pages/gallery/Navbar.tsx+++ b/web/apps/photos/src/components/pages/gallery/Navbar.tsx@@ -5,7 +5,7 @@ import { FlexWrapper, HorizontalFlex } from "@ente/shared/components/Container";import ArrowBack from "@mui/icons-material/ArrowBack";import MenuIcon from "@mui/icons-material/Menu";import { IconButton, Typography } from "@mui/material";-import SearchBar from "components/SearchBar";+import { SearchBar } from "components/SearchBar";import UploadButton from "components/Upload/UploadButton";import { t } from "i18next";import { Collection } from "types/collection";@@ -22,6 +22,7 @@ interface Iprops {updateSearch: UpdateSearch;exitHiddenSection: () => void;}+export function GalleryNavbar({openSidebar,openUploader,