Drop deprecated issue_body from issue forms

This change removes the deprecated attribute and also adds an explicit
textarea at the end of the docs report form to replace it.
This commit is contained in:
Sviatoslav Sydorenko 2021-04-02 21:41:36 +02:00 committed by Sviatoslav Sydorenko
parent 0dd2327bca
commit 282dd1bbc7
3 changed files with 14 additions and 19 deletions

View file

@ -1,7 +1,6 @@
---
name: 🐛 Bug report
description: Create a report to help us improve
issue_body: false # default: true, adds a classic WSYWIG textarea, if on
body:
- type: markdown

View file

@ -1,8 +1,6 @@
---
name: 📝 Documentation Report
description: Ask us about docs
# NOTE: issue body is enabled to allow screenshots
issue_body: true # default: true, adds a classic WSYWIG textarea, if on
body:
- type: markdown
@ -87,6 +85,20 @@ body:
required: true
- type: textarea
attributes:
label: Additional Information
description: |
Describe how this improves the documentation, e.g. before/after situation or screenshots.
**HINT:** You can paste https://gist.github.com links for larger files.
placeholder: >-
When the improvement is applied, it makes it more straightforward
to understand X.
validations:
required: true
- type: checkboxes
attributes:
label: Code of Conduct
@ -97,19 +109,4 @@ body:
options:
- label: I agree to follow the Ansible Code of Conduct
required: true
- type: markdown
attributes:
value: |
**Additional Information**
Describe how this improves the documentation, e.g. before/after situation or screenshots.
**HINT:** You can paste https://gist.github.com links for larger files.
placeholder: >-
When the improvement is applied, it makes it more straightforward
to understand X.
validations:
required: true
...

View file

@ -1,7 +1,6 @@
---
name: ✨ Feature request
description: Suggest an idea for this project
issue_body: false # default: true, adds a classic WSYWIG textarea, if on
body:
- type: markdown