дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 19:25:54 +02:00
feat(app): add a report-an-issue link to the About dialog (#1669)
Цей коміт міститься в:
3 files changed
+12
No files matched your search
@@ -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")}
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in new issue
Заблокувати користувача