From 5508911904f5286d228cc1ee6bc234022c2577e1 Mon Sep 17 00:00:00 2001 From: Waffle Lapkin Date: Tue, 20 Oct 2020 14:38:36 +0300 Subject: [PATCH] Add issue templates Add issue templates for - Bug reports - Feature requests - Unknown telegram errors - Parse errors --- .github/ISSUE_TEMPLATE/bug_report.md | 25 ++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 22 ++++++++++++++ .github/ISSUE_TEMPLATE/parse-error.md | 30 +++++++++++++++++++ .../ISSUE_TEMPLATE/unknown-telegram-error.md | 30 +++++++++++++++++++ 4 files changed, 107 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/parse-error.md create mode 100644 .github/ISSUE_TEMPLATE/unknown-telegram-error.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..bd3d7995 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,25 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: bug +assignees: '' + +--- + +I tried this code: +```rust + +``` +I expected to see this happen: _explanation_ + +Instead, this happened: _explanation_ + +## Meta + +- `teloxide` version: +- rustc version: + ``` + + ``` + diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..f6b479f7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,22 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: 'Feature Request: ' +labels: feature-request +assignees: Hirrolot, WaffleLapkin + +--- + + + +### Pros + + + +### Cons + + + +### Alternatives + + diff --git a/.github/ISSUE_TEMPLATE/parse-error.md b/.github/ISSUE_TEMPLATE/parse-error.md new file mode 100644 index 00000000..0e3a05b8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/parse-error.md @@ -0,0 +1,30 @@ +--- +name: Parse error +about: Report issue with `teloxide` parsing of telegram response +title: 'Parse Error: ' +labels: FIXME, bug +assignees: WaffleLapkin + +--- + +When using `<...>` method I've got `RequestError::InvalidJson` error with the following description: +```text + +``` + +## Steps to reproduce + + + +## Meta + +- `teloxide` version: +- rustc version: + ``` + + ``` + + +### Additional context + + diff --git a/.github/ISSUE_TEMPLATE/unknown-telegram-error.md b/.github/ISSUE_TEMPLATE/unknown-telegram-error.md new file mode 100644 index 00000000..6b5eafe2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/unknown-telegram-error.md @@ -0,0 +1,30 @@ +--- +name: Unknown telegram error +about: You've found telegram error which is not known to teloxide +title: 'Unknown Error: ' +labels: FIXME, bug, good first issue +assignees: '' + +--- + +When using `<...>` method I've got `ApiError::Unknown` error with the following description: +```text + +``` + +## Steps to reproduce + + + +## Meta + +- `teloxide` version: +- rustc version: + ``` + + ``` + + +### Additional context + +