From 150bc00f835dd7df3c587dd9d17a1e645569afb0 Mon Sep 17 00:00:00 2001 From: tboy1337 <30571311+tboy1337@users.noreply.github.com> Date: Thu, 17 Oct 2024 12:11:05 +0100 Subject: [PATCH 1/6] Create ideas.yml --- .github/DISCUSSION_TEMPLATE/ideas.yml | 45 +++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/DISCUSSION_TEMPLATE/ideas.yml diff --git a/.github/DISCUSSION_TEMPLATE/ideas.yml b/.github/DISCUSSION_TEMPLATE/ideas.yml new file mode 100644 index 0000000..857af4f --- /dev/null +++ b/.github/DISCUSSION_TEMPLATE/ideas.yml @@ -0,0 +1,45 @@ +title: "💡 Feature Request: " +labels: ["feature request"] +body: + - type: checkboxes + id: search_discussions + attributes: + label: Is there an existing discussion for this? + description: Please search to see if a discussion already exists for the feature you are requesting. (https://github.com/masterking32/YOUR_MODULE_HERE/discussions). + options: + - label: I have searched the existing discussions + required: true + - type: textarea + id: problem + attributes: + label: Is your feature request related to a problem? Please describe the problem. + description: A clear and concise description of what the problem is. + placeholder: I am trying to do [...] but [...] + validations: + required: false + - type: textarea + id: solution + attributes: + label: Describe the solution you'd like + description: | + A clear and concise description of what you want to happen. Include any alternative solutions you've considered. + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: Alternatives you've considered + description: | + Add any other context about alternative solutions you've considered. + validations: + required: false + - type: textarea + id: additional_context + attributes: + label: Additional context + description: | + Add any other context or screenshots about the feature request here. + + Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. + validations: + required: false From 6ba0f8182ea8f27a7d550566c05c9e5bb6a7c7d2 Mon Sep 17 00:00:00 2001 From: tboy1337 <30571311+tboy1337@users.noreply.github.com> Date: Thu, 17 Oct 2024 12:11:44 +0100 Subject: [PATCH 2/6] Create config.yml --- .github/ISSUE_TEMPLATE/config.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..1e14556 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Feature Request + url: https://github.com/masterking32/YOUR_MODULE_HERE/discussions/new?category=ideas + about: Please use this to request a new feature. From 23864bfd96dc24b33872aae9b929e48555a86a05 Mon Sep 17 00:00:00 2001 From: tboy1337 <30571311+tboy1337@users.noreply.github.com> Date: Thu, 17 Oct 2024 12:12:08 +0100 Subject: [PATCH 3/6] Create 10_bug_report.yml --- .github/ISSUE_TEMPLATE/10_bug_report.yml | 145 +++++++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/10_bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/10_bug_report.yml b/.github/ISSUE_TEMPLATE/10_bug_report.yml new file mode 100644 index 0000000..b1491cd --- /dev/null +++ b/.github/ISSUE_TEMPLATE/10_bug_report.yml @@ -0,0 +1,145 @@ +name: 🐞 Bug Report +description: Report a Bug +body: + - type: checkboxes + attributes: + label: 🔍 Is there an existing issue for this? + description: Please search to see if an issue already exists for the bug you encountered (https://github.com/masterking32/YOUR_MODULE_HERE/issues?q=). + options: + - label: I have searched the existing issues + required: true + + - type: dropdown + id: custom_changes + attributes: + label: "🔧 Have you made any custom changes to the software?" + options: + - "Yes" + - "No" + validations: + required: true + - type: markdown + attributes: + value: | + If yes, we do not support custom changes. Please revert your changes and check if the issue still exists. + + - type: dropdown + id: run_method + attributes: + label: "🚀 How did you run the software?" + options: + - start_linux.sh + - start_windows.bat + - using command line + validations: + required: true + + - type: dropdown + id: os + attributes: + label: "🖥️ Operating System" + options: + - Windows + - Android + - Ubuntu + - Debian + - macOS + - Arch Linux + - Fedora + - CentOS + - openSUSE + - Docker + - Other Linux + validations: + required: true + + - type: input + id: os_version + attributes: + label: "📝 OS Version" + placeholder: "e.g. Windows 11, Ubuntu 20.04, Debian 12, etc." + validations: + required: true + + - type: input + id: python_version + attributes: + label: "🐍 Python Version" + placeholder: "e.g. 3.13" + validations: + required: true + + - type: dropdown + id: multiple_python + attributes: + label: "🐍 Do you have multiple Python versions installed on your system?" + options: + - "Yes" + - "No" + validations: + required: true + - type: markdown + attributes: + value: | + If yes, please try running the software on a system with only one Python version installed. + + - type: dropdown + id: is_http_error + attributes: + label: "🌐 Is this issue related to an HTTP error?" + options: + - "Yes" + - "No" + validations: + required: true + - type: markdown + attributes: + value: | + If yes, please first check if the issue is related to the server. If the server is down or under maintenance, the software will not work. Then try with a different network or Proxy/VPN and check if the issue still exists. + + - type: dropdown + id: is_pyrogram_telethon_error + attributes: + label: "📡 Is this issue related to Pyrogram or Telethon?" + options: + - "Yes" + - "No" + validations: + required: true + - type: markdown + attributes: + value: | + If yes, please first check if the issue is related to the library. Please check the library's documentation and issues. + + - type: textarea + attributes: + label: 🐛 Describe the bug + description: A clear and concise description of what the bug is. + validations: + required: true + + - type: textarea + attributes: + label: 🎯 Expected Behavior + description: A clear and concise description of what you expected to happen. + validations: + required: false + + - type: textarea + attributes: + label: 🔄 Steps To Reproduce + description: | + We will close this issue if: + - We are not able to reproduce the behavior you're reporting. + validations: + required: false + + - type: textarea + attributes: + label: 💬 Anything else? + description: | + Links? References? Anything that will give us more context about the issue you are encountering! + + Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. + validations: + required: false From b63e4d34680c8b74328d8a6d9a4db55feb196c0b Mon Sep 17 00:00:00 2001 From: tboy1337 <30571311+tboy1337@users.noreply.github.com> Date: Thu, 17 Oct 2024 12:12:19 +0100 Subject: [PATCH 4/6] Delete .github/ISSUE_TEMPLATE/bug_report.md --- .github/ISSUE_TEMPLATE/bug_report.md | 38 ---------------------------- 1 file changed, 38 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index dd84ea7..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Desktop (please complete the following information):** - - OS: [e.g. iOS] - - Browser [e.g. chrome, safari] - - Version [e.g. 22] - -**Smartphone (please complete the following information):** - - Device: [e.g. iPhone6] - - OS: [e.g. iOS8.1] - - Browser [e.g. stock browser, safari] - - Version [e.g. 22] - -**Additional context** -Add any other context about the problem here. From 9d3776f2690451bb23e2ab5124527a58ba45ea4d Mon Sep 17 00:00:00 2001 From: tboy1337 <30571311+tboy1337@users.noreply.github.com> Date: Thu, 17 Oct 2024 12:12:26 +0100 Subject: [PATCH 5/6] Delete .github/ISSUE_TEMPLATE/custom.md --- .github/ISSUE_TEMPLATE/custom.md | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/custom.md diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md deleted file mode 100644 index 48d5f81..0000000 --- a/.github/ISSUE_TEMPLATE/custom.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: Custom issue template -about: Describe this issue template's purpose here. -title: '' -labels: '' -assignees: '' - ---- - - From be669b633777f53e9b3f66e3973af901170f5e96 Mon Sep 17 00:00:00 2001 From: tboy1337 <30571311+tboy1337@users.noreply.github.com> Date: Thu, 17 Oct 2024 12:12:33 +0100 Subject: [PATCH 6/6] Delete .github/ISSUE_TEMPLATE/feature_request.md --- .github/ISSUE_TEMPLATE/feature_request.md | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index bbcbbe7..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: '' -assignees: '' - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here.