Add issue template

This commit is contained in:
Guille Gonzalez
2026-01-11 12:08:34 +01:00
parent 9d3bb39914
commit bb88ace8d6
2 changed files with 82 additions and 0 deletions

73
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View File

@@ -0,0 +1,73 @@
name: Bug Report
description: Something isn't working as expected
labels: [bug]
body:
- type: markdown
attributes:
value: |
Thank you for contributing to SwiftUIMath!
Before you submit your issue, please complete each text area below with the relevant details for your bug, and complete the steps in the checklist.
- type: textarea
attributes:
label: Description
description: |
A short description of the incorrect behavior.
If you think this issue has been recently introduced and did not occur in an earlier version, please note that. If possible, include the last version that the behavior was correct in addition to your current version.
validations:
required: true
- type: checkboxes
attributes:
label: Checklist
options:
- label: I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
required: false
- label: If possible, I've reproduced the issue using the `main` branch of this package.
required: false
- label: This issue hasn't been addressed in an [existing GitHub issue](https://github.com/gonzalezreal/swiftui-math/issues) or [discussion](https://github.com/gonzalezreal/swiftui-math/discussions).
required: true
- type: textarea
attributes:
label: Expected behavior
description: Describe what you expected to happen.
validations:
required: false
- type: textarea
attributes:
label: Actual behavior
description: Describe or copy/paste the behavior you observe.
validations:
required: false
- type: textarea
attributes:
label: Steps to reproduce
description: |
Explanation of how to reproduce the incorrect behavior.
This could include an attached project or link to code that is exhibiting the issue, and/or a screen recording.
placeholder: |
1. ...
validations:
required: false
- type: input
attributes:
label: SwiftUIMath version information
description: The version of SwiftUIMath used to reproduce this issue.
placeholder: "'0.1.0' for example, or a commit hash"
- type: input
attributes:
label: Destination operating system
description: The OS running your application.
placeholder: "'iOS 18' or 'macOS 15' for example"
- type: input
attributes:
label: Xcode version information
description: The version of Xcode used to reproduce this issue.
placeholder: "The version displayed from 'Xcode > About Xcode'"
- type: textarea
attributes:
label: Swift Compiler version information
description: The version of Swift used to reproduce this issue.
placeholder: Output from 'xcrun swiftc --version'
render: shell

9
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@@ -0,0 +1,9 @@
blank_issues_enabled: false
contact_links:
- name: Discussion
url: https://github.com/gonzalezreal/swiftui-math/discussions
about: SwiftUIMath Q&A, ideas, and feature requests
- name: Documentation
url: https://swiftpackageindex.com/gonzalezreal/swiftui-math/main/documentation/swiftuimath
about: Read documentation for SwiftUIMath