Преглед изворни кода

Add issue templates (#6986)

Add issue templates (forms) to:

- guide authors during issue creation and
- automatically assign labels
Lukas Kurz пре 1 година
родитељ
комит
3a7b12017d

+ 37 - 0
.github/ISSUE_TEMPLATE/01-bug.yml

@@ -0,0 +1,37 @@
+name: Bug report
+description: Report a general bug in ChakraCore
+title: '[Bug]: '
+labels:
+  - Bug
+body:
+  - type: input
+    attributes:
+      label: ChakraCore Version
+      description: Specify the version of ChakraCore you are using
+      placeholder: Version / Commit id
+    validations:
+      required: true
+  - type: textarea
+    attributes:
+      label: Steps to reproduce
+      description: Provide steps to reproduce the problem
+      placeholder: Instructions used to build and execute / Project setup
+    validations:
+      required: true
+  - type: textarea
+    attributes:
+      label: Proof of concept
+      description: Your POC code
+      render: js
+    validations:
+      required: true
+  - type: textarea
+    attributes:
+      label: Exception or Error
+      description: Provide error logs / console output
+      render: text
+    validations:
+      required: true
+  - type: textarea
+    attributes:
+      label: Additional Context

+ 36 - 0
.github/ISSUE_TEMPLATE/02-build-issue.yml

@@ -0,0 +1,36 @@
+name: Build Issue
+description: Report a build issue
+title: '[Build]: '
+labels:
+  - Build Break
+body:
+  - type: input
+    attributes:
+      label: Operating System
+      description: Specify the OS (with version) you are using
+      placeholder: Name + Version
+    validations:
+      required: true
+  - type: input
+    attributes:
+      label: Compiler
+      description: Specify the compiler (with version) you are using
+      placeholder: Name + Version
+    validations:
+      required: true
+  - type: input
+    attributes:
+      label: ChakraCore Version
+      description: Specify the version of ChakraCore you are using
+      placeholder: Version / Commit id
+    validations:
+      required: true
+  - type: textarea
+    attributes:
+      label: Compiler output
+      render: shell
+    validations:
+      required: true
+  - type: textarea
+    attributes:
+      label: Additional Context

+ 37 - 0
.github/ISSUE_TEMPLATE/03-jsrt-bug.yaml

@@ -0,0 +1,37 @@
+name: Api Bug
+description: Report a bug with the embedding api
+title: '[Api]: '
+labels:
+  - APIs
+  - Bug
+body:
+  - type: input
+    attributes:
+      label: Operating System
+      description: Specify the OS (with version) you are using
+      placeholder: Name + Version
+    validations:
+      required: true
+  - type: input
+    attributes:
+      label: ChakraCore Version
+      description: Specify the version of ChakraCore you are using
+      placeholder: Version / Commit id
+    validations:
+      required: true
+  - type: textarea
+    attributes:
+      label: Steps to reproduce
+      description: Please describe how your project is set-up
+    validations:
+      required: true
+  - type: textarea
+    attributes:
+      label: Proof of concept
+      description: Add some minimal poc that triggers the bug
+      render: cpp
+    validations:
+      required: true
+  - type: textarea
+    attributes:
+      label: Additional context

+ 24 - 0
.github/ISSUE_TEMPLATE/04-jsrt-feature-request.yml

@@ -0,0 +1,24 @@
+name: Api Feature Request
+description: Propose a new feature to the embedding api
+title: '[Api]: '
+labels:
+  - APIs
+  - Feature Request
+body:
+  - type: textarea
+    attributes:
+      label: Description
+      description: A clear and concise description of the problem or missing capability
+    validations:
+      required: true
+  - type: textarea
+    attributes:
+      label: Describe the solution you'd like
+      description: If you have a solution in mind, please describe it.
+  - type: textarea
+    attributes:
+      label: Describe alternatives you've considered
+      description: Have you considered any alternative solutions or workarounds?
+  - type: textarea
+    attributes:
+      label: Additional context

+ 26 - 0
.github/ISSUE_TEMPLATE/05-tc39-proposal.yml

@@ -0,0 +1,26 @@
+name: Implement tc39 proposal
+description: Request the implementation of a tc39 proposal
+title: '[Proposal]: '
+labels:
+  - ECMAScript Spec
+  - Feature Request
+body:
+  - type: input
+    attributes:
+      label: Link to proposal
+      placeholder: https://github.com/tc39/...
+    validations:
+      required: true
+  - type: dropdown
+    attributes:
+      label: Proposal stage
+      options:
+        - Stage 4
+        - Stage 3
+        - Stage 2.7
+        - Stage 2
+    validations:
+      required: true
+  - type: textarea
+    attributes:
+      label: Additional Context

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

@@ -0,0 +1,5 @@
+blank_issues_enabled: true
+contact_links:
+  - name: Discord
+    url: https://discord.gg/dgRawPdNuC
+    about: If you have any questions, feel free to join our Discord server.