From 4087ee0cac18068499b90a29c167d4caae97bc9c Mon Sep 17 00:00:00 2001 From: M57 Date: Sun, 21 Jun 2026 10:39:27 +0300 Subject: [PATCH] fix: switch issue templates to YAML forms, remove broken markdown templates Markdown-based issue templates with frontmatter were silently ignored by GitHub (likely an empty-string assignees field or frontmatter format issue). Switched to the newer YAML-based issue forms which use a structured schema format that GitHub explicitly supports. - bug_report.yml: structured form with required fields for description, reproduction steps, environment, screenshots - feature_request.yml: form with problem/motivation, proposed solution, alternatives, mockups - config.yml: unchanged, keeps blank_issues_enabled: false --- .github/ISSUE_TEMPLATE/bug_report.md | 41 ----------------- .github/ISSUE_TEMPLATE/bug_report.yml | 53 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 32 ------------- .github/ISSUE_TEMPLATE/feature_request.yml | 43 ++++++++++++++++++ 4 files changed, 96 insertions(+), 73 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 224d0887..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -name: 🐛 Bug report -description: Report a bug or unexpected behaviour -title: '[bug] ' -labels: bug ---- - -## Describe the bug - - - -## To reproduce - -Steps to reproduce the behaviour: - -1. Go to '…' -2. Tap on '…' -3. Scroll to '…' -4. See error - -## Expected behaviour - - - -## Screenshots / screen recordings - - - -## Environment - -- Device: -- Android version: -- App version: -- Hermes dashboard version: - -## Additional context - - diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..c1c6586f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,53 @@ +name: 🐛 Bug report +description: Report a bug or unexpected behaviour +title: '[bug] ' +labels: ['bug'] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to report a bug! Please fill in the details below. + - type: textarea + id: description + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is. + placeholder: What happened? What did you expect to happen? + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: To reproduce + description: Steps to reproduce the behaviour. + placeholder: | + 1. Go to '...' + 2. Tap on '...' + 3. Scroll to '...' + 4. See error + validations: + required: true + - type: textarea + id: screenshots + attributes: + label: Screenshots / screen recordings + description: If applicable, add screenshots or a screen recording to help explain the problem. + placeholder: Drag & drop images here + - type: textarea + id: environment + attributes: + label: Environment + description: Device, OS version, app version, and Hermes dashboard version. + placeholder: | + - Device: e.g. Pixel 8, Samsung Galaxy S24 + - Android version: e.g. Android 14, Android 15 + - App version: e.g. v1.2.3, or the commit SHA + - Hermes dashboard version: if known + validations: + required: true + - type: textarea + id: additional + attributes: + label: Additional context + description: Error logs, crash reports, adb logcat output, or anything else relevant. + placeholder: Remove any sensitive info (tokens, hostnames) before pasting. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 4de90c13..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -name: ✨ Feature request -description: Suggest an idea, enhancement, UX improvement, or refactor -title: '[enhancement] ' -labels: enhancement ---- - -## Problem / motivation - - - -## Proposed solution - - - -## Alternative approaches - - - -## Screenshots / mockups - - - -## Additional context - - diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..a13209f0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,43 @@ +name: ✨ Feature request +description: Suggest an idea, enhancement, UX improvement, or refactor +title: '[enhancement] ' +labels: ['enhancement'] +body: + - type: markdown + attributes: + value: | + Thanks for your suggestion! Please describe the feature or improvement you'd like to see. + - type: textarea + id: problem + attributes: + label: Problem / motivation + description: What problem would this solve? Why is this needed? + placeholder: | + e.g. It's frustrating when ... or The app currently lacks ... + validations: + required: true + - type: textarea + id: solution + attributes: + label: Proposed solution + description: A clear description of what you want to happen. + placeholder: Describe your ideal solution here. + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: Alternative approaches + description: Any alternative solutions or features you've considered. + placeholder: What else could work? + - type: textarea + id: mockups + attributes: + label: Screenshots / mockups + description: Sketches, screenshots from other apps, or wireframes. + placeholder: Drag & drop images here + - type: textarea + id: additional + attributes: + label: Additional context + description: Any other details, links, or relevant API endpoints.