🔧 Update new issue chooser to suggest GitHub Discussions (#544)
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 898ca8f · Browse files · 4 files·+31 added−324 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
4 files+31 added−324 removed
- other:+31 added−324 removed
Provenance
- Commit
d75debf- Tree
aace6f3- Author
Sebastián Ramírez <tiangolo@gmail.com>- Committer
GitHub <noreply@github.com>- Parent
898ca8f
4 files changed+31 added−324 removed
modified:.github/ISSUE_TEMPLATE/config.yml+9 added
12345678910111213blank_issues_enabled: falsecontact_links: - name: Security Contact about: Please report security vulnerabilities to security@tiangolo.com - name: Question or Problem about: Ask a question or ask about a problem in GitHub Discussions. url: https://github.com/tiangolo/typer/discussions/categories/questions - name: Feature Request about: To suggest an idea or ask about a feature, please start with a question saying what you would like to achieve. There might be a way to do it already. url: https://github.com/tiangolo/typer/discussions/categories/questions - name: Show and tell about: Show what you built with Typer or to be used with Typer. url: https://github.com/tiangolo/typer/discussions/categories/show-and-telldeleted:.github/ISSUE_TEMPLATE/feature-request.yml-179 removed
1-name: Feature Request2-description: Suggest an idea or ask for a feature that you would like to have in Typer3-labels: [enhancement]4-body:5- - type: markdown6- attributes:7- value: |8- Thanks for your interest in Typer! 🚀9-10- Please follow these instructions, fill every question, and do every step. 🙏11-12- I'm asking this because answering questions and solving problems in GitHub issues is what consumes most of the time.13-14- 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.15-16- 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.17-18- 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 😅).19-20- By asking questions in a structured way (following this) it will be much easier to help you.21-22- 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. 😎23-24- 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. 🤓25- - type: checkboxes26- id: checks27- attributes:28- label: First Check29- description: Please confirm and check all the following options.30- options:31- - label: I added a very descriptive title to this issue.32- required: true33- - label: I used the GitHub search to find a similar issue and didn't find it.34- required: true35- - label: I searched the Typer documentation, with the integrated search.36- required: true37- - label: I already searched in Google "How to X in Typer" and didn't find any information.38- required: true39- - label: I already read and followed all the tutorial in the docs and didn't find an answer.40- required: true41- - label: I already checked if it is not related to Typer but to [Click](https://github.com/pallets/click).42- required: true43- - type: checkboxes44- id: help45- attributes:46- label: Commit to Help47- description: |48- After submitting this, I commit to one of:49-50- * Read open issues with questions until I find 2 issues where I can help someone and add a comment to help there.51- * 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.52- * Implement a Pull Request for a confirmed bug.53-54- options:55- - label: I commit to help with one of those options 👆56- required: true57- - type: textarea58- id: example59- attributes:60- label: Example Code61- description: |62- Please add a self-contained, [minimal, reproducible, example](https://stackoverflow.com/help/minimal-reproducible-example) with your use case.63-64- 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.65-66- placeholder: |67- import typer68-69-70- def main(name: str):71- typer.echo(f"Hello {name}")72-73-74- if __name__ == "__main__":75- typer.run(main)76- render: python77- validations:78- required: true79- - type: textarea80- id: description81- attributes:82- label: Description83- description: |84- What is your feature request?85-86- Write a short description telling me what you are trying to solve and what you are currently doing.87- placeholder: |88- * Create a Typer CLI that says "Hello".89- * Run it on the command line without a name.90- * I would like it to use Privacy-Aware Artificial Intelligence based on Block Chain and predict my name without me typing it.91- validations:92- required: true93- - type: textarea94- id: wanted-solution95- attributes:96- label: Wanted Solution97- description: |98- Tell me what's the solution you would like.99- placeholder: |100- I would like it to say my name without me having to type it.101- validations:102- required: true103- - type: textarea104- id: wanted-code105- attributes:106- label: Wanted Code107- description: Show me an example of how you would want the code to look like.108- placeholder: |109- import typer110-111-112- def main(name: str):113- typer.guess_name(f"Hello {name}")114-115-116- if __name__ == "__main__":117- typer.run(main)118- render: python119- validations:120- required: true121- - type: textarea122- id: alternatives123- attributes:124- label: Alternatives125- description: |126- Tell me about alternatives you've considered.127- placeholder: |128- To hardcode my name, so that if I don't type it it will be the default.129- - type: dropdown130- id: os131- attributes:132- label: Operating System133- description: What operating system are you on?134- multiple: true135- options:136- - Linux137- - Windows138- - macOS139- - Other140- validations:141- required: true142- - type: textarea143- id: os-details144- attributes:145- label: Operating System Details146- description: You can add more details about your operating system here, in particular if you chose "Other".147- - type: input148- id: typer-version149- attributes:150- label: Typer Version151- description: |152- What Typer version are you using?153-154- You can find the Typer version with:155-156- ```bash157- python -c "import typer; print(typer.__version__)"158- ```159- validations:160- required: true161- - type: input162- id: python-version163- attributes:164- label: Python Version165- description: |166- What Python version are you using?167-168- You can find the Python version with:169-170- ```bash171- python --version172- ```173- validations:174- required: true175- - type: textarea176- id: context177- attributes:178- label: Additional Context179- description: Add any additional context information or screenshots you think are useful.added:.github/ISSUE_TEMPLATE/privileged.yml+22 added
12345678910111213141516171819202122name: Privilegeddescription: You are @tiangolo or he asked you directly to create an issue here. If not, check the other options. 👇body: - type: markdown attributes: value: | Thanks for your interest in Typer! 🚀
If you are not @tiangolo or he didn't ask you directly to create an issue here, please start the conversation in a [Question in GitHub Discussions](https://github.com/tiangolo/typer/discussions/categories/questions) instead. - type: checkboxes id: privileged attributes: label: Privileged issue description: Confirm that you are allowed to create an issue here. options: - label: I'm @tiangolo or he asked me directly to create an issue here. required: true - type: textarea id: content attributes: label: Issue Content description: Add the content of the issue here.deleted:.github/ISSUE_TEMPLATE/question.yml-145 removed
1-name: Question or Problem2-description: Ask a question or ask about a problem3-labels: [question]4-body:5- - type: markdown6- attributes:7- value: |8- Thanks for your interest in Typer! 🚀9-10- Please follow these instructions, fill every question, and do every step. 🙏11-12- I'm asking this because answering questions and solving problems in GitHub is what consumes most of the time.13-14- 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.15-16- 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.17-18- 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 😅).19-20- By asking questions in a structured way (following this) it will be much easier to help you.21-22- 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. 😎23-24- 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. 🤓25- - type: checkboxes26- id: checks27- attributes:28- label: First Check29- description: Please confirm and check all the following options.30- options:31- - label: I added a very descriptive title here.32- required: true33- - label: I used the GitHub search to find a similar question and didn't find it.34- required: true35- - label: I searched the Typer documentation, with the integrated search.36- required: true37- - label: I already searched in Google "How to X in Typer" and didn't find any information.38- required: true39- - label: I already read and followed all the tutorial in the docs and didn't find an answer.40- required: true41- - label: I already checked if it is not related to Typer but to [Click](https://github.com/pallets/click).42- required: true43- - type: checkboxes44- id: help45- attributes:46- label: Commit to Help47- description: |48- After submitting this, I commit to one of:49-50- * Read open issues with questions until I find 2 issues where I can help someone and add a comment to help there.51- * 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.52- * Review one Pull Request by downloading the code and following all the review process](https://typer.tiangolo.com/help-typer/#review-pull-requests).53-54- options:55- - label: I commit to help with one of those options 👆56- required: true57- - type: textarea58- id: example59- attributes:60- label: Example Code61- description: |62- Please add a self-contained, [minimal, reproducible, example](https://stackoverflow.com/help/minimal-reproducible-example) with your use case.63-64- 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.65-66- placeholder: |67- import typer68-69-70- def main(name: str):71- typer.echo(f"Hello {name}")72-73-74- if __name__ == "__main__":75- typer.run(main)76- render: python77- validations:78- required: true79- - type: textarea80- id: description81- attributes:82- label: Description83- description: |84- What is the problem, question, or error?85-86- Write a short description telling me what you are doing, what you expect to happen, and what is currently happening.87- placeholder: |88- * Create a small Typer script.89- * Open a Terminal with Ninja-Turtle-Shell.90- * Trigger autocompletion hitting TAB.91- * I don't see any completion in the terminal using Ninja-Turtle-Shell.92- * I expected to see autocompletion there.93- validations:94- required: true95- - type: dropdown96- id: os97- attributes:98- label: Operating System99- description: What operating system are you on?100- multiple: true101- options:102- - Linux103- - Windows104- - macOS105- - Other106- validations:107- required: true108- - type: textarea109- id: os-details110- attributes:111- label: Operating System Details112- description: You can add more details about your operating system here, in particular if you chose "Other".113- - type: input114- id: typer-version115- attributes:116- label: Typer Version117- description: |118- What Typer version are you using?119-120- You can find the Typer version with:121-122- ```bash123- python -c "import typer; print(typer.__version__)"124- ```125- validations:126- required: true127- - type: input128- id: python-version129- attributes:130- label: Python Version131- description: |132- What Python version are you using?133-134- You can find the Python version with:135-136- ```bash137- python --version138- ```139- validations:140- required: true141- - type: textarea142- id: context143- attributes:144- label: Additional Context145- description: Add any additional context information or screenshots you think are useful.