feat(app): add a report-an-issue link to the About dialog (#1669)

Цей коміт міститься в:
ppxb authored and GitHub committed 2026-11-07 03:19:11 +08:00
1 джерело 34d830c247
коміт 0f0458b966
3 files changed
+12

No files matched your search

+10
Переглянути файл
@@ -3,6 +3,7 @@ import { create } from "zustand";
import { executeAction } from "@/platform/actions";
import { t as translate, useT } from "@/platform/i18n";
import { commands, isTauri, type AppInfo, type BuildInfo } from "@/platform/ipc";
import { openExternalUrl } from "@/platform/openUrl";
import clsx from "clsx";
import { Dialog, IconButton, selectableText } from "@/ui";
import logo from "../../../src-tauri/icons/128x128.png";
@@ -116,6 +117,15 @@ function AboutDialog({ onClose }: { onClose: () => void }) {
{t("app.about.showConfig")}
</button>
)}
<button
type="button"
className={styles.link}
onClick={() =>
void openExternalUrl("https://github.com/l0ng-ai/openidea/issues/new/choose").catch(() => {})
}
>
{t("app.about.reportIssue")}
</button>
</div>
<div className={clsx(styles.license, selectableText)}>
{t("app.about.copyright")}