Merge pull request #297 from teloxide/issue-templates

Add issue templates
This commit is contained in:
Temirkhan Myrzamadi 2020-10-21 03:31:48 +06:00 committed by GitHub
commit 4c76d24d40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 107 additions and 0 deletions

25
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View file

@ -0,0 +1,25 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---
I tried this code:
```rust
<code>
```
I expected to see this happen: _explanation_
Instead, this happened: _explanation_
## Meta
- `teloxide` version: <!-- (e.g.: `0.3.1`) -->
- rustc version:
```
<version>
```
<!-- use `rustc --version --verbose` to get it -->

View file

@ -0,0 +1,22 @@
---
name: Feature request
about: Suggest an idea for this project
title: 'Feature Request: <feature>'
labels: feature-request
assignees: Hirrolot, WaffleLapkin
---
<!-- Describe your idea here -->
### Pros
<!-- Describe good parts of your idea -->
### Cons
<!-- Describe bad parts of your idea -->
### Alternatives
<!-- Of any, describe alternatives here -->

30
.github/ISSUE_TEMPLATE/parse-error.md vendored Normal file
View file

@ -0,0 +1,30 @@
---
name: Parse error
about: Report issue with `teloxide` parsing of telegram response
title: 'Parse Error: <type or error description>'
labels: FIXME, bug
assignees: WaffleLapkin
---
When using `<...>` method I've got `RequestError::InvalidJson` error with the following description:
```text
<Description of the inner serde error here>
```
## Steps to reproduce
<!-- Steps to reproduce the issue - get the same error -->
## Meta
- `teloxide` version: <!-- (e.g.: `0.3.1`) -->
- rustc version:
```
<version>
```
<!-- use `rustc --version --verbose` to get it -->
### Additional context
<!-- Describe any additional context here, if needed-->

View file

@ -0,0 +1,30 @@
---
name: Unknown telegram error
about: You've found telegram error which is not known to teloxide
title: 'Unknown Error: <error description>'
labels: FIXME, bug, good first issue
assignees: ''
---
When using `<...>` method I've got `ApiError::Unknown` error with the following description:
```text
<Description of the error here (an inner string of ApiError::Unknown)>
```
## Steps to reproduce
<!-- Steps to reproduce the issue - get the same error -->
## Meta
- `teloxide` version: <!-- (e.g.: `0.3.1`) -->
- rustc version:
```
<version>
```
<!-- use `rustc --version --verbose` to get it -->
### Additional context
<!-- Describe any additional context here, if needed-->