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.
pull/74157/head
Sviatoslav Sydorenko 4 years ago committed by Sviatoslav Sydorenko
parent 0dd2327bca
commit 282dd1bbc7

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

@ -1,8 +1,6 @@
--- ---
name: 📝 Documentation Report name: 📝 Documentation Report
description: Ask us about docs 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: body:
- type: markdown - type: markdown
@ -87,23 +85,10 @@ body:
required: true required: true
- type: checkboxes - type: textarea
attributes: attributes:
label: Code of Conduct label: Additional Information
description: | description: |
Read the [Ansible Code of Conduct][CoC] first.
[CoC]: https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_form--documentation_report.yml
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. 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. **HINT:** You can paste https://gist.github.com links for larger files.
@ -112,4 +97,16 @@ body:
to understand X. to understand X.
validations: validations:
required: true required: true
- type: checkboxes
attributes:
label: Code of Conduct
description: |
Read the [Ansible Code of Conduct][CoC] first.
[CoC]: https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_form--documentation_report.yml
options:
- label: I agree to follow the Ansible Code of Conduct
required: true
... ...

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

Loading…
Cancel
Save