4eadb9cf758b632b113bb793d5f1e38f4c304392

Author
Mahdyar Hasanpour <thisismahdyar@gmail.com>
Committer
GitHub <noreply@github.com>
Date

Message

chore: convert the repo issue templates to issue forms (#10050)

Diff

  1diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
  2deleted file mode 100644
  3index 88a6b814dc35e5e66d1c7e16f1be72d9c4d67292..0000000000000000000000000000000000000000
  4--- a/.github/ISSUE_TEMPLATE/bug_report.md
  5+++ /dev/null
  6@@ -1,46 +0,0 @@
  7----
  8-name: Bug report
  9-about: Create a report to help us improve Oh My Zsh
 10-labels: 'Bug'
 11-
 12----
 13-
 14-<!--
 15-Fill this out before posting. You can delete irrelevant sections, but
 16-an issue where no sections have been filled will be deleted without comment.
 17--->
 18-
 19-**Describe the bug**
 20-A clear description of what the bug is.
 21-
 22-**To Reproduce**
 23-Steps to reproduce the behavior, for example:
 24-1. Enable this plugin '...'
 25-2. Run command '...' or try the autocomplete command '...'
 26-3. See error
 27-
 28-**Expected behavior**
 29-A brief description of what should happen.
 30-
 31-**Screenshots and/or Recordings**
 32-If applicable, add screenshots to help explain your problem.
 33-You can also record an asciinema session: https://asciinema.org/
 34-
 35-**Self Check**
 36-
 37-- Have you tried reaching out on the [Discord server](https://discord.gg/ohmyzsh)? 
 38-  This can help cut down on filling up issues. We always have a few people
 39-  online that are in a variety of timezones that are willing to help you!
 40-
 41-- Also searching existing [GitHub Issues](https://github.com/ohmyzsh/ohmyzsh/issues?q=) might help you get quicker support
 42-
 43-**Desktop (please complete the following information):**
 44-
 45- - OS / Distro: [e.g. Arch Linux, macOS]
 46- - If on Windows what version of WSL: [e.g. WSL1, WSL2]
 47- - Latest ohmyzsh update?: [e.g. Yes/No]
 48- - ZSH Version: [e.g. 5.6]
 49- - Terminal emulator: [e.g. iTerm2]
 50-
 51-**Additional context**
 52-Add any other context about the problem here. This can be themes, plugins, custom configs.
 53diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
 54new file mode 100644
 55index 0000000000000000000000000000000000000000..af2973fecc745d5737d5fe0331fb600d41e379c4
 56--- /dev/null
 57+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
 58@@ -0,0 +1,69 @@
 59+name: Bug report
 60+description: Create a report to help us improve Oh My Zsh
 61+labels: 'Bug'
 62+body:
 63+  - type: markdown
 64+    attributes:
 65+      value: |
 66+        ## Self Check
 67+        - Try searching existing [GitHub Issues](https://github.com/ohmyzsh/ohmyzsh/issues?q=is%3Aissue) (open or closed) for similar issues.
 68+        - Try reaching out on the [Discord server](https://discord.gg/ohmyzsh) for help.
 69+  - type: textarea
 70+    validations:
 71+      required: true
 72+    attributes:
 73+      label: Describe the bug
 74+      description: A clear description of what the bug is.
 75+  - type: textarea
 76+    validations:
 77+      required: true
 78+    attributes:
 79+      label: Steps to reproduce
 80+      description: |
 81+        Steps to reproduce the problem.
 82+      placeholder: |
 83+        For example:
 84+        1. Enable plugin '...'
 85+        2. Run command '...' or try to complete command '...'
 86+        3. See error
 87+  - type: textarea
 88+    validations:
 89+      required: true
 90+    attributes:
 91+      label: Expected behavior
 92+      description: A brief description of what should happen.
 93+  - type: textarea
 94+    attributes:
 95+      label: Screenshots and recordings
 96+      description: |
 97+        If applicable, add screenshots to help explain your problem. You can also record an asciinema session: https://asciinema.org/
 98+  - type: input
 99+    validations:
100+      required: true
101+    attributes:
102+      label: OS / Distro
103+      placeholder: e.g. Windows 10, Ubuntu 20.04, Arch Linux, macOS 10.15...
104+  - type: input
105+    validations:
106+      required: true
107+    attributes:
108+      label: Zsh version
109+      description: Run `echo $ZSH_VERSION` to check.
110+      placeholder: e.g. 5.6
111+  - type: input
112+    validations:
113+      required: true
114+    attributes:
115+      label: Terminal emulator
116+      placeholder: e.g. iTerm2, Gnome Terminal...
117+  - type: dropdown
118+    attributes:
119+      label: If using WSL on Windows, which version of WSL
120+      description: Run `wsl -l -v` to check.
121+      options:
122+        - WSL1
123+        - WSL2
124+  - type: textarea
125+    attributes:
126+      label: Additional context
127+      description: Add any other context about the problem here. This can be themes, plugins, custom settings...
128diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
129deleted file mode 100644
130index 788f77368cd99152e52cfb905c54b0279a6d1289..0000000000000000000000000000000000000000
131--- a/.github/ISSUE_TEMPLATE/feature_request.md
132+++ /dev/null
133@@ -1,29 +0,0 @@
134----
135-name: Feature request
136-about: Suggest a feature for Oh My Zsh
137-labels: 'Feature'
138-
139----
140-
141-<!--
142-Fill this out before posting. You can delete irrelevant sections, but
143-an issue where no sections have been filled will be deleted without comment.
144--->
145-
146-**Is your feature request related to a particular plugin or theme? If so, specify it.**
147-The name of the plugin, theme or alias that you would like us to improve. [...]
148-
149-**Is your feature request related to a problem? Please describe.**
150-A description of what the problem is. Ex. I'm always frustrated when [...]
151-
152-**Describe the solution you'd like**
153-A description of what you want to happen. [...]
154-
155-**Describe alternatives you've considered**
156-A description of any alternative solutions or features you've considered. This can also include other plugins or themes.
157-
158-**Additional context**
159-Add any other context, screenshots or discord conversations about the feature request here. Also if you have any PRs related to this issue that are already open that you would like us to look at.
160-
161-**Related Issues**
162-Is there any open or closed issues that is related to this feature request? If so please link them below! [...]
163diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
164new file mode 100644
165index 0000000000000000000000000000000000000000..dc4baf2b1155bfb096c3863804998647f7da76f2
166--- /dev/null
167+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
168@@ -0,0 +1,32 @@
169+name: Feature request
170+description: Suggest a feature for Oh My Zsh
171+labels: 'Feature'
172+body:
173+  - type: input
174+    attributes:
175+      label: If the feature request is for a plugin or theme, specify it here.
176+      description: The name of the plugin or theme that you would like us to improve.
177+      placeholder: e.g. Git plugin, Agnoster theme
178+  - type: textarea
179+    attributes:
180+      label: If the feature solves a problem you have, specify it here.
181+      description: A description of what the problem is. 
182+      placeholder: Ex. I'm always frustrated when...
183+  - type: textarea
184+    attributes:
185+      label: Describe the proposed feature.
186+      description: A description of what you want to happen. Be as specific as possible.
187+    validations:
188+      required: true
189+  - type: textarea
190+    attributes:
191+      label: Describe alternatives you've considered
192+      description: A description of any alternative solutions or features you've considered. This can also include other plugins or themes.
193+  - type: textarea
194+    attributes:
195+      label: Additional context
196+      description: Add any other context, screenshots or Discord conversations about the feature request here. Also if you have any PRs related to this issue that are already open that you would like us to look at.
197+  - type: textarea
198+    attributes:
199+      label: Related Issues
200+      description: Is there any open or closed issues that is related to this feature request? If so please link them below!