From e79cbf7e63997f0400bb70b7452c519f1a979528 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Tue, 2 Jan 2024 08:07:09 +0100 Subject: [PATCH] feat: update issue template (#5140) --- .github/ISSUE_TEMPLATE/bug-report.md | 44 ----------------------- .github/ISSUE_TEMPLATE/bug-report.yml | 37 +++++++++++++++++++ .github/ISSUE_TEMPLATE/dev-discussion.md | 29 --------------- .github/ISSUE_TEMPLATE/dev-discussion.yml | 18 ++++++++++ 4 files changed, 55 insertions(+), 73 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug-report.md create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml delete mode 100644 .github/ISSUE_TEMPLATE/dev-discussion.md create mode 100644 .github/ISSUE_TEMPLATE/dev-discussion.yml diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md deleted file mode 100644 index 5f3276223..000000000 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -name: Bug report -about: Create a bug report to help us improve -title: '' -labels: '' -assignees: '' - ---- - - - -### Perform all steps below and tick them with [x] -- [ ] Read the [FAQ](https://docs.lvgl.io/master/intro/index.html#faq) -- [ ] Check the related part of the [Documentation](https://docs.lvgl.io/) -- [ ] Update lvgl to the latest version -- [ ] Reproduce the issue in a [Simulator](https://docs.lvgl.io/latest/en/html/get-started/pc-simulator.html) - -### Describe the bug - - -### To Reproduce - - -### Expected behavior - - -### Screenshots or video - diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 000000000..48498d188 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,37 @@ +--- +name: Bug Report +description: File a bug report +body: + - type: markdown + id: intro + attributes: + value: > + Be sure to read the + [FAQ](https://docs.lvgl.io/master/intro/index.html#faq), and the realted + part of the [Documentation](https://docs.lvgl.io/) first. + - type: input + id: version + attributes: + label: LVGL version + description: See in `lvgl.h` or use `git describe` + placeholder: e.g. v9.0.0 + validations: + required: true + - type: textarea + id: what-happened + attributes: + label: What happened? + description: Also tell us, what did you expect to happen? + validations: + required: true + - type: textarea + id: code-snippet + attributes: + label: How to reproduce? + description: If applicable add a code snippet to reproduce the issue + placeholder: | + ```c + your code here + ``` + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/dev-discussion.md b/.github/ISSUE_TEMPLATE/dev-discussion.md deleted file mode 100644 index 7c9f6c088..000000000 --- a/.github/ISSUE_TEMPLATE/dev-discussion.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -name: Development discussion -about: Discussion strictly related to the development of the LVGL. -title: '' -labels: '' -assignees: '' - ---- - - -### Introduce the problem - - -### Examples and cases - - -### Suggested solution - diff --git a/.github/ISSUE_TEMPLATE/dev-discussion.yml b/.github/ISSUE_TEMPLATE/dev-discussion.yml new file mode 100644 index 000000000..2c6cbb9d2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/dev-discussion.yml @@ -0,0 +1,18 @@ +--- +name: Development discussion +description: Share your ideas related to development of LVGL +body: + - type: textarea + id: what-happened + attributes: + label: Introduce the problem + placeholder: A clear and concise description of the problem. Also mention some examples and use cases if possible. + validations: + required: true + - type: textarea + id: solution + attributes: + label: Proposal + placeholder: If you already have an idea about the solution share it here + validations: + required: false