Skip to content
Myr

🔧 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

4 files+31 added−324 removed

modified:.github/ISSUE_TEMPLATE/config.yml+9 added
deleted:.github/ISSUE_TEMPLATE/feature-request.yml-179 removed
1name: Feature Request2description: Suggest an idea or ask for a feature that you would like to have in Typer3labels: [enhancement]4body:5 - type: markdown6 attributes:7 value: |8 Thanks for your interest in Typer! 🚀910 Please follow these instructions, fill every question, and do every step. 🙏1112 I'm asking this because answering questions and solving problems in GitHub issues is what consumes most of the time.1314 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.1516 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.1718 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 😅).1920 By asking questions in a structured way (following this) it will be much easier to help you.2122 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. 😎2324 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:4950 * 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.5354 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.6364 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.6566 placeholder: |67 import typer686970 def main(name: str):71 typer.echo(f"Hello {name}")727374 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?8586 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 typer110111112 def main(name: str):113 typer.guess_name(f"Hello {name}")114115116 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?153154 You can find the Typer version with:155156 ```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?167168 You can find the Python version with:169170 ```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
deleted:.github/ISSUE_TEMPLATE/question.yml-145 removed
1name: Question or Problem2description: Ask a question or ask about a problem3labels: [question]4body:5 - type: markdown6 attributes:7 value: |8 Thanks for your interest in Typer! 🚀910 Please follow these instructions, fill every question, and do every step. 🙏1112 I'm asking this because answering questions and solving problems in GitHub is what consumes most of the time.1314 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.1516 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.1718 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 😅).1920 By asking questions in a structured way (following this) it will be much easier to help you.2122 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. 😎2324 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:4950 * 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).5354 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.6364 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.6566 placeholder: |67 import typer686970 def main(name: str):71 typer.echo(f"Hello {name}")727374 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?8586 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?119120 You can find the Typer version with:121122 ```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?133134 You can find the Python version with:135136 ```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.