[PR #4542] [CLOSED] chore(github): overhaul issue and PR templates #5715

Closed
opened 2026-11-02 04:03:33 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/4542
Author: @MHSanaei
Created: 5/24/2026
Status: ❌ Closed

Base: main ← Head: chore/github-templates


📝 Commits (1)

  • 8d5a41d chore(github): overhaul issue and PR templates

📊 Changes

6 files changed (+365 additions, -93 deletions)

View changed files

📝 .github/ISSUE_TEMPLATE/bug_report.yaml (+114 -27)
➕ .github/ISSUE_TEMPLATE/config.yml (+11 -0)
📝 .github/ISSUE_TEMPLATE/feature_request.yaml (+102 -39)
📝 .github/ISSUE_TEMPLATE/question.yaml (+75 -7)
➕ .github/pull_request_template.md (+63 -0)
➖ .github/pull_request_template.yml (+0 -20)

📄 Description

Summary

Overhauls the three issue templates, adds a picker config.yml, and renames the PR template to .md so it matches GitHub's conventional extension.

Why

The templates were missing most triage signal — install method, OS, browser, reverse proxy, area, logs — that maintainers usually have to ask for in a follow-up comment. Reports also came in against very old versions because there was no nudge to upgrade before reporting. The PR template covered "what" but not "how it was tested" or "is this a breaking change."

Type of change

  • Documentation / repo hygiene (no code changes)

What's in this PR

ISSUE_TEMPLATE/bug_report.yaml

  • Title prefilled with [Bug]: and a needs triage label
  • New required fields: install method (install.sh / Docker / manual), operating system
  • New optional fields: relevant logs (with render: shell), screenshots, browser, reverse proxy dropdown, affected area multi-select
  • "Expected action" / "Received action" renamed to "Expected behavior" / "Actual behavior"
  • Checklist expanded from 2 to 4 items (searched existing, on latest, English, sensitive data redacted)

ISSUE_TEMPLATE/feature_request.yaml

  • Same title prefix + needs triage label treatment
  • New fields: concrete use case, mockups/examples, affected area
  • New "Are you willing to help?" opt-in (implement / test) — prioritization signal for maintainers

ISSUE_TEMPLATE/question.yaml

  • Was a 2-field stub; now collects version + install method + (optionally) OS and screenshots
  • Header text steers users to the Wiki and existing issues first

ISSUE_TEMPLATE/config.yml (new)

  • blank_issues_enabled: false — forces use of a template
  • 3 contact links shown above the templates: 📖 Wiki, 🔍 Search existing issues, 🚀 Latest release

pull_request_template.md (renamed from .yml)

  • New sections: Summary / Why / Areas affected / How was this tested / Breaking changes
  • Type-of-change extended (Documentation, Tests only, Build/CI/tooling)
  • Checklist now includes go build, test suite, frontend lint/typecheck/build, docs updates
  • File renamed .yml → .md to match the conventional GitHub PR template extension; the old .yml was being parsed as markdown anyway

Test plan

  • All four YAMLs parse (python -c 'import yaml; yaml.safe_load(...)')
  • Reviewer opens New issue on this branch and confirms picker shows: Bug / Feature / Question with config.yml contact links above and no Open a blank issue
  • Reviewer opens New pull request and confirms the new template body renders correctly

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/4542 **Author:** [@MHSanaei](https://github.com/MHSanaei) **Created:** 5/24/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `chore/github-templates` --- ### 📝 Commits (1) - [`8d5a41d`](https://github.com/MHSanaei/3x-ui/commit/8d5a41d9eb177ed47f726e01e6f562124d7e0f10) chore(github): overhaul issue and PR templates ### 📊 Changes **6 files changed** (+365 additions, -93 deletions) <details> <summary>View changed files</summary> 📝 `.github/ISSUE_TEMPLATE/bug_report.yaml` (+114 -27) ➕ `.github/ISSUE_TEMPLATE/config.yml` (+11 -0) 📝 `.github/ISSUE_TEMPLATE/feature_request.yaml` (+102 -39) 📝 `.github/ISSUE_TEMPLATE/question.yaml` (+75 -7) ➕ `.github/pull_request_template.md` (+63 -0) ➖ `.github/pull_request_template.yml` (+0 -20) </details> ### 📄 Description ## Summary Overhauls the three issue templates, adds a picker `config.yml`, and renames the PR template to `.md` so it matches GitHub's conventional extension. ## Why The templates were missing most triage signal — install method, OS, browser, reverse proxy, area, logs — that maintainers usually have to ask for in a follow-up comment. Reports also came in against very old versions because there was no nudge to upgrade before reporting. The PR template covered "what" but not "how it was tested" or "is this a breaking change." ## Type of change - [x] Documentation / repo hygiene (no code changes) ## What's in this PR ### `ISSUE_TEMPLATE/bug_report.yaml` - Title prefilled with `[Bug]: ` and a `needs triage` label - New required fields: install method (install.sh / Docker / manual), operating system - New optional fields: relevant logs (with `render: shell`), screenshots, browser, reverse proxy dropdown, affected area multi-select - "Expected action" / "Received action" renamed to "Expected behavior" / "Actual behavior" - Checklist expanded from 2 to 4 items (searched existing, on latest, English, sensitive data redacted) ### `ISSUE_TEMPLATE/feature_request.yaml` - Same title prefix + `needs triage` label treatment - New fields: concrete use case, mockups/examples, affected area - New "Are you willing to help?" opt-in (implement / test) — prioritization signal for maintainers ### `ISSUE_TEMPLATE/question.yaml` - Was a 2-field stub; now collects version + install method + (optionally) OS and screenshots - Header text steers users to the Wiki and existing issues first ### `ISSUE_TEMPLATE/config.yml` (new) - `blank_issues_enabled: false` — forces use of a template - 3 contact links shown above the templates: 📖 Wiki, 🔍 Search existing issues, 🚀 Latest release ### `pull_request_template.md` (renamed from `.yml`) - New sections: Summary / Why / Areas affected / How was this tested / Breaking changes - Type-of-change extended (Documentation, Tests only, Build/CI/tooling) - Checklist now includes `go build`, test suite, frontend lint/typecheck/build, docs updates - File renamed `.yml → .md` to match the conventional GitHub PR template extension; the old `.yml` was being parsed as markdown anyway ## Test plan - [x] All four YAMLs parse (`python -c 'import yaml; yaml.safe_load(...)'`) - [ ] Reviewer opens `New issue` on this branch and confirms picker shows: Bug / Feature / Question with `config.yml` contact links above and no `Open a blank issue` - [ ] Reviewer opens `New pull request` and confirms the new template body renders correctly --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 04:03:33 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5715
No description provided.