mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Add issue templates
Add issue templates for - Bug reports - Feature requests - Unknown telegram errors - Parse errors
This commit is contained in:
parent
da13aedeb1
commit
5508911904
4 changed files with 107 additions and 0 deletions
25
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
25
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal 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 -->
|
22
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
22
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal 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
30
.github/ISSUE_TEMPLATE/parse-error.md
vendored
Normal 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-->
|
30
.github/ISSUE_TEMPLATE/unknown-telegram-error.md
vendored
Normal file
30
.github/ISSUE_TEMPLATE/unknown-telegram-error.md
vendored
Normal 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-->
|
Loading…
Reference in a new issue