Convert issue templates to issue forms (#1053)

* Initial conversion to issue forms

* Fix issue form yaml

* Remove issue markdown

* Bug header formatting

* Move priority section above environment section
This commit is contained in:
Chris Glein 2021-11-10 15:41:30 -08:00 коммит произвёл GitHub
Родитель b8535f925f
Коммит 355ba9920e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 228 добавлений и 160 удалений

47
.github/ISSUE_TEMPLATE/bug_report.md поставляемый
Просмотреть файл

@ -1,47 +0,0 @@
---
name: Bug report
about: Found a bug in Fluent UI React Native? Please let us know.
---
<!--
Thanks for contacting us! We're here to help.
Before you report an issue, check if it's been reported before:
* Search: https://github.com/microsoft/fluentui-react-native/search?type=Issues
Note that if you do not provide enough information to reproduce the issue, we may not be able to take action on your report.
-->
### Environment Information
- **Package version(s)**: (fill this out, include which package manager you're using)
- **OS version**: (fill this out if relevant)
- **Platform**:
- [ ] iOS
- **Xcode version**:
- [ ] macOS
- **Xcode version**:
- [ ] win32
- [ ] windows
- [ ] android
### Please provide a reproduction of the bug:
<!--
Providing an isolated reproduction of the bug makes it much easier for us to help you. A reproduction in the demo application is preferred.
-->
#### Actual behavior:
<!-- fill this out -->
#### Expected behavior:
<!-- fill this out -->
### Priorities and help requested:
Are you willing to submit a PR to fix? (Yes, No)
Requested priority: (Blocking, High, Normal, Low)
Products/applications affected: (if applicable)

75
.github/ISSUE_TEMPLATE/bug_report.yaml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,75 @@
name: Bug report
description: Found a bug in Fluent UI React Native? Please let us know.
title: Describe the problem
labels: []
body:
- type: markdown
attributes:
value: |
Thanks for contacting us! We're here to help.
Before you report an issue, check if it's been reported before:
- Search: https://github.com/microsoft/fluentui-react-native/search?type=Issues
Note that if you do not provide enough information to reproduce the issue, we may not be able to take action on your report.
- type: markdown
attributes:
value: |
# Priorities and help requested
- type: checkboxes
attributes:
options:
- label: 'I am willing to submit a PR to fix'
- type: dropdown
attributes:
label: Requested priority
options:
- 'Blocking'
- 'High'
- 'Normal'
- 'Low'
- type: textarea
attributes:
label: Products/applications affected
description: if applicable
- type: markdown
attributes:
value: |
# Environment Information
- type: input
validations:
required: true
attributes:
label: Package version(s)
description: |
fill this out, include which package manager you're using
- type: input
attributes:
label: OS version(s)
description: |
fill this out if relevant
- type: checkboxes
attributes:
label: Platform
options:
- label: iOS
- label: macOS
- label: win32
- label: windows
- label: android
- type: input
attributes:
label: Xcode version
description: |
Provide if on the iOS or macOS platform
- type: textarea
validations:
required: true
attributes:
label: Please provide a reproduction of the bug
description: Providing an isolated reproduction of the bug makes it much easier for us to help you. A reproduction in the demo application is preferred.
- type: textarea
attributes:
label: Actual behavior
- type: textarea
attributes:
label: Expected behavior

27
.github/ISSUE_TEMPLATE/feature_request.md поставляемый
Просмотреть файл

@ -1,27 +0,0 @@
---
name: Feature request
about: Do you have Feature or improvement for Fluent UI React Native? Let us know.
---
#### Platform
- [ ] iOS
- [ ] macOS
- [ ] win32
- [ ] windows
- [ ] android
#### Describe the feature that you would like added
<!-- fill this out -->
#### What component or utility would this be added to
<!-- fill this out -->
#### Have you discussed this feature with our team, and if so, who
<!-- fill this out -->
#### Additional context/screenshots
<!-- fill this out -->

28
.github/ISSUE_TEMPLATE/feature_request.yaml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,28 @@
name: Feature request
description: Do you have Feature or improvement for Fluent UI React Native? Let us know.
title: Describe the request
labels: []
body:
- type: checkboxes
attributes:
label: Platform
options:
- label: iOS
- label: macOS
- label: win32
- label: windows
- label: android
- type: textarea
validations:
required: true
attributes:
label: Describe the feature that you would like added
- type: textarea
attributes:
label: What component or utility would this be added to
- type: textarea
attributes:
label: Have you discussed this feature with our team, and if so, who
- type: textarea
attributes:
label: Additional context/screenshots

86
.github/ISSUE_TEMPLATE/new_component.md поставляемый
Просмотреть файл

@ -1,86 +0,0 @@
---
name: New Component
about: Interested in contributing a new component to Fluent UI React Native? This template includes necessary information to get started, and steps to completion
---
<!-- Use this template for new components or new component variants -->
## Component details
### Description
<!-- fill this out -->
### Which product teams/scenarios need this control
<!-- The more teams/scenarios that would use this control the better chance it will get prioritized -->
### Design assets
<!-- Please provide links to redlines or screenshots of intended component design -->
<!-- Are you internal to Microsoft and your design isn't yet public? Please reach out to us internally via the Fluent UI Community. -->
### Component ownership
<!-- Are there one or more people who can help maintain this component over time? Who will address bugs? -->
## Component composition
### Imports/Dependencies
<!-- What dependencies will your component be using -->
### Proposed Public API
<!-- Define the proposed public API for this control -->
### Intended Platforms
- [ ] iOS
- [ ] macOS
- [ ] win32
- [ ] windows
- [ ] android
## Component code
### Example code
```javascript
```
### New Component Checklist
General:
- [ ] Automated Tests
- [ ] Documentation and examples
- [ ] Keyboard Accessibility
- [ ] Internationalization and Right-to-left Layouts
- [ ] Ready for Contribution
iOS:
- [ ] Light and Dark Appearance
- [ ] Size classes and window sizes (iPhone vs iPad, notched devices, multitasking, different window sizes, etc)
- [ ] Increase Contrast Support
- [ ] Different resolutions (1x, 2x, 3x)
- [ ] Voiceover
- [ ] Unit tests
- [ ] UI tests
- [ ] Other (please specify)
macOS:
- [ ] Light and Dark Appearance
- [ ] Window sizes
- [ ] Different resolutions (1x, 2x, 3x)
- [ ] Voiceover
- [ ] Unit tests
- [ ] UI tests
- [ ] Other (please specify)
Windows:
- [ ] Other (please specify)
Win32:
- [ ] Other (please specify)
Android:
- [ ] Other (please specify)

125
.github/ISSUE_TEMPLATE/new_component.yaml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,125 @@
name: New Component
description: Interested in contributing a new component to Fluent UI React Native? This template includes necessary information to get started, and steps to completion
title: Component description
labels: []
body:
- type: markdown
attributes:
value: |
Use this template for new components or new component variants
- type: markdown
attributes:
value: |
# Component details
- type: textarea
validations:
required: true
attributes:
label: Description
- type: textarea
attributes:
label: Which product teams/scenarios need this control
description: |
The more teams/scenarios that would use this control the better chance it will get prioritized
- type: textarea
attributes:
label: Design assets
description: |
Please provide links to redlines or screenshots of intended component design
Are you internal to Microsoft and your design isn't yet public? Please reach out to us internally via the Fluent UI Community.
- type: textarea
attributes:
label: Component ownership
description: |
Are there one or more people who can help maintain this component over time? Who will address bugs?
- type: markdown
attributes:
value: |
# Component composition
- type: textarea
attributes:
label: Imports/Dependencies
description: |
What dependencies will your component be using?
- type: textarea
attributes:
label: Proposed Public API
description: |
Define the proposed public API for this control
- type: checkboxes
attributes:
label: Intended Platforms
options:
- label: iOS
- label: macOS
- label: win32
- label: windows
- label: android
- type: markdown
attributes:
value: |
# Component code
- type: textarea
attributes:
label: Example code
render: markdown
- type: markdown
attributes:
value: |
# New Component Checklist
- type: checkboxes
id: Checklist_General
attributes:
label: General
options:
- label: Automated Tests
- label: Documentation and examples
- label: Keyboard Accessibility
- label: Internationalization and Right-to-left Layouts
- label: Ready for Contribution
- type: checkboxes
id: Checklist_iOS
attributes:
label: iOS
options:
- label: Light and Dark Appearance
- label: Size classes and window sizes (iPhone vs iPad, notched devices, multitasking, different window sizes, etc)
- label: Increase Contrast Support
- label: Different resolutions (1x, 2x, 3x)
- label: Voiceover
- label: Unit tests
- label: UI tests
- label: Other (please specify below)
- type: checkboxes
id: Checklist_macOS
attributes:
label: macOS
options:
- label: Light and Dark Appearance
- label: Window sizes
- label: Different resolutions (1x, 2x, 3x)
- label: Voiceover
- label: Unit tests
- label: UI tests
- label: Other (please specify below)
- type: checkboxes
id: Checklist_Windows
attributes:
label: Windows
options:
- label: Other (please specify below)
- type: checkboxes
id: Checklist_Win32
attributes:
label: Win32
options:
- label: Other (please specify below)
- type: checkboxes
id: Checklist_Android
attributes:
label: Android
options:
- label: Other (please specify below)
- type: textarea
attributes:
label: Other details