Skip to content

Commit

Permalink
docs: Switch issue and PR templates to YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixpereira committed Jan 19, 2024
1 parent 99f5c8a commit f95b1dc
Show file tree
Hide file tree
Showing 6 changed files with 119 additions and 73 deletions.
33 changes: 0 additions & 33 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

53 changes: 53 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Bug Report
description: File a bug report
title: "[Bug]"

body:
- type: textarea
attributes:
label: Description of the Bug
description: What's the issue you encountered?
validations:
required: true

- type: textarea
attributes:
label: Reproduction Steps
description: How can the issue be reproduced?
validations:
required: true

- type: textarea
attributes:
label: Expected Behaviour
description: What do you expect to happen?
validations:
required: true

- type: input
attributes:
label: OS
placeholder: "e.g. Windows 11"
validations:
required: true

- type: input
attributes:
label: Browser
placeholder: "e.g. Chrome"
validations:
required: false

- type: input
attributes:
label: Device
placeholder: "e.g. iPhone 15"
validations:
required: false

- type: textarea
attributes:
label: Additional Notes
description: Add any other notes or screenshots about the bug here.
validations:
required: false
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature-request.md

This file was deleted.

31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Feature Request
description: Suggest a new feature for the CS Club website.

body:
- type: textarea
attributes:
label: Overview
description: Include the basic, high-level concepts for this feature here.
validations:
required: true

- type: textarea
attributes:
label: Details
description: These may include specific methods of implementation, design considerations, or any other technical details.
validations:
required: true

- type: textarea
attributes:
label: Why would this feature be useful?
description: A clear and concise description of why this feature would improve the CS Club website.
validations:
required: true

- type: textarea
attributes:
label: Additional Notes
description: Add any other notes or screenshots about the feature request here.
validations:
required: false
20 changes: 0 additions & 20 deletions .github/pull_request_template.md

This file was deleted.

35 changes: 35 additions & 0 deletions .github/pull_request_template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Pull Request
about: Create a pull request.
title: "[Pull Request]"

---

body:
- type: textarea
attributes:
label: Description
description: Briefly describe the purpose of this pull request.
validations:
required: true

- type: textarea
attributes:
label: Changes Made
description: Provide a list of changes made in this pull request.
validations:
required: true

- type: textarea
attributes:
label: Related Issues
description: Reference any related issues using keywords like "Fixes #issue-number".
validations:
required: false

- type: textarea
attributes:
label: Additional Notes
description: Add any other notes or screenshots that might be helpful for the reviewers.
validations:
required: false

0 comments on commit f95b1dc

Please sign in to comment.