From 583d422351a19fcc1b78ad12235a488ee338f4cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnaud=20He=CC=81ritier?= Date: Mon, 15 Jun 2026 21:38:41 +0200 Subject: [PATCH] chore: convert bug/feature issue templates to issue forms Convert the markdown bug-/feature- templates to GitHub issue forms (.yml), preserving the existing sections as structured fields and keeping the native issue type (Bug / Enhancement). --- .github/ISSUE_TEMPLATE/bug-.md | 53 -------------- .github/ISSUE_TEMPLATE/bug_report.yml | 85 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature-.md | 49 ------------- .github/ISSUE_TEMPLATE/feature_request.yml | 62 ++++++++++++++++ 4 files changed, 147 insertions(+), 102 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug-.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature-.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug-.md b/.github/ISSUE_TEMPLATE/bug-.md deleted file mode 100644 index 289ce9b19..000000000 --- a/.github/ISSUE_TEMPLATE/bug-.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -name: Bug Report -about: Report a defect, crash, or unexpected behavior -title: "" -type: Bug -assignees: "" ---- - -## Description - -A clear and concise description of what the bug is. - -## Expected Behavior - -What you expected to happen. - -## Actual Behavior - -What actually happened instead. - -## Steps to Reproduce - -Detailed steps to reproduce the bug: - -1. -2. -3. - -## Environment - -- **Docker Agent Version**: (output of `docker agent --version`) -- **OS & Terminal**: macOS / Linux / Windows + terminal app -- **Model Used**: (e.g., claude-opus-4-1, gpt-4, etc.) - -## Error Output - -If applicable, paste the full error message or stack trace: - -``` - -``` - -## Screenshots - -If this is a visual issue (TUI rendering, output formatting, etc.), add screenshots. - -## Additional Context - -Any other information that might help us debug: -- Recent changes you made to your agent config -- Tools or MCPs being used -- Whether this is a regression (used to work in a previous version) -- Links to related issues diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000..37cc14f50 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,85 @@ +name: Bug Report +description: Report a defect, crash, or unexpected behavior +title: "" +type: Bug +body: + - type: textarea + id: description + attributes: + label: Description + description: A clear and concise description of what the bug is. + validations: + required: true + - type: textarea + id: expected + attributes: + label: Expected Behavior + description: What you expected to happen. + validations: + required: false + - type: textarea + id: actual + attributes: + label: Actual Behavior + description: What actually happened instead. + validations: + required: false + - type: textarea + id: reproduce + attributes: + label: Steps to Reproduce + description: Detailed steps to reproduce the bug. + placeholder: | + 1. + 2. + 3. + validations: + required: false + - type: input + id: version + attributes: + label: Docker Agent version + description: Output of `docker agent --version`. + validations: + required: false + - type: input + id: os-terminal + attributes: + label: OS & terminal + description: e.g. macOS / Linux / Windows + terminal app. + validations: + required: false + - type: input + id: model + attributes: + label: Model used + description: e.g. claude-opus-4-1, gpt-4, etc. + validations: + required: false + - type: textarea + id: error-output + attributes: + label: Error output + description: If applicable, paste the full error message or stack trace. + render: shell + validations: + required: false + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: If this is a visual issue (TUI rendering, output formatting, etc.), add screenshots. + validations: + required: false + - type: textarea + id: context + attributes: + label: Additional context + description: | + Any other information that might help us debug: + - Recent changes to your agent config + - Tools or MCPs being used + - Whether this is a regression (used to work in a previous version) + - Links to related issues + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/feature-.md b/.github/ISSUE_TEMPLATE/feature-.md deleted file mode 100644 index d8510c7e5..000000000 --- a/.github/ISSUE_TEMPLATE/feature-.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -name: Feature Request -about: Suggest a new feature or improvement -title: "" -type: Enhancement -assignees: "" ---- - -## Overview - -Describe the feature or improvement you'd like to see. Be as specific as possible. - -## Motivation - -Why is this important? What problem does it solve? - -Examples: -- "This would let me do..." -- "Currently, I have to work around this by..." -- "This is needed for..." - -## Use Cases - -Describe concrete scenarios where this feature would help: - -1. -2. -3. - -## Proposed Solution - -If you have ideas on how to implement this, describe them here. - -Examples: -- New CLI flag: `--option value` -- New agent config field: `agents.root.new_field: value` -- New tool: `xyz_tool` - -## Alternatives - -Are there any workarounds available currently? What are the alternatives? - -## Related Issues - -Link any related issues or discussions. - -## Additional Context - -Any other information relevant to this feature request. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 000000000..235a2e181 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,62 @@ +name: Feature Request +description: Suggest a new feature or improvement +title: "" +type: Enhancement +body: + - type: textarea + id: overview + attributes: + label: Overview + description: Describe the feature or improvement you'd like to see. Be as specific as possible. + validations: + required: true + - type: textarea + id: motivation + attributes: + label: Motivation + description: | + Why is this important? What problem does it solve? + Examples: "This would let me do..."; "Currently, I have to work around this by..."; "This is needed for..." + validations: + required: true + - type: textarea + id: use-cases + attributes: + label: Use cases + description: Describe concrete scenarios where this feature would help. + placeholder: | + 1. + 2. + 3. + validations: + required: false + - type: textarea + id: proposed-solution + attributes: + label: Proposed solution + description: | + If you have ideas on how to implement this, describe them here. + Examples: new CLI flag `--option value`; new agent config field `agents.root.new_field: value`; new tool `xyz_tool`. + validations: + required: false + - type: textarea + id: alternatives + attributes: + label: Alternatives + description: Are there any workarounds available currently? What are the alternatives? + validations: + required: false + - type: textarea + id: related + attributes: + label: Related issues + description: Link any related issues or discussions. + validations: + required: false + - type: textarea + id: context + attributes: + label: Additional context + description: Any other information relevant to this feature request. + validations: + required: false