Skip to content

Commit

Permalink
Update Issue Templates to Forms (#220)
Browse files Browse the repository at this point in the history
* Add forms for various types of issues
  • Loading branch information
jriddle-linode authored Sep 24, 2021
1 parent 6c02cad commit 130b0f8
Show file tree
Hide file tree
Showing 5 changed files with 93 additions and 34 deletions.
33 changes: 0 additions & 33 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,34 +1 @@
## General:

* [ ] Have you removed all sensitive information, including but not limited to access keys and passwords?
* [ ] Have you checked to ensure there aren't other open or closed [Pull Requests](../../pulls) for the same bug/feature/question?

----

## Feature Requests:
* [ ] Have you explained your rationale for why this feature is needed?
* [ ] Have you offered a proposed implementation/solution?

----

## Bug Reporting

### Expected Behavior

### Actual Behavior

### Steps to Reproduce the Problem

1.
1.
1.

### Environment Specifications

#### Screenshots, Code Blocks, and Logs

#### Additional Notes

----

The [Linode Community](https://www.linode.com/community/questions/) is a great place to get additional support.
48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Bug Report
description: File a bug report
title: "[Bug]: "
labels: ["bug"]
body:
- type: input
id: go-version
attributes:
label: go Version
description: What version of go are you running? `go version`
placeholder: go version go1.17.1 linux/amd64
validations:
required: true
- type: input
id: linodego-version
attributes:
label: API Wrapper Version
description: What version of our wrapper are you running?
placeholder: github.com/linode/linodego v1.0.0
validations:
required: true
- type: textarea
id: code
attributes:
render: go
label: Code Snippet
description: If your files are too long for a short code snippet please use GitHub Gists
- type: textarea
id: expected
attributes:
label: Expected Behavior
description: What should have happened?
validations:
required: true
- type: textarea
id: actual
attributes:
label: Actual Behavior
description: What actually happened?
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: Steps to Reproduce
description: List any custom configurations and the steps to reproduce this error
validations:
required: true
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/enhancement.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Enhancement
description: Request a feature
title: "[Feature]: "
labels: ["enhancement"]
body:
- type: textarea
id: description
attributes:
label: Description
description: What would you like this feature to do in detail?
validations:
required: true
- type: textarea
id: example
attributes:
label: Example Code
description: How would you use this feature in some example code?
placeholder: |
```go
var := linodego.NewFeature()
```
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/help.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Help
description: You're pretty sure it's not a bug but you can't figure out why it's not working
title: "[Help]: "
labels: ["help wanted"]
body:
- type: textarea
id: description
attributes:
label: Description
description: What would you like this feature to do in detail?
validations:
required: true
- type: textarea
id: example
attributes:
label: Example Code
description: How would you use this feature in some example code?
placeholder: |
```go
var := linodego.NewFeature()
```
4 changes: 3 additions & 1 deletion .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@
- name: good first issue
description: Low hanging fruit.
color: 7057ff

- name: help wanted
description: I need some help.
color: 008672

0 comments on commit 130b0f8

Please sign in to comment.