π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
feat(sidebar-search-registry):added-2fa-reconfigure-to-index
Aswin Asoke81b3d5861e6
diff --git a/web/apps/photos/src/components/Sidebar.tsx b/web/apps/photos/src/components/Sidebar.tsxindex eb6651ef7a..36b3d29bde 100644--- a/web/apps/photos/src/components/Sidebar.tsx+++ b/web/apps/photos/src/components/Sidebar.tsx@@ -196,6 +196,7 @@ type AccountAction = Extract<SidebarActionID,| "account.recoveryKey"| "account.twoFactor"+ | "account.twoFactor.reconfigure"| "account.passkeys"| "account.changePassword"| "account.changeEmail"@@ -922,6 +923,7 @@ const Account: React.FC<AccountProps> = ({case "account.recoveryKey":showRecoveryKey();break;+ case "account.twoFactor.reconfigure":case "account.twoFactor":showTwoFactor();break;diff --git a/web/packages/new/photos/services/search/sidebar-search-registry.ts b/web/packages/new/photos/services/search/sidebar-search-registry.tsindex 39fd2a07eb..2f036c2b25 100644--- a/web/packages/new/photos/services/search/sidebar-search-registry.ts+++ b/web/packages/new/photos/services/search/sidebar-search-registry.ts@@ -143,6 +143,12 @@ const sidebarActions = (): SidebarAction[] => {path: [accountCategory, t("two_factor")],keywords: ["2fa", "otp", "mfa", "two", "factor", "two factor"],},+ {+ id: "account.twoFactor.reconfigure",+ label: t("reconfigure"),+ path: [accountCategory, t("two_factor"), t("reconfigure")],+ keywords: ["reconfigure", "update", "2fa", "two factor"],+ },{id: "account.passkeys",label: t("passkeys"),@@ -305,6 +311,7 @@ export const performSidebarAction = async (.onShowCollectionSummary(ctx.pseudoIDs.hidden, true)// See: [Note: Workarounds for unactionable ARIA warnings].then(() => wait(10))+ .then(() => ctx.onClose()));case "shortcuts.trash":return ctx@@ -341,6 +348,7 @@ export const performSidebarAction = async (case "account.recoveryKey":case "account.twoFactor":+ case "account.twoFactor.reconfigure":case "account.passkeys":case "account.changePassword":case "account.changeEmail":diff --git a/web/packages/new/photos/services/search/types.ts b/web/packages/new/photos/services/search/types.tsindex ae5ea15029..0ad30879f5 100644--- a/web/packages/new/photos/services/search/types.ts+++ b/web/packages/new/photos/services/search/types.ts@@ -38,6 +38,7 @@ export type SidebarActionID =| "account.subscription"| "account.recoveryKey"| "account.twoFactor"+ | "account.twoFactor.reconfigure"| "account.passkeys"| "account.changePassword"| "account.changeEmail"