chore: streamline issue templates, redirect GitHub issues to Gitea
Simplify bug report (5 fields → 3 + search checkbox) and feature request (4 fields → 2). Add GitHub ISSUE_TEMPLATE config that disables blank issues and redirects to Gitea.
This commit was merged in pull request #90.
This commit is contained in:
@@ -3,48 +3,44 @@ about: Something isn't working as expected
|
|||||||
labels:
|
labels:
|
||||||
- bug
|
- bug
|
||||||
body:
|
body:
|
||||||
|
- type: checkboxes
|
||||||
|
id: search
|
||||||
|
attributes:
|
||||||
|
label: Before filing
|
||||||
|
options:
|
||||||
|
- label: I searched existing issues and didn't find a match
|
||||||
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: description
|
id: description
|
||||||
attributes:
|
attributes:
|
||||||
label: Description
|
label: What happened?
|
||||||
description: What happened?
|
description: Include what you expected to happen instead.
|
||||||
|
placeholder: |
|
||||||
|
When I run `uptop serve`, the TUI crashes after 10 seconds.
|
||||||
|
I expected it to keep running and display monitor status.
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: reproduction
|
id: reproduction
|
||||||
attributes:
|
attributes:
|
||||||
label: Steps to Reproduce
|
label: Steps to reproduce
|
||||||
description: Minimal steps to trigger the bug.
|
|
||||||
placeholder: |
|
placeholder: |
|
||||||
1. Run `uptop serve`
|
1. Run `uptop serve`
|
||||||
2. Navigate to ...
|
2. Wait ~10 seconds
|
||||||
3. See error
|
3. TUI crashes with panic
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: textarea
|
|
||||||
id: expected
|
|
||||||
attributes:
|
|
||||||
label: Expected Behavior
|
|
||||||
description: What should have happened instead?
|
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: environment
|
id: environment
|
||||||
attributes:
|
attributes:
|
||||||
label: Environment
|
label: Environment & logs
|
||||||
description: OS, Go version, uptop version, terminal emulator.
|
description: Output of `uptop version`, OS, terminal. Paste any errors below.
|
||||||
placeholder: |
|
|
||||||
- OS: Debian 13
|
|
||||||
- Go: 1.26
|
|
||||||
- uptop: 2026.06.1
|
|
||||||
- Terminal: Ghostty
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
- type: textarea
|
|
||||||
id: logs
|
|
||||||
attributes:
|
|
||||||
label: Relevant Logs
|
|
||||||
description: Paste any error output or logs.
|
|
||||||
render: shell
|
render: shell
|
||||||
|
placeholder: |
|
||||||
|
uptop version 2026.06.1
|
||||||
|
OS: Debian 13
|
||||||
|
Terminal: Ghostty
|
||||||
|
|
||||||
|
[paste any error output here]
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: false
|
||||||
|
|||||||
@@ -4,39 +4,17 @@ labels:
|
|||||||
- feature
|
- feature
|
||||||
body:
|
body:
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: description
|
id: problem
|
||||||
attributes:
|
attributes:
|
||||||
label: Description
|
label: Problem
|
||||||
description: What do you want and why?
|
description: What's frustrating or missing?
|
||||||
|
placeholder: I find myself always needing to ...
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: motivation
|
id: solution
|
||||||
attributes:
|
attributes:
|
||||||
label: Motivation
|
label: Proposed solution
|
||||||
description: What problem does this solve? What workflow does it improve?
|
description: How would you like this to work?
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: textarea
|
|
||||||
id: acceptance
|
|
||||||
attributes:
|
|
||||||
label: Acceptance Criteria
|
|
||||||
description: How do we know this is done?
|
|
||||||
placeholder: |
|
|
||||||
- [ ] Criterion 1
|
|
||||||
- [ ] Criterion 2
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
- type: dropdown
|
|
||||||
id: scope
|
|
||||||
attributes:
|
|
||||||
label: Area
|
|
||||||
options:
|
|
||||||
- TUI
|
|
||||||
- API / Server
|
|
||||||
- Monitoring Engine
|
|
||||||
- Alerts
|
|
||||||
- Distribution / Packaging
|
|
||||||
- Documentation
|
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: false
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
blank_issues_enabled: false
|
||||||
|
contact_links:
|
||||||
|
- name: Report a Bug
|
||||||
|
url: https://gitea.lerkolabs.com/lerkolabs/uptop/issues/new?template=bug_report.yaml
|
||||||
|
about: Report bugs on our Gitea instance
|
||||||
|
- name: Request a Feature
|
||||||
|
url: https://gitea.lerkolabs.com/lerkolabs/uptop/issues/new?template=feature_request.yaml
|
||||||
|
about: Suggest features on our Gitea instance
|
||||||
Reference in New Issue
Block a user