Skip to content

Commit

Permalink
Add Discussion and Issues templates/config (#1238)
Browse files Browse the repository at this point in the history
* Add new config for issues and use discussions instead 
* Add discusssion templates in order to improve the information flow
  • Loading branch information
oscarmcm committed Dec 19, 2022
1 parent 1b03661 commit 2aaae3b
Show file tree
Hide file tree
Showing 4 changed files with 94 additions and 16 deletions.
51 changes: 51 additions & 0 deletions .github/DISCUSSION_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
title: "[Bug] "
labels: ["Q&A"]
body:
- type: markdown
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is.
validations:
required: true
- type: markdown
attributes:
label: Steps to reproduce.
value: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
...
validations:
required: true
- type: markdown
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
- type: dropdown
attributes:
label: Python Version
options:
- 3.7
- 3.8
- 3.9
- 3.10
- 3.11
validations:
required: true
- type: dropdown
attributes:
label: Django Version
options:
- 2.2
- 3.0
- 3.1
- 3.2
- 4.0
- 4.1
- 4.2
validations:
required: true
- type: markdown
attributes:
value: |
Add any other context about the problem here.
32 changes: 32 additions & 0 deletions .github/DISCUSSION_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
title: "[Feature] "
labels: ["Ideas"]
body:
- type: checkboxes
attributes:
label: I've already checked other feature proposals
required: true
- type: dropdown
attributes:
label: Is your feature request related to a problem?
options:
- Yes
- No
- type: markdown
attributes:
label: Please describe your feature.
required: true
value: |
A clear and concise description of what the problem is. Ex. I'm always frustrated when ...
- type: markdown
attributes:
label: Describe the solution you'd like.
description: A clear and concise description of what you want to happen.
required: true
- type: markdown
attributes:
label: Describe alternatives you've considered.
description: A clear and concise description of any alternative solutions or features you've considered.
- type: markdown
attributes:
label: Additional context.
description: Add any other context or screenshots about the feature request here.
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Bug Report
url: https://github.com/django-wiki/django-wiki/discussions/new
about: Submit a GitHub issue
- name: Feature Request
url: https://github.com/django-wiki/django-wiki/discussions/new
about: Request a feature to be added to the platform
- name: Ask a Question
url: https://github.com/django-wiki/django-wiki/discussions/new
about: Ask questions and discuss with other community members
16 changes: 0 additions & 16 deletions .github/ISSUE_TEMPLATES/bug_report.md

This file was deleted.

0 comments on commit 2aaae3b

Please sign in to comment.