Skip to content

The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.

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

ppxb0f0458b9661b
diff --git a/src/features/app/AboutDialog.tsx b/src/features/app/AboutDialog.tsx
index 9de805747..53e1320c7 100644
--- a/src/features/app/AboutDialog.tsx
+++ b/src/features/app/AboutDialog.tsx
@@ -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")}
diff --git a/src/platform/locales/en.json b/src/platform/locales/en.json
index c650dea41..9732d98b6 100644
--- a/src/platform/locales/en.json
+++ b/src/platform/locales/en.json
@@ -6,6 +6,7 @@
"app.about.disclaimer": "Not affiliated with JetBrains.",
"app.about.license": "Licensed under the Apache License 2.0",
"app.about.platform": "Platform",
+ "app.about.reportIssue": "Report an Issue",
"app.about.runtime": "Runtime",
"app.about.showConfig": "Open Configuration Folder",
"app.about.tagline": "An open-source IDE inspired by IntelliJ IDEA",
diff --git a/src/platform/locales/zh.json b/src/platform/locales/zh.json
index 4a67b7ec7..b3309f9b5 100644
--- a/src/platform/locales/zh.json
+++ b/src/platform/locales/zh.json
@@ -6,6 +6,7 @@
"app.about.disclaimer": "与 JetBrains 无关联。",
"app.about.license": "基于 Apache License 2.0 许可发布",
"app.about.platform": "平台",
+ "app.about.reportIssue": "报告问题",
"app.about.runtime": "运行时",
"app.about.showConfig": "打开配置目录",
"app.about.tagline": "受 IntelliJ IDEA 启发的开源 IDE",