🔧 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
Provenance
- Commit
ef1081e- Tree
1232843- Author
Sebastián Ramírez <tiangolo@gmail.com>- Committer
GitHub <noreply@github.com>- Parent
4ba8226
2 files changed+149 added−6 removed
added:.github/DISCUSSION_TEMPLATE/questions.yml+143 added
1+labels: [question]2+body:3+ - type: markdown4+ attributes:5+ value: |6+ Thanks for your interest in Typer! 🚀7+8+ Please follow these instructions, fill every question, and do every step. 🙏9+10+ I'm asking this because answering questions and solving problems in GitHub is what consumes most of the time.11+12+ 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.13+14+ 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.15+16+ 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 😅).17+18+ By asking questions in a structured way (following this) it will be much easier to help you.19+20+ 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. 😎21+22+ 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:47+48+ * 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).51+52+ 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.61+62+ 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.63+64+ placeholder: |65+ import typer66+67+68+ def main(name: str):69+ typer.echo(f"Hello {name}")70+71+72+ 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?83+84+ 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?117+118+ You can find the Typer version with:119+120+ ```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?131+132+ You can find the Python version with:133+134+ ```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
7 unmodified lines8910111212131414151617181920212223242425262728293031313233333435363710 unmodified lines4849505152525354555689 unmodified lines7 unmodified lines Thanks for your interest in Typer! 🚀
Please follow these instructions, fill every question, and do every step. 🙏
I'm asking this because answering questions and solving problems in GitHub issues is what consumes most of the time. I'm asking this because answering questions and solving problems in GitHub is what consumes most of the time.
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 issues. 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.
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.
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 😅).
By asking questions in a structured way (following this) it will be much easier to help you.
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. 😎
As there are too many issues with questions, I'll have to 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. 🤓 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. 🤓 - type: checkboxes id: checks attributes: label: First Check description: Please confirm and check all the following options. options: - label: I added a very descriptive title to this issue. - label: I added a very descriptive title here. required: true - label: I used the GitHub search to find a similar issue and didn't find it. - label: I used the GitHub search to find a similar question and didn't find it. required: true - label: I searched the Typer documentation, with the integrated search. required: true - label: I already searched in Google "How to X in Typer" and didn't find any information.10 unmodified lines After submitting this, I commit to one of:
* Read open issues with questions until I find 2 issues where I can help someone and add a comment to help there. * 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. * Implement a Pull Request for a confirmed bug. * Review one Pull Request by downloading the code and following all the review process](https://typer.tiangolo.com/help-typer/#review-pull-requests).
options: - label: I commit to help with one of those options 👆 required: true89 unmodified lines