Skip to content

Commit

Permalink
[core] Update GitHub templates
Browse files Browse the repository at this point in the history
  • Loading branch information
rtivital committed Dec 8, 2023
1 parent eb75109 commit eebd557
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 37 deletions.
86 changes: 58 additions & 28 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
name: Report an issue with @mantine/ scoped package
description: Tell us if something is not working as expected
name: Report an issue with @mantine/* or @mantinex/* scoped package
description: Use this template to report issues with the library, to ask questions or to suggest new features, use GitHub discussions instead
body:
- type: markdown
- type: checkboxes
id: dependencies
attributes:
value: |
## Thanks for reaching out!
Before submitting an issue please make sure that you use latest version of all @mantine/* packages.
label: Dependencies check up
description: Before submitting an issue please make sure that you use latest version of all @mantine/* packages.
options:
- label: I have verified that I use latest version of all @mantine/* packages
required: true
- type: input
id: version
attributes:
placeholder: 0.0.0
label: What version of @mantine/* packages do you have in package.json?
validations:
required: true
- type: dropdown
id: package
attributes:
Expand All @@ -26,40 +36,60 @@ body:
- '@mantine/colors-generator'
- '@mantine/store'
- '@mantine/vanilla-extract'
- '@mantinex/mantine-logo'
- '@mantinex/demo'
- '@mantinex/dev-icons'
- '@mantinex/mantine-header'
- '@mantinex/mantine-meta'
- '@mantinex/shiki'
validations:
required: true
- type: textarea
id: description

- type: dropdown
id: framework
attributes:
label: Describe the bug
label: What framework do you use?
options:
- 'Next.js'
- 'Vite'
- 'Remix'
- 'Gatsby'
- 'Redwood'
- 'create-react-app (CRA)'
- 'Other, I will specify in the bug description'
validations:
required: true
- type: input
id: version
- type: dropdown
id: browser
attributes:
label: What version of @mantine/* packages do you have in package.json? (Note that all @mantine/* packages must have the same version in order to work correctly)
label: In which browsers you can reproduce the issue?
options:
- 'All'
- 'Chrome'
- 'Safari'
- 'Firefox'
- 'Other, I will specify in the bug description'
- 'Not applicable – issue is not related to the browser'
- type: textarea
id: description
attributes:
label: Describe the bug
placeholder: A clear and concise description of what the bug is and how to reproduce it
validations:
required: true
- type: input
id: link
attributes:
label: If possible, please include a link to a codesandbox with a minimal reproduction
description: Codesandbox template – https://codesandbox.io/s/mantine-template-9ze89
- type: dropdown
id: fix
attributes:
label: Do you know how to fix the issue
options:
- 'Yes'
- 'No'
- type: dropdown
id: participate
attributes:
label: Do you want to send a pull request with a fix?
options:
- 'Yes'
- 'No'
label: If possible, include a link to a codesandbox with a minimal reproduction
description: Codesandbox template – https://codesandbox.io/p/sandbox/mantine-template-kczll7. Note that issues that cannot be reproduced by maintainers will be closed.
- type: textarea
id: possibleFix
attributes:
label: Possible fix
- type: checkboxes
id: self-service
attributes:
label: Self-service
description: You are welcome to contribute to the library, if you are willing to implement a fix for this issue, please check the box below. You can find contribution guide here – https://mantine.dev/contribute/
options:
- label: I would be willing to implement a fix for this issue
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/comunity_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ body:
id: link
attributes:
label: Link to the repository on GitHub
placeholder: https://github.com/username/repository
validations:
required: true
- type: textarea
id: description
attributes:
label: Features of the template, describe how it is different from other templates
placeholder: Your awesome template description
validations:
required: true
19 changes: 10 additions & 9 deletions .github/ISSUE_TEMPLATE/docs_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@ name: Report an issue with mantine.dev website
description: Help us find and fix mistakes, bad wording, etc.
labels: 'review required'
body:
- type: markdown
attributes:
value: '## Thanks for reaching out!'
- type: input
id: link
attributes:
label: Link to the page where something is not right
placeholder: https://mantine.dev/some/page
- type: textarea
id: quote
attributes:
label: Exact quote of what is wrong
- type: dropdown
id: participate
label: What is wrong?
placeholder: Describe the issue
validations:
required: true
- type: checkboxes
id: self-service
attributes:
label: Do you want to send a pull request with a fix?
label: Self-service
description: You are welcome to submit a fix for this issue after it is reviewed.
options:
- 'Yes'
- 'No'
- label: I would be willing to implement a fix for this issue

0 comments on commit eebd557

Please sign in to comment.