From 19d26398148adbf881519aafe5bdd7995e3909e6 Mon Sep 17 00:00:00 2001 From: Qiuner Date: Tue, 18 Aug 2026 23:15:33 +0800 Subject: [PATCH] chore(repo): expand issue and pr templates --- .github/ISSUE_TEMPLATE/bug_report.yml | 10 ++++-- .github/ISSUE_TEMPLATE/feature_request.yml | 4 +++ .github/pull_request_template.md | 41 ++++++++++++++++++++++ 3 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 .github/pull_request_template.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 45bffdbbe5..dce9cdeab4 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -41,7 +41,11 @@ body: options: - Windows 11 x64 - Windows 10 x64 + - Windows ARM64 - macOS Apple Silicon + - macOS Intel + - macOS Universal package / macOS 通用安装包 + - Linux - Other or unsupported / 其他或未支持平台 validations: required: true @@ -52,7 +56,9 @@ body: label: Installation method / 安装方式 options: - Windows installer / Windows 安装包 + - Windows portable ZIP / Windows 便携版 ZIP - macOS DMG + - Linux package / Linux 安装包 - Built from source / 源码运行 - Other or unknown / 其他或不确定 validations: @@ -122,8 +128,8 @@ body: id: logs attributes: label: Logs or error details / 日志或错误信息 - description: Attach the diagnostics ZIP from the tray. If the app cannot stay open, run the installed executable with `--export-diagnostics`. Review the archive before public upload / 请附上托盘导出的诊断 ZIP;如果应用持续闪退,请用 `--export-diagnostics` 运行安装后的程序。公开上传前请检查内容 - placeholder: Paste relevant lines or attach diagnostics-*.zip; complete evidence usually speeds up diagnosis / 粘贴相关内容或附上 diagnostics-*.zip;完整证据通常能加快定位 + description: Attach the diagnostics ZIP from the tray whenever possible. If the app cannot stay open, run the installed executable with `--export-diagnostics`. Please do not write only "none" unless diagnostics cannot be created. Review the archive before public upload / 请尽量附上托盘导出的诊断 ZIP;如果应用持续闪退,请用 `--export-diagnostics` 运行安装后的程序。除非确实无法生成诊断包,请不要只写“无”。公开上传前请检查内容 + placeholder: Attach diagnostics-*.zip or paste the exact error lines, startup logs, crash text, or terminal output. Complete evidence usually speeds up diagnosis / 请附上 diagnostics-*.zip,或粘贴准确报错、启动日志、崩溃文字、终端输出;完整证据通常能加快定位 - type: textarea id: screenshots diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 51d0497e20..1f2a529b8f 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -65,7 +65,11 @@ body: options: - All supported platforms / 所有已支持平台 - Windows only / 仅 Windows + - Windows portable ZIP / Windows 便携版 ZIP - macOS only / 仅 macOS + - macOS Intel + - macOS Universal package / macOS 通用安装包 + - Linux - Unknown or not platform-specific / 不确定或与平台无关 validations: required: true diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000000..7c3a7ecd00 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,41 @@ +## Summary / 摘要 + + + +## Related Issues / 关联 Issue + + + +## Type / 类型 + +- [ ] Bug fix / 问题修复 +- [ ] Feature / 新功能 +- [ ] Documentation / 文档 +- [ ] Release or packaging / 发布或打包 +- [ ] Tests only / 仅测试 +- [ ] Other / 其他 + +## Platforms / 影响平台 + +- [ ] Windows installer / Windows 安装包 +- [ ] Windows portable ZIP / Windows 便携版 ZIP +- [ ] macOS Apple Silicon +- [ ] macOS Intel +- [ ] macOS Universal package / macOS 通用安装包 +- [ ] Linux +- [ ] Not platform-specific / 与平台无关 + +## Verification / 验证 + + + +- [ ] `corepack yarn check:layout` +- [ ] `corepack yarn typecheck` +- [ ] `corepack yarn test` +- [ ] `corepack yarn check` +- [ ] Platform package smoke / 平台打包或启动冒烟 +- [ ] Manual test / 人工测试 + +## Release Notes / 发布说明 + +