Skip to content

armgit / ente

Public Imported from GitHub
0

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

chore(expanding-spotlight):updated-docs-removed-unused-code-from-AuthenticateUser

Aswin Asokfedf1b4f5cb8
diff --git a/docs/docs/photos/features/search-and-discovery/index.md b/docs/docs/photos/features/search-and-discovery/index.md
index 81ada7148a..07f266c443 100644
--- a/docs/docs/photos/features/search-and-discovery/index.md
+++ b/docs/docs/photos/features/search-and-discovery/index.md
@@ -9,6 +9,13 @@ Ente provides multiple ways to search and discover your photos. From basic date
## Basic Search
+You can quickly access search using the keyboard shortcut:
+
+- **Windows/Linux**: `Ctrl + K`
+- **Mac**: `Cmd + K`
+
+This focuses the search bar from anywhere in the app, letting you start searching immediately.
+
### Date search
Search for photos by specific dates, months, or years. Simply type a date in the search bar:
@@ -31,6 +38,10 @@ Learn more about [adding descriptions to photos](/photos/faq/metadata-and-editin
Search for albums by name or search within specific albums to narrow down results.
+### Settings search
+
+Find settings by searching for their names or related terms.
+
## Location-Based Search
### Map view
diff --git a/web/apps/photos/src/components/AuthenticateUser.tsx b/web/apps/photos/src/components/AuthenticateUser.tsx
index 3c9a5e389d..bf3b3fbc58 100644
--- a/web/apps/photos/src/components/AuthenticateUser.tsx
+++ b/web/apps/photos/src/components/AuthenticateUser.tsx
@@ -1,4 +1,3 @@
-import { Stack, Typography } from "@mui/material";
import { VerifyMasterPasswordForm } from "ente-accounts/components/VerifyMasterPasswordForm";
import { checkSessionValidity } from "ente-accounts/services/session";
import {
@@ -39,15 +38,7 @@ export const AuthenticateUser: React.FC<AuthenticateUserProps> = ({
open={open}
onClose={onClose}
sx={{ position: "absolute" }}
- title={
- <Stack
- direction="row"
- alignItems="center"
- justifyContent="space-between"
- >
- <Typography variant="h6">{t("password")}</Typography>
- </Stack>
- }
+ title={t("password")}
>
<AuthenticateUserDialogContents {...{ open, onClose }} {...rest} />
</TitledMiniDialog>