From 96eb660b29e029fd712438029194ab97c79c45f9 Mon Sep 17 00:00:00 2001 From: Tyler Koenig Date: Thu, 4 Jun 2026 20:28:42 -0400 Subject: [PATCH 1/2] chore: add bug report and feature request issue templates --- .gitea/issue_template/bug_report.yaml | 50 ++++++++++++++++++++++ .gitea/issue_template/feature_request.yaml | 42 ++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 .gitea/issue_template/bug_report.yaml create mode 100644 .gitea/issue_template/feature_request.yaml diff --git a/.gitea/issue_template/bug_report.yaml b/.gitea/issue_template/bug_report.yaml new file mode 100644 index 0000000..110899b --- /dev/null +++ b/.gitea/issue_template/bug_report.yaml @@ -0,0 +1,50 @@ +name: Bug Report +about: Something isn't working as expected +labels: + - bug +body: + - type: textarea + id: description + attributes: + label: Description + description: What happened? + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: Steps to Reproduce + description: Minimal steps to trigger the bug. + placeholder: | + 1. Run `uptop serve` + 2. Navigate to ... + 3. See error + validations: + required: true + - type: textarea + id: expected + attributes: + label: Expected Behavior + description: What should have happened instead? + validations: + required: true + - type: textarea + id: environment + attributes: + label: Environment + description: OS, Go version, uptop version, terminal emulator. + 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 + validations: + required: false diff --git a/.gitea/issue_template/feature_request.yaml b/.gitea/issue_template/feature_request.yaml new file mode 100644 index 0000000..67315bb --- /dev/null +++ b/.gitea/issue_template/feature_request.yaml @@ -0,0 +1,42 @@ +name: Feature Request +about: Suggest a new feature or enhancement +labels: + - feature +body: + - type: textarea + id: description + attributes: + label: Description + description: What do you want and why? + validations: + required: true + - type: textarea + id: motivation + attributes: + label: Motivation + description: What problem does this solve? What workflow does it improve? + 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: + required: false -- 2.52.0 From 965a8643438b90d5d87868d9f6d3c0a07ba40cb0 Mon Sep 17 00:00:00 2001 From: Tyler Koenig Date: Fri, 5 Jun 2026 11:01:18 -0400 Subject: [PATCH 2/2] chore: streamline issue templates, redirect GitHub issues to Gitea MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .gitea/issue_template/bug_report.yaml | 50 ++++++++++------------ .gitea/issue_template/feature_request.yaml | 36 +++------------- .github/ISSUE_TEMPLATE/config.yml | 8 ++++ 3 files changed, 38 insertions(+), 56 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.gitea/issue_template/bug_report.yaml b/.gitea/issue_template/bug_report.yaml index 110899b..1aff83a 100644 --- a/.gitea/issue_template/bug_report.yaml +++ b/.gitea/issue_template/bug_report.yaml @@ -3,48 +3,44 @@ about: Something isn't working as expected labels: - bug 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 id: description attributes: - label: Description - description: What happened? + label: 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: required: true - type: textarea id: reproduction attributes: - label: Steps to Reproduce - description: Minimal steps to trigger the bug. + label: Steps to reproduce placeholder: | 1. Run `uptop serve` - 2. Navigate to ... - 3. See error - validations: - required: true - - type: textarea - id: expected - attributes: - label: Expected Behavior - description: What should have happened instead? + 2. Wait ~10 seconds + 3. TUI crashes with panic validations: required: true - type: textarea id: environment attributes: - label: Environment - description: OS, Go version, uptop version, terminal emulator. - 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. + label: Environment & logs + description: Output of `uptop version`, OS, terminal. Paste any errors below. render: shell + placeholder: | + uptop version 2026.06.1 + OS: Debian 13 + Terminal: Ghostty + + [paste any error output here] validations: required: false diff --git a/.gitea/issue_template/feature_request.yaml b/.gitea/issue_template/feature_request.yaml index 67315bb..6249b85 100644 --- a/.gitea/issue_template/feature_request.yaml +++ b/.gitea/issue_template/feature_request.yaml @@ -4,39 +4,17 @@ labels: - feature body: - type: textarea - id: description + id: problem attributes: - label: Description - description: What do you want and why? + label: Problem + description: What's frustrating or missing? + placeholder: I find myself always needing to ... validations: required: true - type: textarea - id: motivation + id: solution attributes: - label: Motivation - description: What problem does this solve? What workflow does it improve? - 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 + label: Proposed solution + description: How would you like this to work? validations: required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..c83f8db --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -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 -- 2.52.0