From ac81358017c6f1b599c87b0697ad4f97ea9f4163 Mon Sep 17 00:00:00 2001 From: James Date: Thu, 26 Mar 2026 05:44:58 +0000 Subject: [PATCH] chore(github): convert issue templates to YAML forms and disable blank issues Replace markdown issue templates with GitHub YAML form templates for structured bug reports and feature requests. Add config.yml to disable blank issues and enforce template usage. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/ISSUE_TEMPLATE/bug.yml | 89 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/bug_report.md | 34 --------- .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/feature.yml | 36 +++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 23 ------ 5 files changed, 126 insertions(+), 57 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug.yml delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 000000000..746900d69 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,89 @@ +name: Bug Report +description: Report a bug to help us improve +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to report a bug! Before filing, please: + - Search [existing issues](https://github.com/heygen-com/hyperframes/issues) to avoid duplicates + - Make sure the issue reproduces without custom extensions or plugins + + - type: textarea + id: description + attributes: + label: Describe the bug + description: A clear description of what the bug is. + validations: + required: true + + - type: textarea + id: reproduction + attributes: + label: Steps to reproduce + description: Minimal steps to reproduce the behavior. + placeholder: | + 1. Create a composition with... + 2. Run `npx hyperframes render` + 3. See error... + validations: + required: true + + - type: textarea + id: expected + attributes: + label: Expected behavior + description: What you expected to happen. + validations: + required: true + + - type: textarea + id: actual + attributes: + label: Actual behavior + description: What actually happened. Include error messages or screenshots if applicable. + validations: + required: true + + - type: dropdown + id: os + attributes: + label: Operating System + options: + - macOS + - Linux (Ubuntu/Debian) + - Linux (Other) + - Windows + - Other + validations: + required: true + + - type: input + id: node-version + attributes: + label: Node.js version + placeholder: "e.g., 22.12.0" + validations: + required: true + + - type: input + id: ffmpeg-version + attributes: + label: FFmpeg version + placeholder: "e.g., 7.1" + validations: + required: true + + - type: input + id: hyperframes-version + attributes: + label: Hyperframes version + placeholder: "e.g., 0.1.0" + validations: + required: true + + - type: textarea + id: additional + attributes: + label: Additional context + description: Any other context, logs, or screenshots. diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index fefce97d7..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -name: Bug Report -about: Report a bug to help us improve -title: "" -labels: bug -assignees: "" ---- - -## Describe the bug - -A clear description of what the bug is. - -## To reproduce - -Steps to reproduce the behavior: - -1. ... -2. ... -3. ... - -## Expected behavior - -What you expected to happen. - -## Environment - -- OS: [e.g., macOS 15, Ubuntu 24.04, Windows 11] -- Node.js version: [e.g., 22.x] -- FFmpeg version: [e.g., 7.x] -- Hyperframes version: [e.g., 0.1.0] - -## Additional context - -Any other context, screenshots, or error logs. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..3ba13e0ce --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 000000000..df752543a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,36 @@ +name: Feature Request +description: Suggest an idea for Hyperframes +labels: ["enhancement"] +body: + - type: markdown + attributes: + value: | + Thanks for suggesting an improvement! Please search [existing issues](https://github.com/heygen-com/hyperframes/issues) first to avoid duplicates. + + - type: textarea + id: problem + attributes: + label: Problem + description: What problem does this solve? What's the use case? + validations: + required: true + + - type: textarea + id: solution + attributes: + label: Proposed solution + description: How should it work? Include code examples or mockups if helpful. + validations: + required: true + + - type: textarea + id: alternatives + attributes: + label: Alternatives considered + description: Any alternative approaches you've thought about. + + - type: textarea + id: additional + attributes: + label: Additional context + description: Any other context, mockups, or examples. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index d78f7dc1d..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -name: Feature Request -about: Suggest an idea for Hyperframes -title: "" -labels: enhancement -assignees: "" ---- - -## Problem - -What problem does this solve? What's the use case? - -## Proposed solution - -How should it work? - -## Alternatives considered - -Any alternative approaches you've thought about. - -## Additional context - -Any other context, mockups, or examples.