From 5ebe46abb7eb820fae8fea28717230dc400b155d Mon Sep 17 00:00:00 2001 From: Michael Ripperger Date: Tue, 17 Dec 2024 13:20:01 -0600 Subject: [PATCH 1/2] Added issue templates --- .github/ISSUE_TEMPLATE/bug-report.yml | 57 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature-request.yml | 32 ++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/feature-request.yml diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 0000000..de2a87a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,57 @@ +name: Bug Report +description: Create a report to help us improve +body: + - type: input + attributes: + label: Version + description: What version of `tesseract_qt` are you using? + placeholder: Post a tag (e.g., `0.25.0`) or commit hash (e.g., `4ccd10f`) + validations: + required: True + + - type: dropdown + attributes: + label: OS Version + description: What OS version are you running? + options: + - Ubuntu 20.04 + - Ubuntu 22.04 + - Ubuntu 24.04 + - MacOS 12 + - MacOS 14 + - Windows (MSVC 2019) + - Windows (MSVC 2022) + - Other (please specify in the bug description) + validations: + required: True + + - type: textarea + attributes: + label: Describe the bug + placeholder: | + A clear and concise description of the bug + validations: + required: True + + - type: textarea + attributes: + label: To Reproduce + placeholder: | + Describe the steps to reproduce the behavior + validations: + required: True + + - type: textarea + attributes: + label: Expected behavior + placeholder: | + A clear and concise description of what you expected to happen. + validations: + required: True + + - type: textarea + attributes: + label: Relevant log output + placeholder: | + Paste any relevant log output here (will be rendered as shell text) + render: shell diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 0000000..3c90dcc --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,32 @@ +name: Feature Request +description: Suggest an idea for this project +body: + - type: textarea + attributes: + label: Is your feature request related to a problem? Please describe. + placeholder: | + A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + validations: + required: True + + - type: textarea + attributes: + label: Describe the solution you'd like + placeholder: | + A clear and concise description of what you want to happen. + validations: + required: True + + - type: textarea + attributes: + label: Describe alternatives you've considered + placeholder: | + A clear and concise description of any alternative solutions or features you've considered. + validations: + required: True + + - type: textarea + attributes: + label: Additional context + placeholder: | + Add any other context or screenshots about the feature request here. From 24e8f02ca8c9d684205a32d1eb72a8bc3c9055e0 Mon Sep 17 00:00:00 2001 From: Michael Ripperger Date: Tue, 17 Dec 2024 13:22:03 -0600 Subject: [PATCH 2/2] Added labels to issue templates --- .github/ISSUE_TEMPLATE/bug-report.yml | 1 + .github/ISSUE_TEMPLATE/feature-request.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index de2a87a..785be1e 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -1,5 +1,6 @@ name: Bug Report description: Create a report to help us improve +labels: ["bug"] body: - type: input attributes: diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 3c90dcc..0396c75 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -1,5 +1,6 @@ name: Feature Request description: Suggest an idea for this project +labels: ["enhancement"] body: - type: textarea attributes: