Преглед изворни кода

docs: add desktop issue templates (#20)

Jiachen Yu пре 5 месеци
родитељ
комит
f72fc5ebdc

+ 118 - 0
.github/ISSUE_TEMPLATE/01-bug-report.yml

@@ -0,0 +1,118 @@
+name: Bug report / 问题反馈
+description: Report a reproducible MiniMax Code desktop problem
+title: "[Bug]: "
+labels: ["bug"]
+
+body:
+  - type: markdown
+    attributes:
+      value: |
+        Thanks for reporting. Please remove API keys, tokens, private code, and other sensitive information before submitting.
+        感谢反馈。提交前请移除 API Key、Token、私有代码和其他敏感信息。
+
+  - type: input
+    id: version
+    attributes:
+      label: Version / 版本号
+      description: Find this in MiniMax Code Settings.
+      placeholder: "Example: v3.0.35"
+    validations:
+      required: true
+
+  - type: dropdown
+    id: platform
+    attributes:
+      label: Platform / 平台
+      options:
+        - macOS
+        - Windows
+    validations:
+      required: true
+
+  - type: input
+    id: os-version
+    attributes:
+      label: OS version / 系统版本
+      placeholder: "Example: macOS 15.5, Windows 11 23H2"
+    validations:
+      required: true
+
+  - type: dropdown
+    id: issue-area
+    attributes:
+      label: Issue area / 问题类型
+      options:
+        - Startup / install / update
+        - Agent stuck / slow / repeated loop
+        - Tool call / permission / daemon
+        - MCP / OAuth / integration
+        - File / workspace / path / encoding
+        - Model output quality
+        - UI / UX
+        - Other
+    validations:
+      required: true
+
+  - type: input
+    id: upload-id
+    attributes:
+      label: Upload ID / 日志上传 ID
+      description: In MiniMax Code, go to Settings → General → Upload logs. If the app cannot start, write "cannot upload" and attach crash logs below.
+      placeholder: "Example: upload_xxx, or cannot upload"
+    validations:
+      required: true
+
+  - type: textarea
+    id: summary
+    attributes:
+      label: What happened? / 问题描述
+      placeholder: "MiniMax Code crashes when..."
+    validations:
+      required: true
+
+  - type: textarea
+    id: steps
+    attributes:
+      label: Steps to reproduce / 复现步骤
+      placeholder: |
+        1. Open MiniMax Code
+        2. Click...
+        3. Run...
+        4. See error...
+    validations:
+      required: true
+
+  - type: textarea
+    id: expected
+    attributes:
+      label: Expected behavior / 预期行为
+    validations:
+      required: true
+
+  - type: textarea
+    id: actual
+    attributes:
+      label: Actual behavior / 实际行为
+    validations:
+      required: true
+
+  - type: textarea
+    id: logs
+    attributes:
+      label: Logs, screenshots, or crash reports / 日志、截图或崩溃信息
+      description: Please remove secrets, tokens, API keys, private paths, and private code.
+      render: shell
+    validations:
+      required: false
+
+  - type: checkboxes
+    id: checklist
+    attributes:
+      label: Before submitting / 提交前确认
+      options:
+        - label: I have searched existing issues.
+          required: true
+        - label: I am using the latest version available to me.
+          required: true
+        - label: I have removed sensitive information from logs/screenshots.
+          required: true

+ 57 - 0
.github/ISSUE_TEMPLATE/02-feature-request.yml

@@ -0,0 +1,57 @@
+name: Feature request / 功能建议
+description: Suggest an improvement for MiniMax Code desktop
+title: "[Feature]: "
+labels: ["enhancement"]
+
+body:
+  - type: markdown
+    attributes:
+      value: |
+        Thanks for helping improve MiniMax Code. Please search existing issues before submitting.
+        感谢帮助我们改进 MiniMax Code。提交前请先搜索是否已有相关 Issue。
+
+  - type: textarea
+    id: problem
+    attributes:
+      label: Problem / 你遇到的问题
+      description: What problem would this feature solve?
+      placeholder: "I often need to..."
+    validations:
+      required: true
+
+  - type: textarea
+    id: proposal
+    attributes:
+      label: Proposed solution / 期望方案
+      description: What would you like MiniMax Code to do?
+      placeholder: "I would like MiniMax Code to..."
+    validations:
+      required: true
+
+  - type: dropdown
+    id: platform
+    attributes:
+      label: Platform / 平台
+      options:
+        - macOS
+        - Windows
+        - Linux desktop support
+        - All desktop platforms
+    validations:
+      required: false
+
+  - type: textarea
+    id: context
+    attributes:
+      label: Additional context / 补充信息
+      description: Add screenshots, examples, or related workflows if helpful.
+    validations:
+      required: false
+
+  - type: checkboxes
+    id: checklist
+    attributes:
+      label: Before submitting / 提交前确认
+      options:
+        - label: I have searched existing issues.
+          required: true

+ 39 - 0
.github/ISSUE_TEMPLATE/03-question.yml

@@ -0,0 +1,39 @@
+name: Question / 使用问题
+description: Ask a question about MiniMax Code desktop
+title: "[Question]: "
+labels: ["question"]
+
+body:
+  - type: textarea
+    id: question
+    attributes:
+      label: Question / 问题
+      placeholder: "How do I..."
+    validations:
+      required: true
+
+  - type: dropdown
+    id: platform
+    attributes:
+      label: Platform / 平台
+      options:
+        - macOS
+        - Windows
+    validations:
+      required: false
+
+  - type: textarea
+    id: context
+    attributes:
+      label: Context / 补充信息
+      description: What have you tried? Add screenshots if useful.
+    validations:
+      required: false
+
+  - type: checkboxes
+    id: checklist
+    attributes:
+      label: Before submitting / 提交前确认
+      options:
+        - label: I have searched existing issues.
+          required: true

+ 1 - 0
.github/ISSUE_TEMPLATE/config.yml

@@ -0,0 +1 @@
+blank_issues_enabled: false

+ 5 - 4
README.md

@@ -16,17 +16,18 @@
 
 ## Report an Issue
 
-This repository collects issue reports for MiniMax Code, optimized for mobile submissions.
+This repository collects issue reports for the MiniMax Code desktop app.
 
-> Desktop users are welcome too — please attach logs and screenshots when possible.
+> For bug reports, please upload logs from **Settings → General → Upload logs** and include the generated upload ID.
 
 ### How to submit
 
 1. Tap **Issues** → **New issue** at the top right
 2. Pick a template (Bug / Feature / Question)
-3. Fill in the following:
+3. Fill in the requested details:
    - **Version** — found in Settings
-   - **Platform** — macOS / Windows / Mobile
+   - **Platform** — macOS / Windows
+   - **Upload ID** — found after uploading logs from Settings → General
    - **Steps to reproduce** — short and reproducible
    - **Screenshots or logs** — optional but appreciated
 

+ 4 - 3
README.zh-CN.md

@@ -16,9 +16,9 @@
 
 ## 反馈问题
 
-本仓库用于收集 MiniMax Code 的问题反馈,针对手机端提交做了优化。
+本仓库用于收集 MiniMax Code 桌面端的问题反馈。
 
-> 桌面端用户也欢迎使用,请尽量附上日志与截图。
+> 提交 Bug 时,请在「设置 → 通用 → 上传日志」上传日志,并附上生成的 uploadId。
 
 ### 提交步骤
 
@@ -26,7 +26,8 @@
 2. 选择对应模板(Bug / Feature / Question)
 3. 填写以下信息:
    - **版本号** —— 在「设置」中可见
-   - **平台** —— macOS / Windows / Mobile
+   - **平台** —— macOS / Windows
+   - **uploadId** —— 在「设置 → 通用」上传日志后生成
    - **复现步骤** —— 简短、可复现
    - **截图或日志** —— 可选,但有则更佳