feat: add issue templates

This commit is contained in:
Neil Vallecer 2026-06-02 02:41:32 +08:00
parent ea58887bfa
commit c7ca5aedfc
3 changed files with 121 additions and 0 deletions

65
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View file

@ -0,0 +1,65 @@
name: Bug report
description: Report something that's broken
title: "[Bug]: "
labels: ["bug"]
body:
- type: textarea
id: description
attributes:
label: What happened?
description: Be specific. Include error messages if any.
validations:
required: true
- type: textarea
id: repro
attributes:
label: Steps to reproduce
description: Minimal steps to trigger the bug.
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected behavior
description: What should have happened instead?
placeholder: "I expected zot to..."
validations:
required: true
- type: input
id: version
attributes:
label: Version
description: "e.g. 0.0.1 — run `zot --version` to check"
validations:
required: true
- type: dropdown
id: os
attributes:
label: Operating system
options:
- macOS
- Linux
- Windows
- Other
validations:
required: true
- type: textarea
id: logs
attributes:
label: Logs / screenshots
description: |
If applicable, paste relevant terminal output or attach screenshots.
render: shell
- type: checkboxes
id: checks
attributes:
label: Before submitting
options:
- label: I searched existing issues and didn't find a duplicate
required: true

1
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View file

@ -0,0 +1 @@
blank_issues_enabled: false

View file

@ -0,0 +1,55 @@
name: Feature request
description: Suggest a new feature or improvement
title: "[Feature]: "
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Thanks for the idea! A short conversation here saves everyone time before any code is written.
Zot is intentionally focused — not every idea will make it in. A "no" is not a judgment of the idea.
- type: textarea
id: problem
attributes:
label: What problem does this solve?
description: |
The **why**, not the **what**. What were you trying to do when you wished this existed?
placeholder: "When I'm working with multiple providers, I want to switch between them without restarting zot."
validations:
required: true
- type: textarea
id: proposal
attributes:
label: Proposed solution
description: How would you imagine using this? UX sketch, CLI flags, behavior, anything that helps us picture it.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives considered
description: What workarounds have you tried? What other tools handle this well?
placeholder: "I tried X, but it doesn't solve Y because..."
- type: dropdown
id: contribution
attributes:
label: Are you willing to contribute the implementation?
options:
- "Yes, with guidance"
- "Yes, I can do it"
- "No, just suggesting"
validations:
required: true
- type: checkboxes
id: checks
attributes:
label: Before submitting
options:
- label: I searched existing issues and didn't find a duplicate
required: true