Skip to content

fix: 修复 Issue 模板选择器缺失#1311

Open
liuCodeBoy wants to merge 1 commit into
claude-code-best:mainfrom
liuCodeBoy:fix/issue-template-frontmatter
Open

fix: 修复 Issue 模板选择器缺失#1311
liuCodeBoy wants to merge 1 commit into
claude-code-best:mainfrom
liuCodeBoy:fix/issue-template-frontmatter

Conversation

@liuCodeBoy

@liuCodeBoy liuCodeBoy commented Jul 26, 2026

Copy link
Copy Markdown

问题

GitHub Markdown Issue 模板要求使用 about 字段作为选择器描述。现有两个模板使用了不受支持的 description,导致模板无法正常显示在新建 Issue 的选择器中。

修改

  • 将 Bug 报告模板的 description 更正为 about
  • 将功能建议模板的 description 更正为 about

验证

  • 校验两个模板的 frontmatter 均包含 GitHub 支持的字段
  • git diff --check 通过

Fixes #1306

Summary by CodeRabbit

  • Documentation
    • Updated bug report and feature request templates to use the supported description field.
    • Existing template wording and content remain unchanged.

@coderabbitai

coderabbitai Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 9fd0f4d2-1058-4aad-b9e2-a13d123337cb

📥 Commits

Reviewing files that changed from the base of the PR and between 34b3dc9 and 9cd8820.

📒 Files selected for processing (2)
  • .github/ISSUE_TEMPLATE/bug_report.md
  • .github/ISSUE_TEMPLATE/feature_request.md

📝 Walkthrough

Walkthrough

The pull request changes the YAML front-matter key from description to about in the bug report and feature request Markdown issue templates, without changing their displayed text.

Changes

Issue template metadata

Layer / File(s) Summary
Update issue template front matter
.github/ISSUE_TEMPLATE/bug_report.md, .github/ISSUE_TEMPLATE/feature_request.md
Both templates replace the description metadata key with about while preserving the existing values.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed 标题准确概括了通过修复 Issue 模板选择器缺失来解决的问题。
Linked Issues check ✅ Passed 两个已链接模板文件都将 frontmatter 的 description 改为 about,符合问题要求。
Out of Scope Changes check ✅ Passed 变更仅限于两个 Issue 模板的字段修正,没有明显无关改动。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Issue 模板未显示在 New Issue 选择器中

1 participant