Browse Source

ISSUE_TEMPLATE: add templates (#7743)

Emily Grace Seville 2 years ago
parent
commit
b08a8f2e8c

+ 0 - 15
.github/ISSUE_TEMPLATE.md

@@ -1,15 +0,0 @@
-<!--
-Thank you for reporting an issue!
-Please review the following notes before submission.
-
-If you request a new command, please:
-- use the standard title ("page request: <command name>")
-- include a link to a web page about the command
-- if available, add an existing source of examples
-
-If your issue is with a particular tldr client, please report the issue there.
-For example, issues for the Node.js client should be reported at https://github.com/tldr-pages/tldr-node-client/issues
-
-If you have a general question or are not sure whether to open an issue,
-ask away in our Gitter channel: https://gitter.im/tldr-pages/tldr
--->

+ 8 - 0
.github/ISSUE_TEMPLATE/config.yml

@@ -0,0 +1,8 @@
+blank_issues_enabled: true
+contact_links:
+  - name: Gitter chat
+    url: https://gitter.im/tldr-pages/tldr
+    about: You can ask and answer questions here
+  - name: Matrix Space
+    url: https://matrix.to/#/#tldr-pages:matrix.org
+    about: Matrix view of our Gitter chat rooms

+ 40 - 0
.github/ISSUE_TEMPLATE/page-request.yml

@@ -0,0 +1,40 @@
+name: 📄 Page request
+title: "page request: "
+description: Page request template.
+labels: new command
+body:
+  - type: textarea
+    attributes:
+      label: Command description
+      description: Describe a command you want to be summarized.
+      placeholder: Tell us what TLDR page you want to see!
+    validations:
+      required: true
+  - type: input
+    attributes:
+      label: Command details
+      description: Describe any details related to a command.
+      placeholder: e.g. command version
+  - type: dropdown
+    attributes:
+      label: OS
+      description: Select an operating system category which this command falls into.
+      multiple: false
+      options:
+        - Linux
+        - Android
+        - macOS
+        - Windows
+        - General
+        - Other
+    validations:
+      required: true
+  - type: input
+    attributes:
+      label: OS details
+      description: Describe any details related to an operating system.
+      placeholder: |
+        e.g. OS version obtained via:
+        `uname -a` for Linux
+        `sw_vers` for macOS
+        `ver` for Windows

+ 40 - 0
.github/ISSUE_TEMPLATE/page-translation.yml

@@ -0,0 +1,40 @@
+name: 📄 Page translation request
+title: "page translation: "
+description: Page translation request template.
+labels: new command, translation
+body:
+  - type: textarea
+    attributes:
+      label: Command description
+      description: Describe a command you want to be translated.
+      placeholder: Tell us what TLDR page you want to see!
+    validations:
+      required: true
+  - type: input
+    attributes:
+      label: Command details
+      description: Describe any details related to a command.
+      placeholder: e.g. command version
+  - type: dropdown
+    attributes:
+      label: OS
+      description: Select an operating system category which this command falls into.
+      multiple: false
+      options:
+        - Linux
+        - Android
+        - macOS
+        - Windows
+        - General
+        - Other
+    validations:
+      required: true
+  - type: input
+    attributes:
+      label: OS details
+      description: Describe any details related to an operating system.
+      placeholder: |
+        e.g. OS version obtained via:
+        `uname -a` for Linux
+        `sw_vers` for macOS
+        `ver` for Windows