Skip to content
Myr

🔧 Add GitHub Discussion templates for questions (#541)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sebastián Ramírez · committed by GitHub · parent 4ba8226 · Browse files · 2 files+149 added−6 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+149 added−6 removed

  • other:+149 added−6 removed

2 files+149 added−6 removed

added:.github/DISCUSSION_TEMPLATE/questions.yml+143 added
1labels: [question]2body:3 - type: markdown4 attributes:5 value: |6 Thanks for your interest in Typer! 🚀78 Please follow these instructions, fill every question, and do every step. 🙏910 I'm asking this because answering questions and solving problems in GitHub is what consumes most of the time.1112 I end up not being able to add new features, fix bugs, review pull requests, etc. as fast as I wish because I have to spend too much time handling questions.1314 All that, on top of all the incredible help provided by a bunch of community members that give a lot of their time to come here and help others.1516 If more Typer users came to help others like them just a little bit more, it would be much less effort for them (and you and me 😅).1718 By asking questions in a structured way (following this) it will be much easier to help you.1920 And there's a high chance that you will find the solution along the way and you won't even have to submit it and wait for an answer. 😎2122 As there are too many questions, I'll have to discard and close the incomplete ones. That will allow me (and others) to focus on helping people like you that follow the whole process and help us help you. 🤓23 - type: checkboxes24 id: checks25 attributes:26 label: First Check27 description: Please confirm and check all the following options.28 options:29 - label: I added a very descriptive title here.30 required: true31 - label: I used the GitHub search to find a similar question and didn't find it.32 required: true33 - label: I searched the Typer documentation, with the integrated search.34 required: true35 - label: I already searched in Google "How to X in Typer" and didn't find any information.36 required: true37 - label: I already read and followed all the tutorial in the docs and didn't find an answer.38 required: true39 - label: I already checked if it is not related to Typer but to [Click](https://github.com/pallets/click).40 required: true41 - type: checkboxes42 id: help43 attributes:44 label: Commit to Help45 description: |46 After submitting this, I commit to one of:4748 * Read open issues with questions until I find 2 issues where I can help someone and add a comment to help there.49 * I already hit the "watch" button in this repository to receive notifications and I commit to help at least 2 people that ask questions in the future.50 * Review one Pull Request by downloading the code and following all the review process](https://typer.tiangolo.com/help-typer/#review-pull-requests).5152 options:53 - label: I commit to help with one of those options 👆54 required: true55 - type: textarea56 id: example57 attributes:58 label: Example Code59 description: |60 Please add a self-contained, [minimal, reproducible, example](https://stackoverflow.com/help/minimal-reproducible-example) with your use case.6162 If I (or someone) can copy it, run it, and see it right away, there's a much higher chance I (or someone) will be able to help you.6364 placeholder: |65 import typer666768 def main(name: str):69 typer.echo(f"Hello {name}")707172 if __name__ == "__main__":73 typer.run(main)74 render: python75 validations:76 required: true77 - type: textarea78 id: description79 attributes:80 label: Description81 description: |82 What is the problem, question, or error?8384 Write a short description telling me what you are doing, what you expect to happen, and what is currently happening.85 placeholder: |86 * Create a small Typer script.87 * Open a Terminal with Ninja-Turtle-Shell.88 * Trigger autocompletion hitting TAB.89 * I don't see any completion in the terminal using Ninja-Turtle-Shell.90 * I expected to see autocompletion there.91 validations:92 required: true93 - type: dropdown94 id: os95 attributes:96 label: Operating System97 description: What operating system are you on?98 multiple: true99 options:100 - Linux101 - Windows102 - macOS103 - Other104 validations:105 required: true106 - type: textarea107 id: os-details108 attributes:109 label: Operating System Details110 description: You can add more details about your operating system here, in particular if you chose "Other".111 - type: input112 id: typer-version113 attributes:114 label: Typer Version115 description: |116 What Typer version are you using?117118 You can find the Typer version with:119120 ```bash121 python -c "import typer; print(typer.__version__)"122 ```123 validations:124 required: true125 - type: input126 id: python-version127 attributes:128 label: Python Version129 description: |130 What Python version are you using?131132 You can find the Python version with:133134 ```bash135 python --version136 ```137 validations:138 required: true139 - type: textarea140 id: context141 attributes:142 label: Additional Context143 description: Add any additional context information or screenshots you think are useful.
modified:.github/ISSUE_TEMPLATE/question.yml+6 added-6 removed