Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Cai <github@jimmycai.com>2022-06-11 15:29:02 +0300
committerGitHub <noreply@github.com>2022-06-11 15:29:02 +0300
commit5fe1b35ba531fe3892f552158a0b2f6b456a5670 (patch)
treed7baabe7bc205a28c1bf12689a2f9ad88c6993f7
parentd53ba6ea20950b780013b43ad3ce743814bb956a (diff)
chore(github): change issue report template to a form
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.md45
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.yml63
2 files changed, 63 insertions, 45 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644
index 0a986bb..0000000
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ /dev/null
@@ -1,45 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve
-title: ''
-labels: ''
-assignees: ''
-
----
-
-<!--
- Before creating this bug report, make sure you have read the theme documentation: https://docs.stack.jimmycai.com/
--->
-
-## Describe the bug
-A clear and concise description of what the bug is.
-
-## Expected behavior
-A clear and concise description of what you expected to happen.
-
-## To Reproduce
-Indicate the steps to reproduce this bug, if applicable.
-
-## Screenshots
-Add screenshots to help explain your problem.
-
-## Environment
-
-- **Hugo version** [e.g: 0.80.0]:
-- **Hugo extended?**: Yes / No
-
-## Additional context
-Add any other context about the problem here.
-
-If it's a UI issue, fill the following information:
-
- - OS: [e.g. iOS]
- - Browser [e.g. chrome, safari]
- - Version [e.g. 22]
-
-## Content of config.yaml
-```yaml
-### Paste the content of the config file here
-```
-
-## Link to the demo site and/or source repository
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644
index 0000000..2265a67
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,63 @@
+name: Bug Report
+description: File a bug report
+title: "[Bug]: "
+labels: ["bug"]
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Thanks for taking the time to fill out this bug report! Please provide as much information as possible and make sure you have checked the [documentation](https://docs.stack.jimmycai.com/).
+ - type: textarea
+ id: what-happened
+ attributes:
+ label: What happened?
+ description: Also tell us, what did you expect to happen? Please be as detailed as possible, include screenshots and any other information that might help us reproduce the problem.
+ placeholder: Tell us what you see!
+ validations:
+ required: true
+ - type: input
+ id: hugo-version
+ label: Hugo version
+ description: "What is the version of Hugo you are using? (Note: this theme does not support non-extended version of Hugo)"
+ placeholder: ex. 0.100.0
+ validations:
+ required: true
+ - type: input
+ id: theme-version
+ label: Theme version
+ description: "What is the version of Stack theme you are using?"
+ placeholder: ex. 3.12.0
+ validations:
+ required: true
+ - type: dropdown
+ id: browsers
+ attributes:
+ label: What browsers are you seeing the problem on?
+ multiple: true
+ options:
+ - Firefox
+ - Chrome
+ - Safari
+ - Microsoft Edge
+ - type: textarea
+ id: logs
+ attributes:
+ label: Relevant log output
+ description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
+ render: shell
+ - type: markdown
+ attributes:
+ value: |
+ If the issue is not present on the [demo site](https://demo.stack.jimmycai.com), in order to better understand the problem, please provide the link to the source code of your website (not the generated HTML).
+ Or link to a minimal reproduction of the problem if there are sensible data.
+ - type: input
+ id: bug-url
+ label: Link to the page with bug
+ placeholder: https://demo.stack.jimmycai.com
+ value: https://demo.stack.jimmycai.com
+ validations:
+ required: true
+ - type: input
+ id: source-repo
+ label: Link to the source repository
+ placeholder: https://github.com/CaiJimmy/hugo-theme-stack