1c1d74c5ec49e5ab7e2d664e557c61745d1995e6

Author
Marc Cornellà <hello@mcornella.com>
Committer
Marc Cornellà <hello@mcornella.com>
Date

Message

chore: update new issue templates

Diff

  1diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
  2index af2973fecc745d5737d5fe0331fb600d41e379c4..98f66b1d2e9268e9923745f5318562831359d5e4 100644
  3--- a/.github/ISSUE_TEMPLATE/bug_report.yml
  4+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
  5@@ -1,12 +1,11 @@
  6-name: Bug report
  7-description: Create a report to help us improve Oh My Zsh
  8-labels: 'Bug'
  9+name: Report a bug
 10+description: Report a bug that isn't caused by Oh My Zsh. If unsure, use this form
 11 body:
 12   - type: markdown
 13     attributes:
 14       value: |
 15         ## Self Check
 16-        - Try searching existing [GitHub Issues](https://github.com/ohmyzsh/ohmyzsh/issues?q=is%3Aissue) (open or closed) for similar issues.
 17+        - Look for similar errors in existing [GitHub Issues](https://github.com/ohmyzsh/ohmyzsh/issues?q=is%3Aissue) (open or closed).
 18         - Try reaching out on the [Discord server](https://discord.gg/ohmyzsh) for help.
 19   - type: textarea
 20     validations:
 21@@ -41,21 +40,21 @@ body:
 22     validations:
 23       required: true
 24     attributes:
 25-      label: OS / Distro
 26-      placeholder: e.g. Windows 10, Ubuntu 20.04, Arch Linux, macOS 10.15...
 27+      label: OS / Linux distribution
 28+      placeholder: Windows 10, Ubuntu 20.04, Arch Linux, macOS 10.15...
 29   - type: input
 30     validations:
 31       required: true
 32     attributes:
 33       label: Zsh version
 34       description: Run `echo $ZSH_VERSION` to check.
 35-      placeholder: e.g. 5.6
 36+      placeholder: "5.6"
 37   - type: input
 38     validations:
 39       required: true
 40     attributes:
 41       label: Terminal emulator
 42-      placeholder: e.g. iTerm2, Gnome Terminal...
 43+      placeholder: iTerm2, GNOME Terminal, Terminal.app...
 44   - type: dropdown
 45     attributes:
 46       label: If using WSL on Windows, which version of WSL
 47diff --git a/.github/ISSUE_TEMPLATE/bug_report_omz.yml b/.github/ISSUE_TEMPLATE/bug_report_omz.yml
 48new file mode 100644
 49index 0000000000000000000000000000000000000000..96f5ad93459931ac2eba5e7481470927b355b033
 50--- /dev/null
 51+++ b/.github/ISSUE_TEMPLATE/bug_report_omz.yml
 52@@ -0,0 +1,77 @@
 53+name: Report a bug in Oh My Zsh
 54+description: Create a report to help us improve Oh My Zsh
 55+labels: ['Bug']
 56+body:
 57+  - type: markdown
 58+    attributes:
 59+      value: |
 60+        ## Self Check
 61+        - **Make sure this bug only happens with Oh My Zsh enabled**.
 62+        - Look for similar errors in existing [GitHub Issues](https://github.com/ohmyzsh/ohmyzsh/issues?q=is%3Aissue) (open or closed).
 63+        - Try reaching out on the [Discord server](https://discord.gg/ohmyzsh) for help.
 64+  - type: textarea
 65+    validations:
 66+      required: true
 67+    attributes:
 68+      label: Describe the bug
 69+      description: A clear description of what the bug is.
 70+  - type: textarea
 71+    validations:
 72+      required: true
 73+    attributes:
 74+      label: Steps to reproduce
 75+      description: |
 76+        Steps to reproduce the problem.
 77+      placeholder: |
 78+        For example:
 79+        1. Enable plugin '...'
 80+        2. Run command '...' or try to complete command '...'
 81+        3. See error
 82+  - type: textarea
 83+    validations:
 84+      required: true
 85+    attributes:
 86+      label: Expected behavior
 87+      description: A brief description of what should happen.
 88+  - type: textarea
 89+    attributes:
 90+      label: Screenshots and recordings
 91+      description: |
 92+        If applicable, add screenshots to help explain your problem. You can also record an asciinema session: https://asciinema.org/
 93+  - type: input
 94+    validations:
 95+      required: true
 96+    attributes:
 97+      label: OS / Linux distribution
 98+      placeholder: Windows 10, Ubuntu 20.04, Arch Linux, macOS 10.15...
 99+  - type: input
100+    validations:
101+      required: true
102+    attributes:
103+      label: Zsh version
104+      description: Run `echo $ZSH_VERSION` to check.
105+      placeholder: "5.6"
106+  - type: input
107+    validations:
108+      required: true
109+    attributes:
110+      label: Oh My Zsh version
111+      description: Run `omz version` to check.
112+      placeholder: master (bf303965)
113+  - type: input
114+    validations:
115+      required: true
116+    attributes:
117+      label: Terminal emulator
118+      placeholder: iTerm2, GNOME Terminal, Terminal.app...
119+  - type: dropdown
120+    attributes:
121+      label: If using WSL on Windows, which version of WSL
122+      description: Run `wsl -l -v` to check.
123+      options:
124+        - WSL1
125+        - WSL2
126+  - type: textarea
127+    attributes:
128+      label: Additional context
129+      description: Add any other context about the problem here. This can be themes, plugins, custom settings...
130diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
131index dc4baf2b1155bfb096c3863804998647f7da76f2..ac966dfd983ccb50090ac935803c3d38ee3df8fa 100644
132--- a/.github/ISSUE_TEMPLATE/feature_request.yml
133+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
134@@ -1,7 +1,12 @@
135 name: Feature request
136 description: Suggest a feature for Oh My Zsh
137-labels: 'Feature'
138+labels: ["Feature"]
139 body:
140+  - type: markdown
141+    attributes:
142+      value: |
143+        ## Self Check
144+        - Look for similar features in existing [GitHub Issues](https://github.com/ohmyzsh/ohmyzsh/issues?q=is%3Aissue) (open or closed).
145   - type: input
146     attributes:
147       label: If the feature request is for a plugin or theme, specify it here.