π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Inline
Manav Rathi75d041dd9cc0
diff --git a/web/apps/photos/src/components/Sidebar/HelpSection.tsx b/web/apps/photos/src/components/Sidebar/HelpSection.tsxindex 1f7ce95cc8..4cc97c414a 100644--- a/web/apps/photos/src/components/Sidebar/HelpSection.tsx+++ b/web/apps/photos/src/components/Sidebar/HelpSection.tsx@@ -2,10 +2,6 @@ import { t } from "i18next";import { useContext } from "react";import EnteSpinner from "@ente/shared/components/EnteSpinner";-import {- DESKTOP_ROADMAP_URL,- WEB_ROADMAP_URL,-} from "@ente/shared/constants/urls";import { Typography } from "@mui/material";import { EnteMenuItem } from "components/Menu/EnteMenuItem";import { NoStyleAnchor } from "components/pages/sharedAlbum/GoToEnte";@@ -20,17 +16,12 @@ export default function HelpSection() {const { setDialogMessage } = useContext(AppContext);const { openExportModal } = useContext(GalleryContext);- async function openRoadmap() {- let roadmapURL: string;- if (isElectron()) {- roadmapURL = DESKTOP_ROADMAP_URL;- } else {- roadmapURL = WEB_ROADMAP_URL;- }- openLink(roadmapURL, true);- }+ const openRoadmap = () =>+ openLink("https://github.com/ente-io/ente/discussions", true);++ const contactSupport = () => openLink("mailto:[email protected]", true);- function handleExportOpen() {+ function openExport() {if (isElectron()) {openExportModal();} else {@@ -46,7 +37,7 @@ export default function HelpSection() {variant="secondary"/><EnteMenuItem- onClick={() => openLink("mailto:[email protected]", true)}+ onClick={contactSupport}labelComponent={<NoStyleAnchor href="mailto:[email protected]"><Typography fontWeight={"bold"}>@@ -57,7 +48,7 @@ export default function HelpSection() {variant="secondary"/><EnteMenuItem- onClick={handleExportOpen}+ onClick={openExport}label={t("EXPORT")}endIcon={exportService.isExportInProgress() && (diff --git a/web/packages/shared/constants/urls.ts b/web/packages/shared/constants/urls.tsindex b55c9e5191..08f08dfab5 100644--- a/web/packages/shared/constants/urls.ts+++ b/web/packages/shared/constants/urls.ts@@ -10,8 +10,3 @@ export const SUPPORT_EMAIL = "[email protected]";export const FEEDBACK_EMAIL = "[email protected]";export const DELETE_ACCOUNT_EMAIL = "[email protected]";--export const WEB_ROADMAP_URL = "https://github.com/ente-io/ente/discussions";--export const DESKTOP_ROADMAP_URL =- "https://github.com/ente-io/ente/discussions";