Unverified Commit 7bebdd3f authored by huycozy's avatar huycozy Committed by GitHub

Make improvements to existing new issue templates (#140142)

Closes https://github.com/flutter/flutter/issues/139558

In this PR:
- Use `<details open>` to create opened collapsible sections (still be expanded if needed)
- Change checkboxes (at the top of the issue, namely `I have searched the existing issues` and `I have read the guide to filing a bug`) to text only.

### Demo filed issues for `opened collapsible sections`

- [I am having difficulty installing Flutter or getting it to work](https://github.com/huycozy/flutter/issues/8)
- [Report a bug](https://github.com/huycozy/flutter/issues/9)
- [Report a bug in one of Flutter's first-party packages](https://github.com/huycozy/flutter/issues/11)
- [My app is slow or missing frames](https://github.com/huycozy/flutter/issues/12)
- [My app has some non-speed performance issues](https://github.com/huycozy/flutter/issues/10) 

### Demo for `checkboxes to text`

![Screenshot 2023-12-14 at 17 54 44](https://github.com/flutter/flutter/assets/104349824/1472b3bf-6245-4ec9-b7e8-d7ddf3d5a579)

- [I am having difficulty installing Flutter or getting it to work](https://github.com/huycozy/flutter/issues/new?assignees=&labels=&projects=&template=1_activation.yml)
- [Report a bug](https://github.com/huycozy/flutter/issues/new?assignees=&labels=&projects=&template=2_bug.yml)
- [Feature request](https://github.com/huycozy/flutter/issues/new?assignees=&labels=&projects=&template=3_feature_request.yml)
- [The CI infrastructure used by Flutter has a problem](https://github.com/huycozy/flutter/issues/new?assignees=&labels=team-infra&projects=&template=6_infrastructure.yml)
- [Report a bug in one of Flutter's first-party packages](https://github.com/huycozy/flutter/issues/new?assignees=&labels=&projects=&template=9_first_party_packages.yml)
parent 14541050
...@@ -17,15 +17,12 @@ body: ...@@ -17,15 +17,12 @@ body:
If you have found a bug or if our documentation doesn't have an answer If you have found a bug or if our documentation doesn't have an answer
to what you're looking for, then fill out the template below. to what you're looking for, then fill out the template below.
- type: checkboxes - type: markdown
attributes: attributes:
label: Is there an existing issue for this? value: |
description: Please search to see if an issue already exists for the bug you encountered. Before filling the form fields, please consider the following:
options: - Ensure that you have searched the [existing issues](https://github.com/flutter/flutter/issues)
- label: I have searched the [existing issues](https://github.com/flutter/flutter/issues) - Read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)
required: true
- label: I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)
required: true
- type: textarea - type: textarea
attributes: attributes:
label: Steps to reproduce label: Steps to reproduce
...@@ -58,7 +55,7 @@ body: ...@@ -58,7 +55,7 @@ body:
Note: Please do not upload screenshots of text. Instead, use code blocks Note: Please do not upload screenshots of text. Instead, use code blocks
or the above mentioned ways to upload logs. or the above mentioned ways to upload logs.
value: | value: |
<details> <details open>
<summary>Logs</summary> <summary>Logs</summary>
```console ```console
...@@ -74,7 +71,7 @@ body: ...@@ -74,7 +71,7 @@ body:
description: | description: |
Please provide the full output of running `flutter doctor -v` Please provide the full output of running `flutter doctor -v`
value: | value: |
<details> <details open>
<summary>Doctor output</summary> <summary>Doctor output</summary>
```console ```console
......
...@@ -14,14 +14,12 @@ body: ...@@ -14,14 +14,12 @@ body:
- https://flutter.dev/ - https://flutter.dev/
- https://api.flutter.dev/ - https://api.flutter.dev/
- https://stackoverflow.com/questions/tagged/flutter?sort=frequent - https://stackoverflow.com/questions/tagged/flutter?sort=frequent
- type: checkboxes - type: markdown
attributes: attributes:
label: Is there an existing issue for this? value: |
options: Before filling the form fields, please consider the following:
- label: I have searched the [existing issues](https://github.com/flutter/flutter/issues) - Ensure that you have searched the [existing issues](https://github.com/flutter/flutter/issues)
required: true - Read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)
- label: I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)
required: true
- type: textarea - type: textarea
attributes: attributes:
label: Steps to reproduce label: Steps to reproduce
...@@ -62,7 +60,7 @@ body: ...@@ -62,7 +60,7 @@ body:
Note: Please do not upload screenshots of text. Instead, use code blocks Note: Please do not upload screenshots of text. Instead, use code blocks
or the above mentioned ways to upload your code sample. or the above mentioned ways to upload your code sample.
value: | value: |
<details><summary>Code sample</summary> <details open><summary>Code sample</summary>
```dart ```dart
[Paste your code here] [Paste your code here]
...@@ -77,7 +75,7 @@ body: ...@@ -77,7 +75,7 @@ body:
description: | description: |
Upload any screenshots or video of the bug if applicable. Upload any screenshots or video of the bug if applicable.
value: | value: |
<details> <details open>
<summary>Screenshots / Video demonstration</summary> <summary>Screenshots / Video demonstration</summary>
[Upload media here] [Upload media here]
...@@ -99,7 +97,7 @@ body: ...@@ -99,7 +97,7 @@ body:
Note: Please do not upload screenshots of text. Instead, use code blocks Note: Please do not upload screenshots of text. Instead, use code blocks
or the above mentioned ways to upload logs. or the above mentioned ways to upload logs.
value: | value: |
<details><summary>Logs</summary> <details open><summary>Logs</summary>
```console ```console
[Paste your logs here] [Paste your logs here]
...@@ -112,7 +110,7 @@ body: ...@@ -112,7 +110,7 @@ body:
description: | description: |
Please provide the full output of running `flutter doctor -v` Please provide the full output of running `flutter doctor -v`
value: | value: |
<details><summary>Doctor output</summary> <details open><summary>Doctor output</summary>
```console ```console
[Paste your output here] [Paste your output here]
......
...@@ -12,15 +12,12 @@ body: ...@@ -12,15 +12,12 @@ body:
- https://flutter.dev/ - https://flutter.dev/
- https://api.flutter.dev/ - https://api.flutter.dev/
- https://stackoverflow.com/questions/tagged/flutter?sort=frequent - https://stackoverflow.com/questions/tagged/flutter?sort=frequent
- type: checkboxes - type: markdown
attributes: attributes:
label: Is there an existing issue for this? value: |
description: Please search to see if an issue already exists for this feature request or proposal. Before filling the form fields, please consider the following:
options: - Ensure that you have searched the [existing issues](https://github.com/flutter/flutter/issues)
- label: I have searched the [existing issues](https://github.com/flutter/flutter/issues) - Read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)
required: true
- label: I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)
required: true
- type: textarea - type: textarea
attributes: attributes:
label: Use case label: Use case
......
...@@ -39,7 +39,7 @@ body: ...@@ -39,7 +39,7 @@ body:
Note: Please do not upload screenshots of text. Instead, use code blocks or the above mentioned ways to upload your code sample. Note: Please do not upload screenshots of text. Instead, use code blocks or the above mentioned ways to upload your code sample.
value: | value: |
<details><summary>Code sample</summary> <details open><summary>Code sample</summary>
```dart ```dart
[Paste your code here] [Paste your code here]
...@@ -90,7 +90,7 @@ body: ...@@ -90,7 +90,7 @@ body:
Note: Please do not upload screenshots of text. Instead, use code blocks or the above mentioned ways to upload logs. Note: Please do not upload screenshots of text. Instead, use code blocks or the above mentioned ways to upload logs.
value: | value: |
<details><summary>Logs</summary> <details open><summary>Logs</summary>
```console ```console
[Paste your logs here] [Paste your logs here]
...@@ -103,7 +103,7 @@ body: ...@@ -103,7 +103,7 @@ body:
description: | description: |
Finally, paste the output of running `flutter doctor -v` here, with your device plugged in. Finally, paste the output of running `flutter doctor -v` here, with your device plugged in.
value: | value: |
<details><summary>Doctor output</summary> <details open><summary>Doctor output</summary>
```console ```console
[Paste your output here] [Paste your output here]
......
...@@ -39,7 +39,7 @@ body: ...@@ -39,7 +39,7 @@ body:
Note: Please do not upload screenshots of text. Instead, use code blocks or the above mentioned ways to upload your code sample. Note: Please do not upload screenshots of text. Instead, use code blocks or the above mentioned ways to upload your code sample.
value: | value: |
<details><summary>Code sample</summary> <details open><summary>Code sample</summary>
```dart ```dart
[Paste your code here] [Paste your code here]
...@@ -71,7 +71,7 @@ body: ...@@ -71,7 +71,7 @@ body:
If the trace are too large to be uploaded to GitHub, you may upload them as a `zip` file or use online tools like https://pastebin.com to share it. If the trace are too large to be uploaded to GitHub, you may upload them as a `zip` file or use online tools like https://pastebin.com to share it.
value: | value: |
<details><summary>Timeline Traces JSON</summary> <details open><summary>Timeline Traces JSON</summary>
```json ```json
[Paste the Timeline Traces here] [Paste the Timeline Traces here]
...@@ -88,7 +88,7 @@ body: ...@@ -88,7 +88,7 @@ body:
Don’t use "adb screenrecord", as that affects the performance of the profile run. Don’t use "adb screenrecord", as that affects the performance of the profile run.
value: | value: |
<details> <details open>
<summary>Video demonstration</summary> <summary>Video demonstration</summary>
[Upload media here] [Upload media here]
...@@ -148,7 +148,7 @@ body: ...@@ -148,7 +148,7 @@ body:
Note: Please do not upload screenshots of text. Instead, use code blocks or the above mentioned ways to upload logs. Note: Please do not upload screenshots of text. Instead, use code blocks or the above mentioned ways to upload logs.
value: | value: |
<details><summary>Logs</summary> <details open><summary>Logs</summary>
```console ```console
[Paste your logs here] [Paste your logs here]
...@@ -161,7 +161,7 @@ body: ...@@ -161,7 +161,7 @@ body:
description: | description: |
Finally, paste the output of running `flutter doctor -v` here, with your device plugged in. Finally, paste the output of running `flutter doctor -v` here, with your device plugged in.
value: | value: |
<details><summary>Doctor output</summary> <details open><summary>Doctor output</summary>
```console ```console
[Paste your output here] [Paste your output here]
......
...@@ -13,12 +13,10 @@ body: ...@@ -13,12 +13,10 @@ body:
It looks like you found an issue with our Infrastructure services. It looks like you found an issue with our Infrastructure services.
Please complete the form below so that we can help to resolve your Please complete the form below so that we can help to resolve your
issue as quickly as possible. issue as quickly as possible.
- type: checkboxes - type: markdown
attributes: attributes:
label: Is there an existing issue for this? value: |
options: Before filling the form fields, please ensure that you have searched the [existing infra issues](https://github.com/flutter/flutter/issues?q=is%3Aopen+is%3Aissue+label%3Ateam-infra)
- label: I have searched the [existing infra issues](https://github.com/flutter/flutter/issues?q=is%3Aopen+is%3Aissue+label%3Ateam-infra)
required: true
- type: dropdown - type: dropdown
attributes: attributes:
label: Type of Request label: Type of Request
......
...@@ -13,14 +13,12 @@ body: ...@@ -13,14 +13,12 @@ body:
- https://flutter.dev/ - https://flutter.dev/
- https://api.flutter.dev/ - https://api.flutter.dev/
- https://stackoverflow.com/questions/tagged/flutter?sort=frequent - https://stackoverflow.com/questions/tagged/flutter?sort=frequent
- type: checkboxes - type: markdown
attributes: attributes:
label: Is there an existing issue for this? value: |
options: Before filling the form fields, please consider the following:
- label: I have searched the [existing package issues](https://github.com/flutter/flutter/issues?q=is%3Aopen+is%3Aissue+label%3Apackage) - Ensure that you have searched the [existing package issues](https://github.com/flutter/flutter/issues?q=is%3Aopen+is%3Aissue+label%3Apackage)
required: true - Read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)
- label: I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)
required: true
- type: dropdown - type: dropdown
id: packages id: packages
attributes: attributes:
...@@ -115,7 +113,7 @@ body: ...@@ -115,7 +113,7 @@ body:
Note: Please do not upload screenshots of text. Instead, use code blocks Note: Please do not upload screenshots of text. Instead, use code blocks
or the above mentioned ways to upload this. or the above mentioned ways to upload this.
value: | value: |
<details><summary>pubspec.lock</summary> <details open><summary>pubspec.lock</summary>
```lock ```lock
[Paste file content here] [Paste file content here]
...@@ -164,7 +162,7 @@ body: ...@@ -164,7 +162,7 @@ body:
Note: Please do not upload screenshots of text. Instead, use code blocks Note: Please do not upload screenshots of text. Instead, use code blocks
or the above mentioned ways to upload your code sample. or the above mentioned ways to upload your code sample.
value: | value: |
<details><summary>Code sample</summary> <details open><summary>Code sample</summary>
```dart ```dart
[Paste your code here] [Paste your code here]
...@@ -179,7 +177,7 @@ body: ...@@ -179,7 +177,7 @@ body:
description: | description: |
Upload any screenshots or videos of the bug if applicable. Upload any screenshots or videos of the bug if applicable.
value: | value: |
<details> <details open>
<summary>Screenshots / Video demonstration</summary> <summary>Screenshots / Video demonstration</summary>
[Upload media here] [Upload media here]
...@@ -201,7 +199,7 @@ body: ...@@ -201,7 +199,7 @@ body:
Note: Please do not upload screenshots of text. Instead, use code blocks Note: Please do not upload screenshots of text. Instead, use code blocks
or the above mentioned ways to upload logs. or the above mentioned ways to upload logs.
value: | value: |
<details><summary>Logs</summary> <details open><summary>Logs</summary>
```console ```console
[Paste your logs here] [Paste your logs here]
...@@ -214,7 +212,7 @@ body: ...@@ -214,7 +212,7 @@ body:
description: | description: |
Please provide the full output of running `flutter doctor -v` Please provide the full output of running `flutter doctor -v`
value: | value: |
<details><summary>Doctor output</summary> <details open><summary>Doctor output</summary>
```console ```console
[Paste your output here] [Paste your output here]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment